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
Try NRF Connect: Play store link
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 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