Hi.
I am testing the NRF5340 DK using NCS 2.2.0.
DK operates as a peripheral device, and the controller tries to use the smartphone App.
I created a custom service and created a custom characteristic for BLE RX and TX tests.
The custom characteristic is composed of two, and the properties are as follows.
CHAR1 - BT_GATT_CHRC_WRITE, BT_GATT_PERM_WRITE
CHAR2 - BT_GATT_CHRC_READ, BT_GATT_PERM_READ
That is, the controller wants to write a command to CHAR1 and read CHAR2 to get a response to the command.
There is a problem here.
In nRF5 SDK, response data could be written to characteristic with read property through sd_ble_gatts_value_set().
How do I set data to characteristic with read property in NCS?
I looked at several peripheral examples, but all I could find was using gatt_notify().
please answer me
thank you