Hello there.
I'm porting some code that previously worked on S110 stack v7 to stack v8 and I'am experiencing some issues.
After receiving a BLE_EVT_USER_MEM_REQUEST
, I send back a sd_ble_user_mem_reply
with a connection handle of 0 and a null pointer (as I have nothing to send at this time).
There, I get the error code NRF_ERROR_DATA_SIZE
and get into my hard fault handler.
I also tried setting up a dummy ble_user_mem_block_t
pointing to a dummy char, but I have the same problem.
This code was working with stack v7, but it's not anymore and I can't figure out why.
So, am I using the function correctly ? What should I do to use it correctly ? Any hint would be greatly appreciated.