Home
last modified time | relevance | path

Searched refs:hdl_cursor (Results 1 – 1 of 1) sorted by relevance

/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/profile/
A Dbass.c337 uint16_t hdl_cursor = bass_env->start_hdl; in bass_get_att_idx() local
342 for(*svc_idx = 0 ; (*svc_idx < bass_env->svc_nb) && (handle >= hdl_cursor) ; (*svc_idx)++) in bass_get_att_idx()
345 if (handle <= (hdl_cursor + BAS_IDX_BATT_LVL_VAL)) in bass_get_att_idx()
347 *att_idx = handle -hdl_cursor; in bass_get_att_idx()
351 hdl_cursor += BAS_IDX_BATT_LVL_VAL; in bass_get_att_idx()
356 hdl_cursor++; in bass_get_att_idx()
357 if (handle == hdl_cursor) in bass_get_att_idx()
367 hdl_cursor++; in bass_get_att_idx()
368 if (handle == hdl_cursor) in bass_get_att_idx()
375 hdl_cursor++; in bass_get_att_idx()

Completed in 5 milliseconds