Hi Team,
Is there any example to understand Prepare Write Request/Prepare Write Response?
In ble_uart_app example, I am getting p_ble_evt->header.evt_id = 2 if I put printf in default case in on_ble_evt function.
Regards,
Milan Joshi
Is it S110 or S120 you are working with?
My recommendation would be to look at the SDK documentations Message Sequence Charts first. If you want automated control (the simplest appproach) you let the softdevice take care of the data copying. NOTE: In this case you need a buffer bigger than the data you are going to hold! ceil(BUF_SIZE/18)*24 + 2
would be a sufficient size for the buffer in this case.
I am getting BLE_EVT_USER_MEM_RELEASE event and trying to print data on this event! Am I still missing something!? How to get data from all different offsets? In capture I am able to see that values are written on offsets 0,18,36,54,72 and 90.
I am getting BLE_EVT_USER_MEM_RELEASE event and trying to print data on this event! Am I still missing something!? How to get data from all different offsets? In capture I am able to see that values are written on offsets 0,18,36,54,72 and 90.