ble_gatts_clt_cfgs variable
A cached list of handles for the configurable characteristics.
![]()
static struct ble_gatts_clt_cfg_list ble_gatts_clt_cfgs;![]()
if (STAILQ_FIRST(&ble_gatts_clt_cfgs) != NULL) {![]()
while ((clt_cfg = STAILQ_FIRST(&ble_gatts_clt_cfgs)) != NULL) {![]()
STAILQ_REMOVE_HEAD(&ble_gatts_clt_cfgs, next);![]()
if (ble_gatts_clt_cfgs == NULL) {![]()
memset (ble_gatts_clt_cfgs, 0, sizeof *ble_gatts_clt_cfgs);![]()
STAILQ_INSERT_TAIL(&ble_gatts_clt_cfgs, clt_cfg, next);![]()
ble_gatts_clt_cfgs[idx].allowed = allowed_flags;![]()
ble_gatts_clt_cfgs[idx].flags = 0;![]()
STAILQ_FOREACH(clt_cfg, &ble_gatts_clt_cfgs, next) {![]()
clt_cfg = ble_gatts_clt_cfg_find(&ble_gatts_clt_cfgs,![]()
clt_cfg = ble_gatts_clt_cfgs + clt_cfg_idx;![]()
clt_cfg = ble_gatts_clt_cfg_find(&ble_gatts_clt_cfgs,![]()
clt_cfg = ble_gatts_clt_cfg_find(&ble_gatts_clt_cfgs,![]()
STAILQ_FOREACH(clt_cfg, &ble_gatts_clt_cfgs, next) {![]()
cfg = ble_gatts_get_last_cfg(&ble_gatts_clt_cfgs);![]()
ble_gatts_add_clt_cfg(&ble_gatts_clt_cfgs, ha->ha_handle_id + 1, allowed_flags, 0);![]()
ble_gatts_remove_clt_cfg(&ble_gatts_clt_cfgs, chr_val_handle);![]()
STAILQ_INIT(&ble_gatts_clt_cfgs);![]()
ble_gatts_clt_cfgs = NULL;
ble_gatts_clt_cfgs is written by 2 functions and is read by 6 functions:
![]()
ble_gatts_clt_cfgs