Hi,
Do you have a basic Android Studio App that can connect send and receive from an nrf52832 based board already programmed?
I know the protocol strings I need to send that my PCB will react.
Thanks
Hi,
Do you have a basic Android Studio App that can connect send and receive from an nrf52832 based board already programmed?
I know the protocol strings I need to send that my PCB will react.
Thanks
for now, I am building an Android App. so I would like to have some more APP examples (source code of the app) except the BLE blinky and for NRF Connect I cant find the app source code.
Hi Yuri
The Blinky app is the place to start for custom BLE app development.
What are you missing from this example since you are looking for something else?
Best regards
Torbjørn
Hi, Thanks for the answer, you right Blinky app is what I need.
where can I find the source code for ble_app_blinky_s130_pca10028.hex I want to add functionality.
and if I understand the app code right the "Only devices advertising LBS UUID" option works by
"LBS_UUID_SERVICE", I tried to change this to other UUID. and I can not find the device in
"Only devices advertising LBS UUID" mode. when i search all devises i see it.
what do I need to do to search only for my specific (device) UUID?
Thanks
Hi, Thanks for the answer, you right Blinky app is what I need.
where can I find the source code for ble_app_blinky_s130_pca10028.hex I want to add functionality.
and if I understand the app code right the "Only devices advertising LBS UUID" option works by
"LBS_UUID_SERVICE", I tried to change this to other UUID. and I can not find the device in
"Only devices advertising LBS UUID" mode. when i search all devises i see it.
what do I need to do to search only for my specific (device) UUID?
Thanks
Hi Yuri
The ble_app_blinky_s130_pca10028.hex file is compiled for the nRF51 (PCA10028), not the nRF52.
The latest blinky example for the nRF52832 can be found in the nRF5 SDK v15.3.0:
\nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_blinky
You are correct. The app is set up to only work with Blinky devices, and to change this to your own service you have to change the UUID on both the app and on the nRF52 side.
On the Android side the UUID is set up by the BlinkyManager.java file, here.
In the nRF5 project the base UUID is configured on line 92 of ble_lbs.h.
Please note that the byte order is inverted between the Android and the nRF5 implementation, so you have to keep this in mind when setting your own UUID.
To generate your own random UUID you can use this site (remember to select version 4 UUID):
https://www.uuidgenerator.net/
Best regards
Torbjørn
Thanks for your answers.
when I search nordic nrf2... chips Bluetooth I succeed to find only them with the app, also with other firmware than blinky. But when I tried to find this way my previous silicon lab chip with known UUID (I updated the uuid in the app) I don't see it in "Only devices advertising LBS UUID" although its work only with full or nearby search and then connected. It just interesting why the app did not find this chip in this way. because the BLE protocol supposed to works the same. does it suppose to work only with Nordic chips?
anyway I continue with Nordic just curious and want to have more dip understanding.
Hi Yuri
You mean you updated the Blinky Android app with the UUID of your Si-Labs device?
Are you able to scan the Si-Labs device with the nRF Connect application and see what it advertises?
We do extensive testing to ensure that our BLE stacks will work with other vendors too, not only between Nordic devices
Best regards
Torbjørn
Hi,
Yes I updated the Blinky Android app with the UUID of my Si-Labs device.
Yes I able to scan the Si-Labs device with the nRF Connect application and see what it advertises.
and It also reacts to commands that I send but I need to find the device in when I unchek the "Only devices advertising LBS UUID" option.
The search option "Only devices advertising LBS UUID" find only Nordic chips that I have.
Thanks
Hi
Are you able to scan your Si-Labs device and your Nordic device with the nRF Connect application, and send me the content of the advertising device as shown in the below screenshot?
It would be interesting to know what the difference is.
Best regards
Torbjørn