Home
last modified time | relevance | path

Searched refs:evt_type (Results 1 – 25 of 114) sorted by relevance

12345

/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dpcnt_ll.h198 static inline void pcnt_ll_event_enable(pcnt_dev_t *hw, pcnt_unit_t unit, pcnt_evt_type_t evt_type) in pcnt_ll_event_enable() argument
200 if (evt_type == PCNT_EVT_L_LIM) { in pcnt_ll_event_enable()
202 } else if (evt_type == PCNT_EVT_H_LIM) { in pcnt_ll_event_enable()
204 } else if (evt_type == PCNT_EVT_THRES_0) { in pcnt_ll_event_enable()
206 } else if (evt_type == PCNT_EVT_THRES_1) { in pcnt_ll_event_enable()
208 } else if (evt_type == PCNT_EVT_ZERO) { in pcnt_ll_event_enable()
221 static inline void pcnt_ll_event_disable(pcnt_dev_t *hw, pcnt_unit_t unit, pcnt_evt_type_t evt_type) in pcnt_ll_event_disable() argument
223 if (evt_type == PCNT_EVT_L_LIM) { in pcnt_ll_event_disable()
225 } else if (evt_type == PCNT_EVT_H_LIM) { in pcnt_ll_event_disable()
227 } else if (evt_type == PCNT_EVT_THRES_0) { in pcnt_ll_event_disable()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/hrrcps/
Dhrrcps.c270 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ? \ in hrrcps_write_att_cb()
283 } else if (BLE_ATT_ERR_INVALID_HANDLE != cfm.status && HRRCPS_EVT_INVALID != event.evt_type in hrrcps_write_att_cb()
310 event.evt_type = HRRCPS_EVT_SCAN_HRS; in hrrcps_ctrl_pt_handler()
314 event.evt_type = HRRCPS_EVT_SCAN_RSCS; in hrrcps_ctrl_pt_handler()
318 event.evt_type = HRRCPS_EVT_HRS_SENSOR_LOC_READ; in hrrcps_ctrl_pt_handler()
322 event.evt_type = HRRCPS_EVT_RSCS_SENSOR_LOC_READ; in hrrcps_ctrl_pt_handler()
326 event.evt_type = HRRCPS_EVT_ENABLE_HRS_NTF; in hrrcps_ctrl_pt_handler()
330 event.evt_type = HRRCPS_EVT_ENABLE_RSCS_NTF; in hrrcps_ctrl_pt_handler()
334 event.evt_type = HRRCPS_EVT_DISABLE_HRS_NTF; in hrrcps_ctrl_pt_handler()
338 event.evt_type = HRRCPS_EVT_DISABLE_RSCS_NTF; in hrrcps_ctrl_pt_handler()
[all …]
/device/soc/esp/esp32/components/hal/include/hal/
Dpcnt_hal.h132 #define pcnt_hal_event_enable(hal, unit, evt_type) pcnt_ll_event_enable((hal)->dev, unit, evt_type) argument
142 #define pcnt_hal_event_disable(hal, unit, evt_type) pcnt_ll_event_disable((hal)->dev, unit, evt_typ… argument
154 …define pcnt_hal_set_event_value(hal, unit, evt_type, value) pcnt_ll_set_event_value((hal)->dev, un… argument
165 …define pcnt_hal_get_event_value(hal, unit, evt_type, value) pcnt_ll_get_event_value((hal)->dev, un… argument
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/cts_c/
Dcts_c.c123 if (s_cts_c_env.evt_handler != NULL && CTS_C_EVT_INVALID != p_evt->evt_type) { in cts_c_evt_handler_excute()
277 cts_c_evt.evt_type = CTS_C_EVT_INVALID; in cts_c_att_read_cb()
287 cts_c_evt.evt_type = CTS_C_EVT_VALID_CUR_TIME_REC; in cts_c_att_read_cb()
289 cts_c_evt.evt_type = CTS_C_EVT_INVALID_CUR_TIME_REC; in cts_c_att_read_cb()
296 cts_c_evt.evt_type = CTS_C_EVT_VALID_LOC_TIME_INFO_REC; in cts_c_att_read_cb()
298 cts_c_evt.evt_type = CTS_C_EVT_INVALID_LOC_TIME_INFO_REC; in cts_c_att_read_cb()
304 cts_c_evt.evt_type = CTS_C_EVT_VALID_REF_TIME_INFO_REC; in cts_c_att_read_cb()
306 cts_c_evt.evt_type = CTS_C_EVT_INVALID_REF_TIME_INFO_REC; in cts_c_att_read_cb()
327 cts_c_evt.evt_type = CTS_C_EVT_INVALID; in cts_c_att_write_cb()
330 cts_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in cts_c_att_write_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/pass_c/
Dpass_c.c114 if (s_pass_c_env.evt_handler != NULL && PASS_C_EVT_INVALID != p_evt->evt_type) { in pass_c_evt_handler_excute()
133 pass_c_evt.evt_type = PASS_C_EVT_INVALID; in pass_c_att_read_cb()
140 pass_c_evt.evt_type = PASS_C_EVT_ALERT_STATUS_RECEIVE; in pass_c_att_read_cb()
143 pass_c_evt.evt_type = PASS_C_EVT_RINGER_SET_RECEIVE; in pass_c_att_read_cb()
164 pass_c_evt.evt_type = PASS_C_EVT_INVALID; in pass_c_att_write_cb()
167 pass_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in pass_c_att_write_cb()
171 pass_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in pass_c_att_write_cb()
175 pass_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in pass_c_att_write_cb()
197 pass_c_evt.evt_type = PASS_C_EVT_INVALID; in pass_c_att_ntf_ind_cb()
200 pass_c_evt.evt_type = PASS_C_EVT_ALERT_STATUS_RECEIVE; in pass_c_att_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gus_c/
Dgus_c.c114 if (s_gus_c_env.evt_handler != NULL && GUS_C_EVT_INVALID != p_evt->evt_type) { in gus_c_evt_handler_excute()
133 gus_c_evt.evt_type = GUS_C_EVT_INVALID; in gus_c_att_write_cb()
136 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
140 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
144 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
148 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
170 gus_c_evt.evt_type = GUS_C_EVT_INVALID; in gus_c_att_ntf_ind_cb()
174 gus_c_evt.evt_type = GUS_C_EVT_TX_FLOW_ON; in gus_c_att_ntf_ind_cb()
176 gus_c_evt.evt_type = GUS_C_EVT_TX_FLOW_OFF; in gus_c_att_ntf_ind_cb()
179 gus_c_evt.evt_type = GUS_C_EVT_PEER_DATA_RECEIVE; in gus_c_att_ntf_ind_cb()
[all …]
/device/soc/esp/esp32/components/driver/
Dpcnt.c164 …ine esp_err_t _pcnt_event_enable(pcnt_port_t pcnt_port, pcnt_unit_t unit, pcnt_evt_type_t evt_type) in _pcnt_event_enable() argument
168 PCNT_CHECK(evt_type < PCNT_EVT_MAX, PCNT_EVT_TYPE_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_event_enable()
169 pcnt_hal_event_enable(&(p_pcnt_obj[pcnt_port]->hal), unit, evt_type); in _pcnt_event_enable()
173 …ne esp_err_t _pcnt_event_disable(pcnt_port_t pcnt_port, pcnt_unit_t unit, pcnt_evt_type_t evt_type) in _pcnt_event_disable() argument
177 PCNT_CHECK(evt_type < PCNT_EVT_MAX, PCNT_EVT_TYPE_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_event_disable()
178 pcnt_hal_event_disable(&(p_pcnt_obj[pcnt_port]->hal), unit, evt_type); in _pcnt_event_disable()
182 …t_set_event_value(pcnt_port_t pcnt_port, pcnt_unit_t unit, pcnt_evt_type_t evt_type, int16_t value) in _pcnt_set_event_value() argument
186 PCNT_CHECK(evt_type < PCNT_EVT_MAX, PCNT_EVT_TYPE_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_set_event_value()
187 …PCNT_CHECK(!(evt_type == PCNT_EVT_L_LIM && value > 0), PCNT_LIMT_VAL_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_set_event_value()
188 …PCNT_CHECK(!(evt_type == PCNT_EVT_H_LIM && value < 0), PCNT_LIMT_VAL_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_set_event_value()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/rscs_c/
Drscs_c.c118 if (s_rscs_c_env.evt_handler != NULL && RSCS_C_EVT_INVALID != p_evt->evt_type) { in rscs_c_evt_handler_excute()
187 rscs_c_evt.evt_type = RSCS_C_EVT_INVALID; in rscs_c_att_read_cb()
194 rscs_c_evt.evt_type = RSCS_C_EVT_RSC_FEATURE_RECEIVE; in rscs_c_att_read_cb()
197 rscs_c_evt.evt_type = RSCS_C_EVT_SENSOR_LOC_RECEIVE; in rscs_c_att_read_cb()
218 rscs_c_evt.evt_type = RSCS_C_EVT_INVALID; in rscs_c_att_write_cb()
221 rscs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in rscs_c_att_write_cb()
225 rscs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in rscs_c_att_write_cb()
229 rscs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in rscs_c_att_write_cb()
252 rscs_c_evt.evt_type = RSCS_C_EVT_INVALID; in rscs_c_att_ntf_ind_cb()
255 rscs_c_evt.evt_type = RSCS_C_EVT_RSC_MEAS_VAL_RECEIVE; in rscs_c_att_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ans_c/
Dans_c.c116 if (s_ans_c_env.evt_handler != NULL && ANS_C_EVT_INVALID != p_evt->evt_type) { in ans_c_evt_handler_excute()
183 ans_c_evt.evt_type = ANS_C_EVT_INVALID; in ans_c_att_read_cb()
190 ans_c_evt.evt_type = ANS_C_EVT_SUP_NEW_ALERT_CAT_RECEIV; in ans_c_att_read_cb()
194 ans_c_evt.evt_type = ANS_C_EVT_SUP_UNREAD_ALERT_CAT_REC; in ans_c_att_read_cb()
216 ans_c_evt.evt_type = ANS_C_EVT_INVALID; in ans_c_att_write_cb()
219 ans_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ans_c_att_write_cb()
223 ans_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ans_c_att_write_cb()
227 ans_c_evt.evt_type = (BLE_SUCCESS == status) ? in ans_c_att_write_cb()
249 ans_c_evt.evt_type = ANS_C_EVT_INVALID; in ans_c_att_ntf_ind_cb()
252 ans_c_evt.evt_type = ANS_C_EVT_NEW_ALERT_RECEIVE; in ans_c_att_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ams_c/
Dams_c.c125 if (s_ams_c_env.evt_handler != NULL && AMS_C_EVT_INVALID != p_evt->evt_type) { in ams_c_evt_handler_excute()
164 ams_c_evt.evt_type = AMS_C_EVT_INVALID; in ams_c_att_read_cb()
172 ams_c_evt.evt_type = AMS_C_EVT_CPLT_ATTR_READ_RSP; in ams_c_att_read_cb()
194 ams_c_evt.evt_type = AMS_C_EVT_INVALID; in ams_c_att_write_cb()
197 ams_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ams_c_att_write_cb()
201 ams_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ams_c_att_write_cb()
205 ams_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ams_c_att_write_cb()
209 ams_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ams_c_att_write_cb()
213 ams_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ams_c_att_write_cb()
235 ams_c_evt.evt_type = AMS_C_EVT_INVALID; in ams_c_att_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ths_c/
Dths_c.c117 if (s_ths_c_env.evt_handler != NULL && THS_C_EVT_INVALID != p_evt->evt_type) { in ths_c_evt_handler_excute()
136 ths_c_evt.evt_type = THS_C_EVT_INVALID; in ths_c_att_write_cb()
139 ths_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ths_c_att_write_cb()
143 ths_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ths_c_att_write_cb()
147 ths_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ths_c_att_write_cb()
151 ths_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ths_c_att_write_cb()
155 ths_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ths_c_att_write_cb()
177 ths_c_evt.evt_type = THS_C_EVT_INVALID; in ths_c_att_ntf_ind_cb()
182 ths_c_evt.evt_type = THS_C_EVT_SETTING_RSP_RECEIVE; in ths_c_att_ntf_ind_cb()
184 ths_c_evt.evt_type = THS_C_EVT_THRP_DATA_RECEIVE; in ths_c_att_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/bas_c/
Dbas_c.c115 if (s_bas_c_env.evt_handler != NULL && BAS_C_EVT_INVALID != p_evt->evt_type) { in bas_c_evt_handler_excute()
134 bas_c_evt.evt_type = BAS_C_EVT_INVALID; in bas_c_att_read_cb()
141 bas_c_evt.evt_type = BAS_C_EVT_BAT_LEVE_RECEIVE; in bas_c_att_read_cb()
161 bas_c_evt.evt_type = BAS_C_EVT_INVALID; in bas_c_att_write_cb()
164 bas_c_evt.evt_type = (BLE_SUCCESS == status) ?\ in bas_c_att_write_cb()
186 bas_c_evt.evt_type = BAS_C_EVT_INVALID; in bas_c_att_ntf_ind_cb()
189 bas_c_evt.evt_type = BAS_C_EVT_BAT_LEVE_RECEIVE; in bas_c_att_ntf_ind_cb()
211 bas_c_evt.evt_type = BAS_C_EVT_DISCOVERY_FAIL; in bas_c_srvc_browse_cb()
246 bas_c_evt.evt_type = BAS_C_EVT_DISCOVERY_COMPLETE; in bas_c_srvc_browse_cb()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/mlmr_c/
Dmlmr_c.c124 if (s_gus_c_env.evt_handler != NULL && GUS_C_EVT_INVALID != p_evt->evt_type) { in gus_c_evt_handler_excute()
143 gus_c_evt.evt_type = GUS_C_EVT_INVALID; in gus_c_att_write_cb()
146 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
150 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
154 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
158 gus_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in gus_c_att_write_cb()
197 gus_c_evt.evt_type = GUS_C_EVT_INVALID; in gus_c_att_ntf_ind_cb()
201 gus_c_evt.evt_type = GUS_C_EVT_TX_FLOW_ON; in gus_c_att_ntf_ind_cb()
203 gus_c_evt.evt_type = GUS_C_EVT_TX_FLOW_OFF; in gus_c_att_ntf_ind_cb()
206 gus_c_evt.evt_type = GUS_C_EVT_PEER_DATA_RECEIVE; in gus_c_att_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/lns/
Dlns.c276 event.evt_type = LNS_EVT_INVALID; in lns_write_att_cb()
282 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in lns_write_att_cb()
290 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ? \ in lns_write_att_cb()
299 event.evt_type = LNS_EVT_TRACE_STATUS_GET; in lns_write_att_cb()
303 event.evt_type = LNS_EVT_TRACE_INFO_DUMP; in lns_write_att_cb()
307 event.evt_type = LNS_EVT_TRACE_INFO_CLEAR; in lns_write_att_cb()
323 if (BLE_ATT_ERR_INVALID_HANDLE != cfm.status && LNS_EVT_INVALID != event.evt_type) { in lns_write_att_cb()
351 event.evt_type = LNS_EVT_INVALID; in lns_cccd_set_cb()
356 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in lns_cccd_set_cb()
363 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ? \ in lns_cccd_set_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/otas_c/
Dotas_c.c117 if (s_otas_c_env.evt_handler != NULL && OTAS_C_EVT_INVALID != p_evt->evt_type) { in otas_c_evt_handler_execute()
136 otas_c_evt.evt_type = OTAS_C_EVT_INVALID; in otas_c_att_write_cb()
139 otas_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in otas_c_att_write_cb()
143 otas_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in otas_c_att_write_cb()
147 otas_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in otas_c_att_write_cb()
169 otas_c_evt.evt_type = OTAS_C_EVT_INVALID; in otas_c_att_ntf_ind_cb()
174 otas_c_evt.evt_type = OTAS_C_EVT_PEER_DATA_RECEIVE; in otas_c_att_ntf_ind_cb()
195 otas_c_evt.evt_type = OTAS_C_EVT_DISCOVERY_FAIL; in otas_c_srvc_browse_cb()
228 otas_c_evt.evt_type = OTAS_C_EVT_DISCOVERY_COMPLETE; in otas_c_srvc_browse_cb()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/thscps/
Dthscps.c334 event.evt_type = THSCPS_EVT_INVALID; in thscps_write_att_cb()
343 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ? \ in thscps_write_att_cb()
350 event.evt_type = THSCPS_EVT_SETTING_SET; in thscps_write_att_cb()
357 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in thscps_write_att_cb()
365 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in thscps_write_att_cb()
373 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in thscps_write_att_cb()
388 } else if (THSCPS_EVT_SETTING_SET == event.evt_type && in thscps_write_att_cb()
396 } else if (THSCPS_EVT_INVALID != event.evt_type && s_thscps_env.evt_handler) { in thscps_write_att_cb()
416 event.evt_type = THSCPS_EVT_INVALID; in thscps_cccd_set_cb()
426 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ? \ in thscps_cccd_set_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gus/
Dgus.c292 event.evt_type = GUS_EVT_RX_DATA_RECEIVED; in gus_write_att_cb()
299 …event.evt_type = (PRF_CLI_START_NTF == cccd_value) ? GUS_EVT_TX_PORT_OPENED : GUS_EVT_TX_PORT_CLOS… in gus_write_att_cb()
305 …event.evt_type = (PRF_CLI_START_NTF == cccd_value) ? GUS_EVT_FLOW_CTRL_ENABLE : GUS_EVT_FLOW_CTRL_… in gus_write_att_cb()
313 event.evt_type = GUS_EVT_TX_FLOW_OFF; in gus_write_att_cb()
315 event.evt_type = GUS_EVT_TX_FLOW_ON; in gus_write_att_cb()
324 if (BLE_ATT_ERR_INVALID_HANDLE != cfm.status && GUS_EVT_INVALID != event.evt_type && in gus_write_att_cb()
352 event.evt_type = GUS_EVT_INVALID; in gus_cccd_set_cb()
356 …event.evt_type = (PRF_CLI_START_NTF == cccd_value) ? GUS_EVT_TX_PORT_OPENED : GUS_EVT_TX_PORT_CLOS… in gus_cccd_set_cb()
361 …event.evt_type = (PRF_CLI_START_NTF == cccd_value) ? GUS_EVT_FLOW_CTRL_ENABLE : GUS_EVT_FLOW_CTRL_… in gus_cccd_set_cb()
369 if (GUS_EVT_INVALID != event.evt_type && s_gus_env.gus_init.evt_handler) { in gus_cccd_set_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/pass/
Dpass.c279 event.evt_type = PASS_EVT_INVALID; in pass_write_att_cb()
285 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in pass_write_att_cb()
293 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in pass_write_att_cb()
304 event.evt_type = PASS_EVT_SILENT_MODE_SET; in pass_write_att_cb()
309 event.evt_type = PASS_EVT_MUTE_ONCE_SET; in pass_write_att_cb()
315 event.evt_type = PASS_EVT_SILENT_MODE_CANCEL; in pass_write_att_cb()
332 if (BLE_ATT_ERR_INVALID_HANDLE != cfm.status && PASS_EVT_INVALID != event.evt_type in pass_write_att_cb()
361 event.evt_type = PASS_EVT_INVALID; in pass_cccd_set_cb()
366 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in pass_cccd_set_cb()
373 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in pass_cccd_set_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/hrs_c/
Dhrs_c.c114 if (s_hrs_c_env.evt_handler != NULL && HRS_C_EVT_INVALID != p_evt->evt_type) { in hrs_c_evt_handler_excute()
184 hrs_c_evt.evt_type = HRS_C_EVT_INVALID; in hrs_c_att_read_cb()
191 hrs_c_evt.evt_type = HRS_C_EVT_SENSOR_LOC_READ_RSP; in hrs_c_att_read_cb()
212 hrs_c_evt.evt_type = HRS_C_EVT_INVALID; in hrs_c_att_write_cb()
215 hrs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in hrs_c_att_write_cb()
219 hrs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in hrs_c_att_write_cb()
241 hrs_c_evt.evt_type = HRS_C_EVT_INVALID; in hrs_c_att_ntf_ind_cb()
244 hrs_c_evt.evt_type = HRS_C_EVT_HR_MEAS_VAL_RECEIVE; in hrs_c_att_ntf_ind_cb()
267 hrs_c_evt.evt_type = HRS_C_EVT_DISCOVERY_FAIL; in hrs_c_srvc_browse_cb()
303 hrs_c_evt.evt_type = HRS_C_EVT_DISCOVERY_COMPLETE; in hrs_c_srvc_browse_cb()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ancs_c/
Dancs_c.c115 if (s_ancs_c_env.evt_handler != NULL && BLE_ANCS_C_EVT_INVALID != p_evt->evt_type) { in ancs_c_evt_handler_excute()
134 ancs_c_evt.evt_type = BLE_ANCS_C_EVT_INVALID; in ancs_c_att_write_cb()
137 ancs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ancs_c_att_write_cb()
141 ancs_c_evt.evt_type = (BLE_SUCCESS == status) ? \ in ancs_c_att_write_cb()
163 ancs_c_evt.evt_type = BLE_ANCS_C_EVT_INVALID; in ancs_c_att_ntf_ind_cb()
166 ancs_c_evt.evt_type = BLE_ANCS_C_EVT_NTF_SOURCE_RECEIVE; in ancs_c_att_ntf_ind_cb()
169 ancs_c_evt.evt_type = BLE_ANCS_C_EVT_DATA_SOURCE_RECEIVE; in ancs_c_att_ntf_ind_cb()
227 ancs_c_evt.evt_type = BLE_ANCS_C_EVT_DISCOVERY_FAILED; in ancs_c_srvc_browse_cb()
263 ancs_c_evt.evt_type = BLE_ANCS_C_EVT_DISCOVERY_CPLT; in ancs_c_srvc_browse_cb()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/lls_c/
Dlls_c.c113 if (s_lls_c_env.evt_handler != NULL && LLS_C_EVT_INVALID != p_evt->evt_type) { in lls_c_evt_handler_excute()
132 lls_c_evt.evt_type = LLS_C_EVT_INVALID; in lls_c_att_read_cb()
139 lls_c_evt.evt_type = LLS_C_EVT_ALERT_LEVEL_RECEIVE; in lls_c_att_read_cb()
159 lls_c_evt.evt_type = LLS_C_EVT_INVALID; in lls_c_att_write_cb()
162 lls_c_evt.evt_type = (BLE_SUCCESS == status) ?\ in lls_c_att_write_cb()
186 lls_c_evt.evt_type = LLS_C_EVT_DISCOVERY_FAIL; in lls_c_srvc_browse_cb()
214 lls_c_evt.evt_type = LLS_C_EVT_DISCOVERY_COMPLETE; in lls_c_srvc_browse_cb()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/rscs/
Drscs.c306 event.evt_type = RSCS_EVT_INVALID; in rscs_write_att_cb()
312 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ?\ in rscs_write_att_cb()
332 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ?\ in rscs_write_att_cb()
347 } else if (BLE_ATT_ERR_INVALID_HANDLE != cfm.status && RSCS_EVT_INVALID != event.evt_type in rscs_write_att_cb()
376 event.evt_type = RSCS_EVT_INVALID; in rscs_cccd_set_cb()
381 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ?\ in rscs_cccd_set_cb()
388 event.evt_type = ((PRF_CLI_START_IND == cccd_value) ?\ in rscs_cccd_set_cb()
398 if (RSCS_EVT_INVALID != event.evt_type && s_rscs_env.rscs_init.evt_handler) { in rscs_cccd_set_cb()
416 event.evt_type = RSCS_EVT_INVALID; in rscs_ntf_ind_cb()
421 event.evt_type = RSCS_EVT_RSC_MEAS_SEND_CPLT; in rscs_ntf_ind_cb()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ans/
Dans.c325 event.evt_type = ANS_EVT_INVALID; in ans_write_att_cb()
331 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in ans_write_att_cb()
339 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in ans_write_att_cb()
370 ANS_EVT_INVALID != event.evt_type && \ in ans_write_att_cb()
399 event.evt_type = ANS_EVT_INVALID; in ans_cccd_set_cb()
404 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in ans_cccd_set_cb()
411 event.evt_type = ((PRF_CLI_START_NTF == cccd_value) ? \ in ans_cccd_set_cb()
421 if (ANS_EVT_INVALID != event.evt_type && \ in ans_cccd_set_cb()
493 event.evt_type = ANS_EVT_INVALID; in ans_ctrl_pt_handler()
540 event.evt_type = ANS_EVT_NEW_ALERT_IMME_NTF_REQ; in ans_ctrl_pt_handler()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/pcs/
Dpcs.c278 … event.evt_type = (PRF_CLI_START_NTF == cccd_value) ? PCS_EVT_TX_ENABLE : PCS_EVT_TX_DISABLE; in pcs_write_att_cb()
283 event.evt_type = PCS_EVT_PARAM_SET; in pcs_write_att_cb()
288 …event.evt_type = (PRF_CLI_START_IND == cccd_value) ? PCS_EVT_SETTING_ENABLE : PCS_EVT_SETTING_DISA… in pcs_write_att_cb()
297 if (BLE_ATT_ERR_INVALID_HANDLE != cfm.status && PCS_EVT_INVALID != event.evt_type && in pcs_write_att_cb()
329 event.evt_type = PCS_EVT_INVALID; in pcs_cccd_set_cb()
333 …event.evt_type = (PRF_CLI_START_IND == cccd_value) ? PCS_EVT_SETTING_ENABLE : PCS_EVT_SETTING_DISA… in pcs_cccd_set_cb()
341 if (PCS_EVT_INVALID != event.evt_type && s_pcs_env.pcs_init.evt_handler) { in pcs_cccd_set_cb()
357 .evt_type = PCS_EVT_DISCONNECTED, in pcs_disconnected()
383 event.evt_type = PCS_EVT_TX_DATA_SENT; in pcs_ntf_ind_cb()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_gap.c76 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p);
370 p_cb->evt_type = btm_set_conn_mode_adv_init_addr(p_cb, p_addr_ptr, &init_addr_type, in BTM_BleUpdateAdvFilterPolicy()
378 p_cb->evt_type, in BTM_BleUpdateAdvFilterPolicy()
609 UINT8 evt_type = p_cb->scan_rsp ? BTM_BLE_DISCOVER_EVT : BTM_BLE_NON_CONNECT_EVT; in BTM_BleBroadcast() local
617 evt_type = p_cb->scan_rsp ? BTM_BLE_CONNECT_EVT : BTM_BLE_NON_CONNECT_EVT; in BTM_BleBroadcast()
627 evt_type, in BTM_BleBroadcast()
637 p_cb->evt_type = evt_type; in BTM_BleBroadcast()
1139 UINT8 evt_type; in btm_ble_resolve_random_addr_on_adv() local
1143 STREAM_TO_UINT8 (evt_type, pp); in btm_ble_resolve_random_addr_on_adv()
1160 btm_ble_process_adv_pkt_cont(bda, addr_type, evt_type, pp); in btm_ble_resolve_random_addr_on_adv()
[all …]

12345