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_GATTS_EVT_SYS_ATTR_MISSING event hints?

Hello, I received BLE_ERROR_GATTS_SYS_ATTR_MISSING event during connection procedure. Tried to look inside and found

/**@brief Event structure for @ref BLE_GATTS_EVT_SYS_ATTR_MISSING. */
typedef struct
{
  uint8_t hint;                                 /**< Hint (currently unused). */
} ble_gatts_evt_sys_attr_missing_t;

I tried to read the hint values and they changed from connection to connection. So could I decode and interpret them to improve code flexibility?

  • Which SDK and softdevice versions are you using? It say Hint (currently unused), and the variable is not initialized. What you are reading is propably garbage from the memory location where hint is allocated. What are you doing when you get this event? Here is one informal answer about this error.

  • Yes it say but the values changing, it make me thing of some undocumented feature).The SD s110 v.8.0.0 and no SDK used. I send sd_ble_gatts_sys_attr_set with previously saved attributes if previously bonded and NULL in case of new bonding. Thanks

Related