How to transfer custom data through BLE in NCS?

Hi,

I am developing a function based on NCS 1.9.1 that periodically sends customized messages to bluetooth-connected phones using the BLE of nrf52840.

I've checked DevZone and it seems there is only a guide based on the old SDK.

So, is there a NCS sample that I can refer to?

Looking forward to your reply.

Joyop

Parents
  • I found a sample at .../samples/bluetooth/peripheral_uart, which seems to meet my requirements.

    But when I do the tests as shown below, I met some problems at step 11~12.

    1. I didn't see the text displayed on my "COM listener".

    2. Failed to send data from the nrf52840dk to my phone. (PS: sending data from my phone to nrf52840dk is OK)

    What caused these problems? Did I miss something?

Reply
  • I found a sample at .../samples/bluetooth/peripheral_uart, which seems to meet my requirements.

    But when I do the tests as shown below, I met some problems at step 11~12.

    1. I didn't see the text displayed on my "COM listener".

    2. Failed to send data from the nrf52840dk to my phone. (PS: sending data from my phone to nrf52840dk is OK)

    What caused these problems? Did I miss something?

Children
Related