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

BLE_EVT_USER_MEM_REQUEST if data_length is > 180 bytes on iOS but not for Android

Hi,

we user the standard NUS example as peripheral. Starting from IPhone 7 an mtu size of 251 is negotiated. Sending from the peripheral is possible but receiving from the IPhone bigger than 18ß bytes results in BLE_EVT_USER_MEM_REQUEST and then BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST which with the standard code of the nus example gives an NRF_ERROR_INVALID_STATE. This could be solved with  https://devzone.nordicsemi.com/f/nordic-q-a/22718/invalid_param-for-sd_ble_gatts_rw_authorize_reply/205199#205199.But still I could not receive the long package. Funny thing is, that with android it is working. I can receive payloads up 251 bytes.

Is there any particular reason for this?

Best regards,

C.W.

Parents Reply Children
No Data
Related