Smart Bluetooth Forum Discussions
Hello,
I have been working with the WICED-Smart SDK, and have had some trouble in regards to floating-point math.
When I try to do double arithmetic (i.e. increase a double variable by 1) I get multiple runtime errors such as the following:
undefined reference to `__aeabi_i2d'
I assume this is coming up because I haven't included the proper library in order to these functions, is that correct?
If so, is there an accessible library that can solve this and allow this arithmetic to happen?
Any help you can provide will be greatly appreciated.
Thanks,
Gurpal
I noticed some extra data printed when using tracing on HCI UART. What is this data ?
It starts from: @$*#
Here is the example of the log from the boot-up time:
hello_sensor_create()53
E: Free bytes = 0x00005384S:0000
@$*#04FF9EF7009201130000074A05176A732000074E053169000000078206110001000007820604
0100000007820603100E000007820620000F000007820601201C000007A207000001000007A60700
0000000007D2070000000000071A080100000000078A08010000000007EE07000000000007A20800
00000000E5490B000000000007362A0100E80300073A2A500000000007522A500001000007021F01
hello_sensor_connection_up: 579610c35f9b 64
@$*#04FF3EF700920107000002FA240000000000078633000000000007E6200000000000078E1E00
00000000071E210300000000078E1E000000000007863300000000@$*#04FF0EF700920101008004
hello_sample, bond result 00
hello_sensor_timeout:35004521D0000000000074A1264000000
Also this data overwrites the other human readable lines.
Show LessI have two WICED Sense Kit tags and I'm working on a Smart Tag firmware that acts as the central device for the tags.
Unfortunately, I've found that I can't connect to both Sense Kits because they have the same MAC address: 620737654321 (the part number + "654321").
Do all the available tags advertise the same address? Is there a way to upgrade my existing tags to use unique MAC addresses?
Thanks,
-Tom
Show LessChanging LESMPKEYS_MAX_BONDED_DEVICES to 6 in Wiced-Smart/bleapp/lestack/smp/lesmpkeys.h
and doing a clean build does not seem to change max bonded devices since
lesmpkeys_maxNumOfBondedDevice() is still returning a 5 at run time.
Is it possible to increase the max bonded devices to 6?
Show LessFinding and Deleting a Bonded device's information returns a -1.
Bonded one device and stored its BD ADDR and Address Type.
Bonded another device and also stored its info. The function
lesmpkeys_numOfBondedDevice() returns 2 as it should.
A call to lesmpkeys_find using the BD ADDR and adrType for
the first device returns a -1. A call to lesmpkeys_deleteBondInfo on
the first device also returns a -1.
I am most curious about these
lesmp_setPairingParam - what do these input params mean?
lesmp_setPassKey & lesmp_setSMPassKey what is the difference between these two?
lesmp_setReturnInsufficientAuthentication ... what does a call to this do? Does it setup some future event handling?
Show LessI want to separate application source files in to different folders and how to direct compiler look in to these folders for .h files(make file)?
Show LessHi,
I'm desperately trying to recover my Wiced Sense device with the factory image using "Wiced Sense SDK 2.1 v1.1 Firmware "
.
I followed every steps from the blog, including recovery process.
Building and downloading process is fine.
The problem I'm facing is that device is only discoverable for a few millis when I insert the battery, led1 stops changing its brightness and device seems to go offline.
No connection can be then established from central devices and device is not discoverable anymore.
My understanding of the code is when advertising (normally) stops, "button 2" should restart advertising. That seems not to be the case.
I investigate further on this strange behavior. I built an entire new application, trying to make led2 toggle on every fine timer callback calls. It blinks, but only for the period observed previously.
Am I missing some concepts, like timeouts, deeps sleep or other ?
Could it be an hardware failure ?
Anyone facing the same issue ?
I'm using WICED-Smart-SDK-2.1.1-IDE-Installer on Windows 7 / iOS 7 and Android 4.4 for central device.
Thanks for your replies.
Alexis
Show LessHi,
is it possible to flash your own FW on the BCM20737S of the BCM9WICED_SENSE?
What is the USB port for ? is there a programmer/debugger embedded?
Show LessIn the PUART API, there are bunch of function calls and definition related with RTS/CTS as follows.
void puart_flowOn(void);
void puart_flowOff(void);
BOOL32 puart_checkCtsPortPin(UINT8 ctsPortPin);
BOOL32 puart_checkRtsPortPin(UINT8 rtsPortPin);
BOOL32 puart_selectUartPads(UINT8 rxdPortPin, UINT8 txdPortPin, UINT8 ctsPortPin, UINT8 rtsPortPin);
DEFAULT_P_UART_HWFLOWCONTROLWATERMARK = 13
And, 20732/20737 databook includes
- Pin description of RTS and CTS
- UART timing diagram with RTS and CTS
And, WICED Smart Hardware Interfaces has PUART mux options including RTS/CTS pins.
So, it seemed obvious that RTS/CTS is supported by hardware and firmware.
However, I found a couple of comments in this forum that says RTS/CTS is not available to PUART.
I am confused.
Can you please provide a clarification/confirmation on this?
Is UART RTS/CTS flow control supported by PUART?
Show Less