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

SDK 15.2 ANCS change MTU to 185 fail , NRF_ERROR_BUSY

Help !

I use ANCS  need change ATT MTU to more , but I met an incredible thing . 

 just change NRF_SDH_BLE_GAP_DATA_LENGTH to 189 & NRF_SDH_BLE_GATT_MAX_MTU_SIZE = 185


but i get this bad issue ~~ [NRF_ERROR_BUSY] at ..\..\..\main.c:338

please HELP me ~ thank you ~  how can I fix it ~

 

SDK15.2 / nrf52810 / S112 / ble_app_ancs_c 

this is fail log ~ 

0> <info> app: Apple Notification Center Service client example started.
0> <debug> app: pm_whitelist_get returns 0 addr in whitelist and 0 irk whitelist
0> <info> app: Fast advertising
0> <debug> nrf_ble_gatt: Requesting to update ATT MTU to 185 bytes on connection 0x0.
0> <info> app: Connected.
0> <debug> nrf_ble_gatt: ATT MTU updated to 185 bytes on connection 0x0 (response).
0> <info> peer_manager_handler: Connection secured: role: Peripheral, conn_handle: 0, procedure: Bonding
0> <debug> ble_db_disc: Starting discovery of service with UUID 0x1801 on connection handle 0x0.
0> <debug> app: New Bond, add the peer to the whitelist if possible
0> <debug> app: m_whitelist_peer_cnt 1, MAX_PEERS_WLIST 8
0> <debug> ble_db_disc: Found service UUID 0x1801.
0> <debug> ble_db_disc: Discovery of service with UUID 0x1801 completed with success on connection handle 0x0.
0> <debug> ble_db_disc: Starting discovery of service with UUID 0xF431 on connection handle 0x0.
0> <debug> ble_db_disc: Found service UUID 0xF431.
0> <debug> ble_db_disc: Discovery of service with UUID 0xF431 completed with success on connection handle 0x0.
0> <debug> ble_ancs_c: Database Discovery handler called with event 0x0
0> <debug> app: Apple Notification Center Service not discovered on the server.
0> <debug> nrf_ble_gatts_c: Service Changed Characteristic found.
0>
0> <debug> app: GATT Service and Service Changed characteristic found on server.
0> <debug> ble_ancs_c: Database Discovery handler called with event 0x0
0> server.
0> <info> ble_ancs_c: Enable Notification Source notifications. writing to handle: 41
0> handle: 44
0> <debug> app: Notifications Enabled.
0> <debug> app: pm_whitelist_get returns 1 addr in whitelist and 1 irk whitelist
0> <info> app: Fast advertising with Whitelist
0> <debug> app: GATTS Service client disconnected connection handle 0.
0> <info> app: Disconnected.

Turn off iPhone BT switch

Turn on iPhone BT switch

0> <debug> nrf_ble_gatt: Requesting to update ATT MTU to 185 bytes on connection 0x0.
0> <info> app: Remote Database loaded from flash.
0> <error> app: ERROR 17 [NRF_ERROR_BUSY] at ..\..\..\main.c:338
0> PC at: 0x000228F5
0> <error> app: End of error report

Parents Reply Children
No Data
Related