As per the GATT documenation, the conn pointer may actually be NULL in the notify callback, indicating that the connection is being unpaired. Add a check for conn == NULL to avoid calling bt_conn_index on a NULL pointer. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| audio | ||
| common | ||
| controller | ||
| host | ||
| mesh | ||
| services | ||
| shell | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.adv | ||
| Kconfig.iso | ||