nRF_SDK_17.1.0 s140 pca10056 BLE_UART

Hello all,

I am trying to develop an application where the user will input some specific commands i.e hex value of 0x01 via a mobile application and then via bluetooth this command will be passed to the computer using UART.

I have compiled the ble app uart on my nrf52840 but i am struggling to modify the code for my application.

Could someone help me with this ? 

Thanks

Kleanthis

Parents
  • Hello,

    Could you please elaborate on what your issue is? Is the example not functioning as expected on your nRF52840? How does it behave, and how is it different from what you had expected? Are there any errors returned, or any sudden resets of the device?
    Or does the message you have sent to the nRF52840 over BLE simply not appear on the serial monitor that you have on your computer?

    Keep in mind that the serial terminal you are using might be printing your hex values as though they were ASCII characters. If you are sending values around 0x01 they might therefore not show up, since these are flow control characters in the ASCII table.
    In the case that your phone is sending ASCII characters directly, this should not then be an issue.

    Looking forward to resolving this issue together!

    Best regards,
    Karl

Reply
  • Hello,

    Could you please elaborate on what your issue is? Is the example not functioning as expected on your nRF52840? How does it behave, and how is it different from what you had expected? Are there any errors returned, or any sudden resets of the device?
    Or does the message you have sent to the nRF52840 over BLE simply not appear on the serial monitor that you have on your computer?

    Keep in mind that the serial terminal you are using might be printing your hex values as though they were ASCII characters. If you are sending values around 0x01 they might therefore not show up, since these are flow control characters in the ASCII table.
    In the case that your phone is sending ASCII characters directly, this should not then be an issue.

    Looking forward to resolving this issue together!

    Best regards,
    Karl

Children
No Data
Related