I have a working code which implements a UART peripheral written originally with SDK15.0
I would like to port it to the latest SDK 17.02
I can get advertisement and I can connect with a smartphone.
I can write data from the smartphone to the UART, but the opposite direction doesn't work
I get error and reset
I found that the problem is in ble_nus_data_send
What could be the reason (difference between SDK15 to SDK17)?