This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Custom service using SDK17 cannot receive BLE message correctly

I'm porting an application that communicates BLE with a smartphone via nRF52 from SDK15 to SDK17.
It will be Connected, but I can only receive 2 bytes.
Also, even though I have sent 2 messages from the smartphone side, I have only received them once.

PCA10056 nRF52840
SDK17.0.0
SD S140 7.0.1

log
<info> app: on_connect
<info> app: Connected
<debug> nrf_ble_gatt: Peer on connection 0x0 requested an ATT MTU of 185 bytes.
<debug> nrf_ble_gatt: Updating ATT MTU to 23 bytes (desired: 23) on connection 0x0.
<info> app: Data len is set to 0x17(23)
<debug> app: ATT MTU exchange completed. central 0x17 peripheral 0x17
<info> app: no implement
<info> app: on_write
<info> app: service_2
<info> app: length 0x2
<info> app: receive : 0x01,0x00
Related