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

Error 133 (0x85): GATT ERROR with HTC U11 Life

Hi there,

I see the "Error 133 (0x85): GATT ERROR" in the nrfconnect App with an HTC U11 Life with up to date Android (8.0.0).

I tested the nordic ble_app_uart example and it connects only on every third connection attempt.

Some older threads about this issue say it has to do with old android versions but mine is up-to-date.

Any clues why this could happen?

Parents
  • Hi, you are not writing which SDK and SD you are working with, but I expect the problem may be some BLE events that you are not handling in your application. For instance check if BLE_GAP_EVT_PHY_UPDATE_REQUEST is handled. Also make sure to have included gatt_init(), which will handle some of the new events such as BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST and BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST. In any case it may be a good idea to print out p_ble_evt->header.evt_id to check out what events are occuring in the first place. I have also seen in some cases that you may try to comment out data_length_update(conn_handle, p_gatt); in on_connected_evt() in nrf_ble_gatt.c, however to get to the bottom of the problem you likely need to do an on-air sniffer log.

     

Reply
  • Hi, you are not writing which SDK and SD you are working with, but I expect the problem may be some BLE events that you are not handling in your application. For instance check if BLE_GAP_EVT_PHY_UPDATE_REQUEST is handled. Also make sure to have included gatt_init(), which will handle some of the new events such as BLE_GAP_EVT_DATA_LENGTH_UPDATE_REQUEST and BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST. In any case it may be a good idea to print out p_ble_evt->header.evt_id to check out what events are occuring in the first place. I have also seen in some cases that you may try to comment out data_length_update(conn_handle, p_gatt); in on_connected_evt() in nrf_ble_gatt.c, however to get to the bottom of the problem you likely need to do an on-air sniffer log.

     

Children
Related