This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[nRF Connect SDK] Throughput sample: how to send data as peripheral role?

Target nRF52832(nrf52dk_nrf52832)
SDK NCS v1.9.1

I need high performance data transfer, so I review throughput sample.
C:\Users\user\ncs\v1.9.1\nrf\samples\bluetooth\throughput

And I found that this sample is allowed only central device can send data.
(bt_throughput_handles_assign() in main is necessary but it is called only central device.)
In order to send data from peripheral, what should I do? Can you provide good sample for me?


Or Please let me know how I can set char_handle of throughput at least.

main.c
static struct bt_throughput throughput;
struct bt_throughput {
/** Throughput Characteristic handle. */
uint16_t char_handle;
...
};

Related