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

UART to BLE transfer Data Issue

Hi Sir, I’m working in an application with the demo board A to communicate via Bluetooth to the demo board B and send data between them. In the module I have to do send a data from demo board A to the demo board B and display it in the computer screen via UART, then I have to write a value in the computer and sent it back to the demo board A and display it in the computer screen via UART. Do you know how to seeting BLE Master/Slave mode and finish nRF51822's BLE pairing ? What steps do you suggest I should take? Please help! Thank you I want to transfer data using UART to BLE by Baud Rate 38400(using nRF51822).

Parents
  • Hi,

    I suggest you to take a look on the UART example with S110 first, understand how uart SERVICE is been used there.

    Now, pull out the essential stuff for UART Service over S120 and try to fit the UART service in s120, i guess there would be a sample application based on s120, i haven't checked this out though.

    Nextly, Once you scan and connected from S120 (master) device, the nus_handler will be responsible to get data from Slave(s110). I hope this make sense.

    To make pairing with security steps, try set flags for that in adv params to raise the pin security, do check for the valid and corresponding flag for it. And that should be done in both side, Master and on Slave side as well.

Reply
  • Hi,

    I suggest you to take a look on the UART example with S110 first, understand how uart SERVICE is been used there.

    Now, pull out the essential stuff for UART Service over S120 and try to fit the UART service in s120, i guess there would be a sample application based on s120, i haven't checked this out though.

    Nextly, Once you scan and connected from S120 (master) device, the nus_handler will be responsible to get data from Slave(s110). I hope this make sense.

    To make pairing with security steps, try set flags for that in adv params to raise the pin security, do check for the valid and corresponding flag for it. And that should be done in both side, Master and on Slave side as well.

Children
No Data
Related