Hi,
I need to test the data rate capacity between a nrf52840 and a smartphone. Smartphone being the central device and nrf52840 being the peripheral device. I have an eval nrf25840 dk board.
My point is to write from peripheral to central device. If I am not wrong, in all the samples I have found in nrf connect sdk are showing exchanges from central to peripheral. I have tried to use the throughput sample, using only the "slave" part and modifying it to write, but clearly I miss some init steps or the right writting process. I can connect to the nrf52840 with nrfconnect from my phone, I have added a call on button 3 from my 52840dk board to write the image (tried using bt_throughput_write / bt_gatt_write_without_response), but it chrashes on an assert (conn struct and handles are null...)
Any help or link to good practices woud be greatly apreciated...
Thanks
Renaud