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

UART-Gateway Usecase: Custom service?

Hi guys,

I want to use the nRF51822 as a gateway to send uart-commands from the µC to my iPhone and vice versa.

µC---|uart|--->nRF51822 ) ) ) ) BLE ( ( ( ( iPhone

Do I need a custom service for that? Or is it sufficient to simply take the BLE_RX Event and put the data into the UART buffer?

Is there any recommendation on what template to start with?

Thanks for your kind help. This forum is becoming a bigger and bigger help for developing!

Stephan

Parents
  • This sounds very similar to the ble_app_uart example that has been posted here on the Developer Zone. Please note that this isn't a fully tested application, it's more of a demo made to show that it's possible.

    Also, what you want isn't normally something I'd recommend. You can take a look at this question for a little more background on that. You'll most likely often be better off by creating a custom service for your use case that to cram your custom data into UART packets.

Reply
  • This sounds very similar to the ble_app_uart example that has been posted here on the Developer Zone. Please note that this isn't a fully tested application, it's more of a demo made to show that it's possible.

    Also, what you want isn't normally something I'd recommend. You can take a look at this question for a little more background on that. You'll most likely often be better off by creating a custom service for your use case that to cram your custom data into UART packets.

Children
No Data
Related