This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to control nrf51822 using nrftoolbox sw?

Hello,

I'm using nrf51822 with a few sensors and nrftoolbox app in my smartphone. In nrftoolbox SW, I can just connect and see what happens in sensors. I want to control something like as led using nrftoolbox apps from my smartphone. But looks there would be no sample code in nrftoolbox android sw code.

Can anybody help me to figure out how to control this? It will be very helpful to know any sample code to do it.

Thanks in advance.

Parents
  • Hi,

    You can use the ble_app_uart example. The app can be used in conjunction with the example and in the app you can create buttons and bind different commands to them. The commands can be characters or strings. Then on the nRF51 side you can receive the commands, parse them, and use them for whatever functionality you like.

    You can also find Android examples, including the nRFToolbox source code, on our github account.

Reply
  • Hi,

    You can use the ble_app_uart example. The app can be used in conjunction with the example and in the app you can create buttons and bind different commands to them. The commands can be characters or strings. Then on the nRF51 side you can receive the commands, parse them, and use them for whatever functionality you like.

    You can also find Android examples, including the nRFToolbox source code, on our github account.

Children