Smart Bluetooth Forum Discussions
Hi,
How do I read the 6 byte BLE mac address in code for a BCM920736s chip? I'm using SDK2.1. I'd like to read the address and then place it in the System ID field in the DIS service at run time on start-up.
thanks,
akbar
Show LessHi,
I have the BCM9WICED_SNSE Bluetooth Smart sensor development kit
The one with the red cover shown in the link below:
http://www.macnica-na.com/wiced
I also downloaded the SDK, and followed the "WICED Smart Deveopment system" document.
After I first connected the device to my PC, the drivers didn't install properly, and I was unable to see them in the device manager.
I am using windows 7.
Also, the documentation in the SDK referece to BCM92073x_LE_KIT, which is not what I have, so I don't see how can I use this manual to help me build applications.
Thanks,
Yoav
Show LessHi,
I am running into some error while making the target with WICED-Smart-SDK-2.1.1.
00:41:27 **** Build of configuration Release for project WICED-Smart-SDK ****
"C:\\Users\\amitag\\Documents\\WICED\\WICED-Smart-SDK-2.1.1\\WICED-Smart-SDK\\make.exe" WICED_SENSE-BCM920737TAG_Q32 download UART=COM66
make.exe[1]: *** No rule to make target '../../build/WICED_SENSE-BCM920737TAG_Q32-rom-ram-Wiced-release/drivers/l3gd20_driver.o', needed by '../../build/WICED_SENSE-BCM920737TAG_Q32-rom-ram-Wiced-release/A_20737A1-WICED_SENSE-rom-ram-spar.elf'. Stop.
Makefile:329: recipe for target 'WICED_SENSE-BCM920737TAG_Q32' failed
make: *** [WICED_SENSE-BCM920737TAG_Q32] Error 2
How do I troubleshoot this error?
@
Thanks,
Amit
Show LessHow can I register callback for ADV events, for example when the timer for HIGH_UNDIRECTED_DISCOVERABLE expires ?
I managed to do similar thing for SCAN events using:
blecen_usertimerCb = hello_client_timer_callback;
but this does not work for ADV events.
I have a requirement that says I need to provide the ability to turn disable the radio on our unit. I would like to keep the chip up and running (so HIDOFF is not a solution) when this occurs. Is there a clean way to do this?
Show LessHey guys,
Is there any documentation for writing windows applications. I am trying to read the services and characteristics of the BLE connection.
Show LessHi All,
I am running into into errors while compiling the sample applications with WICED-Smart-SDK-2.1.1 immediately afterunziping and 7z'ing the SDK. Is there a separate toolchain that I would need to download to find the missing files in the toolchain?
The following is the command which I am trying to run to build the proximity sample application:
./make proximity-BCM920737TAG_Q32 build
../../Tools/common/Linux64/perl: error while loading shared libraries: libperl.so.5.14: cannot open shared object file: No such file or directory
Compiling spar_setup.c
Compiling proximity.c
Compiling sparinit.c
make[2]: *** No rule to make target `base'. Stop.
make[1]: *** [../tier2/brcm/mandatory/bld//patch.symdefs] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [proximity-BCM920737TAG_Q32] Error 2
Looking at how the perl binary is linked we see that indeed it is relying on the libperl shared library:
ldd Tools/common/Linux64/perl
linux-vdso.so.1 => (0x00007ffffd39c000)
libperl.so.5.14 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f253b6cb000)
/lib64/ld-linux-x86-64.so.2 (0x00007f253baac000)
Looking for this shared library in the SDK didn't yield any results:
>find . -name libperl.so.5.14
>find . -name libperl.so
Looking at the files in the Toolchain in the Linux64 directory we see:
ls -la Tools/common/Linux64
total 696
drwxrwxr-x 2 ben ben 4096 Sep 8 12:31 .
drwxrwxr-x 7 ben ben 4096 Sep 8 12:31 ..
-rwxrwxr-x 1 ben ben 13545 Sep 8 12:31 bin2c
-rw-rw-r-- 1 ben ben 7365 Sep 8 12:31 bin2c.c
-rwxrwxr-x 1 ben ben 60064 Sep 8 12:31 cat
-rwxrwxr-x 1 ben ben 70984 Sep 8 12:31 cp
-rwxrwxr-x 1 ben ben 39448 Sep 8 12:31 cut
-rwxrwxr-x 1 ben ben 119885 Sep 8 12:31 dash
-rwxrwxr-x 1 ben ben 39328 Sep 8 12:31 echo
-rwxrwxr-x 1 ben ben 166112 Sep 8 12:31 make
-rwxrwxr-x 1 ben ben 35344 Sep 8 12:31 md5sum
-rwxrwxr-x 1 ben ben 31664 Sep 8 12:31 mkdir
-rwxrwxr-x 1 ben ben 10416 Sep 8 12:31 perl
-rwxrwxr-x 1 ben ben 47088 Sep 8 12:31 rm
-rwxrwxr-x 1 ben ben 39360 Sep 8 12:31 uname
If you could provide any guidance I would really appreciate it.
Thanks again.
-ben
Show LessAccording to Bluetooth LE spec,
----------- Excerpt from the spec begins -----------
The Link Layer enters the Connection State when an initiator sends a CONNECT_REQ to an advertiser.
After entering the Connection State, the connection is considered to be created.
The connection is not considered to be established at this point.
The connection is only considered to be established once a data channel packet has been received from the peer device.
If the Link Layer connection supervision timer reaches 6 * connInterval before
the connection is established, the connection shall be considered lost.
This enables fast termination of connections that fail to establish.
------------ Excerpt from the spec ends -------------
Question 1) When is the connection up callback invoked in Initiator side?
Is it just after sending out CONNECT_REQ?
Or, after confirming the connection establishment?
Question 2) How the application gets notified of the connection establishment failure?
(i.e., in case it reaches 6 * connInterval without receiving any data from the Advertiser.)
Thanks
Show LessI'm using the Eclipse IDE. I have successfully built, downloaded and run one of the examples (the hello-sensor example).
I followed the directions for copying and pasting a target (the hello_sensor target).
I renamed the target "timme_charger".
I changed the file "hello_sensor.c" to "timme_charger.c".
When I try to build the new target, I get this in the console:
**** Build of configuration Default for project WICED-Smart-SDK ****
/Users/Shared/WICED/SDK/WICED-Smart-SDK-2.0.1/WICED-Smart-SDK/make timme_charger
Makefile:188: *** Platform makefile not found: Platforms//.mk. Stop.
Any suggestions on how to get the new target to make?
Show Less