This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BLE_ERROR_GATTS_SYS_ATTR_MISSING

Hi. I have a problem with HID keyboard example. Function sd_ble_gatts_hvx returns 0x00003401. I know that it's means BLE_ERROR_GATTS_SYS_ATTR_MISSING. But how and where I must set attributes or enable notification. I know that I must restore attributes from storage. But how? I read many posts about this but I can not to fix this problem. Please help me. Thank you in advance.

BLE_ERROR_GATTS_SYS_ATTR_MISSING does not handle

Parents
  • If you get no service discovery then the BLE_GATTS_EVT_SYS_ATTR_MISSING won't come.

    You can try to call sd_ble_gatts_sys_attr_set(NULL) when you receive _CONNECTED event.

    If you test with our ble_app_hid_keyboard do you see the same problem ?

  • I'm sorry for late response. I was on vacation.

    By default we don't have any pin code to bond with ble_app_proximity example, are you sure you test with non-modified example ? I would suggest you to take screenshot on every step you test with the nRFConnect or nRF Master Control panel application you use. A sniffer trace would be very useful.

    You only receive BLE_GAP_EVT_AUTH_STATUS if the 2 devices bond. If on Raspberry Pi you don't actively do bonding then there will be no event. How do you ignite bonding on the Raspberry ?

    Note that from SDK v10 we don't use KEIL's pack (except for CMSIS pack and device family pack). You download SDK directly from our developer.nordicsemi.com/ site.

Reply
  • I'm sorry for late response. I was on vacation.

    By default we don't have any pin code to bond with ble_app_proximity example, are you sure you test with non-modified example ? I would suggest you to take screenshot on every step you test with the nRFConnect or nRF Master Control panel application you use. A sniffer trace would be very useful.

    You only receive BLE_GAP_EVT_AUTH_STATUS if the 2 devices bond. If on Raspberry Pi you don't actively do bonding then there will be no event. How do you ignite bonding on the Raspberry ?

    Note that from SDK v10 we don't use KEIL's pack (except for CMSIS pack and device family pack). You download SDK directly from our developer.nordicsemi.com/ site.

Children
No Data
Related