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

ble_nus_c: the received packet is only 1 byte long while I send more than 1 byte

Hi nordic,

I send multiple bytes but always only receive packets of length = 1. For example in the picture, I sent 2 bytes 0x68, 0x69 ('DE') but only received the first value ('D'). I did not intentionally change the code of the file: ble_nus_c.h / .c (add only one line log_info as shown in the picture).
Maybe I accidentally fixed something that I didn't know. Please help me solve this problem.

I attached the link containing the file: ble_nus_c.h / c

sdk: 15.3.0

1drv.ms/.../s!Aj3liwrkan1lik6BnejCgL87glZN

Parents Reply
  • Thanks.

    I note that it says,

    "This is an Android application that allow developer configure a BLE peripheral simulator. The application allow to profile multiple peripheral simulators. Possibility customization characteristic's handler, this would help you to build enough complexity simulator serve your software"

    So it sounds rather like it's a basis for you to work from - rather than a complete & ready-to-use solution?

Children
No Data
Related