/AliOS-Things-master/components/ble_mesh/bt_mesh/core/ref_impl/ |
A D | mesh_event_port.c | 25 int bt_mesh_event_register(mesh_model_evt_cb event_cb) in bt_mesh_event_register() argument 27 if (event_cb == NULL) { in bt_mesh_event_register() 30 g_bt_mesh_model_evt_cb = event_cb; in bt_mesh_event_register()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | cfg_cli.c | 59 if (event_cb) { in comp_data_status() 109 if (event_cb) { in beacon_status() 124 if (event_cb) { in ttl_status() 139 if (event_cb) { in friend_status() 154 if (event_cb) { in gatt_proxy_status() 179 if (event_cb) { in relay_status() 221 if (event_cb) { in net_key_status() 269 if (event_cb) { in net_krp_status() 321 if (event_cb) { in app_key_status() 371 if (event_cb) { in mod_app_status() [all …]
|
A D | cfg_srv.c | 580 if (event_cb) { in app_key_add() 601 if (event_cb) { in app_key_update() 602 event_cb(BT_MESH_MODEL_EVT_APPKEY_UPDATE, &status); in app_key_update() 679 if (event_cb) { in app_key_del() 680 event_cb(BT_MESH_MODEL_EVT_APPKEY_DEL, &status); in app_key_del() 2137 if (event_cb) { in net_key_add() 2241 if (event_cb) { in net_key_update() 2301 if (event_cb) { in net_key_del() 2302 event_cb(BT_MESH_MODEL_EVT_NETKEY_DEL, &status); in net_key_del() 2633 if (event_cb) { in node_reset_status_sent() [all …]
|
A D | prov.c | 636 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in prov_invite() local 637 if (plink.conn && event_cb) { in prov_invite() 638 event_cb(BT_MESH_MODEL_EVT_PROV_START, NULL); in prov_invite() 1185 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in prov_data() local 1186 if (event_cb) { in prov_data() 1187 event_cb(BT_MESH_MODEL_EVT_PROV_DATA, &addr); in prov_data() 1372 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in link_open() local 1373 if (event_cb) { in link_open() 1374 event_cb(BT_MESH_MODEL_EVT_PROV_START, &plink.id); in link_open()
|
A D | net.c | 771 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in bt_mesh_net_resend() local 772 if (event_cb) { in bt_mesh_net_resend() 773 event_cb(BT_MESH_MODEL_EVT_SEQ_UPDATE, NULL); in bt_mesh_net_resend() 838 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in bt_mesh_net_encode() local 839 if (event_cb) { in bt_mesh_net_encode() 840 event_cb(BT_MESH_MODEL_EVT_SEQ_UPDATE, NULL); in bt_mesh_net_encode()
|
A D | friend.c | 415 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in encode_friend_ctl() local 416 if (event_cb) { in encode_friend_ctl() 417 event_cb(BT_MESH_MODEL_EVT_SEQ_UPDATE, &seq); in encode_friend_ctl() 1166 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in friend_lpn_enqueue_tx() local 1167 if (event_cb) { in friend_lpn_enqueue_tx() 1168 event_cb(BT_MESH_MODEL_EVT_SEQ_UPDATE, &seq); in friend_lpn_enqueue_tx()
|
A D | provisioner_main.c | 215 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in provisioner_node_reset() local 216 if (event_cb) { in provisioner_node_reset() 217 event_cb(BT_MESH_MODEL_EVT_NODE_RESET_STATUS, &evt_data); in provisioner_node_reset()
|
A D | transport.c | 622 mesh_model_evt_cb event_cb = bt_mesh_event_get_cb_func(); in is_replay() local 623 if (event_cb) { in is_replay() 624 event_cb(BT_MESH_MODEL_EVT_RPL_IS_FULL, NULL); in is_replay()
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_event.c | 254 if (p_msg == NULL || !p_context || !p_context->event_cb) in genie_down_msg() 291 p_context->event_cb(GENIE_EVT_SIG_MODEL_MSG, (void *)p_msg); in genie_down_msg() 334 p_context->event_cb(GENIE_EVT_DOWN_MSG, (void *)&down_msg); in genie_down_msg() 375 if (!p_context || !p_context->event_cb) in genie_event() 390 p_context->event_cb(GENIE_EVT_SW_RESET, p_arg); in genie_event() 461 p_context->event_cb(GENIE_EVT_MESH_READY, p_arg); //Report user bootup data at first in genie_event() 521 p_context->event_cb(event, p_arg); in genie_event()
|
/AliOS-Things-master/components/ble_host/bt_host/port/aos/ |
A D | poll.c | 25 struct event_cb { struct 217 for (int i = 0; i < ((struct event_cb *)event_next)->num_events; i++) { in event_callback() 218 if (((struct event_cb *)event_next)->events[i].type == event_type || in event_callback() 220 k_sem_give(&((struct event_cb *)event_next)->sem); in event_callback() 233 static struct event_cb eventcb; in k_poll()
|
/AliOS-Things-master/components/genie_service/ |
A D | genie_service.c | 20 if (!p_ctx || !p_ctx->event_cb || !p_ctx->p_mesh_elem || p_ctx->mesh_elem_counts < 1) in genie_service_check_ctx() 22 …GENIE_LOG_ERR("ctx:%p %p %p %d", p_ctx, p_ctx->event_cb, p_ctx->p_mesh_elem, p_ctx->mesh_elem_coun… in genie_service_check_ctx()
|
A D | genie_service.h | 80 user_event_cb event_cb; member
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_sw.c | 273 lv_event_cb_t event_cb = sw->event_cb; in lv_sw_signal() local 274 sw->event_cb = NULL; in lv_sw_signal() 282 sw->event_cb = event_cb; in lv_sw_signal()
|
A D | lv_kb.c | 351 if(kb->event_cb != lv_kb_def_event_cb) { in lv_kb_def_event_cb() 361 if(kb->event_cb != lv_kb_def_event_cb) { in lv_kb_def_event_cb()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | avdtp.c | 41 static struct bt_avdtp_event_cb *event_cb; variable 236 result = event_cb->accept(conn, &session); in bt_avdtp_l2cap_accept() 251 if (event_cb) { in bt_avdtp_register() 255 event_cb = cb; in bt_avdtp_register()
|
/AliOS-Things-master/components/linkkit/dev_model/deprecated/ |
A D | linkkit_gateway_export.h | 77 int (*event_cb)(linkkit_event_t *ev, void *ctx); member 115 int (*event_cb)(linkkit_event_t *ev,
|
A D | impl_gateway.c | 500 int (*event_cb)(linkkit_event_t *ev, in linkkit_gateway_set_event_callback() 507 if (params == NULL || event_cb == NULL) { in linkkit_gateway_set_event_callback() 511 linkkit_gateway_ctx->init_params.event_cb = event_cb; in linkkit_gateway_set_event_callback() 566 if (linkkit_gateway_ctx->init_params.event_cb) { in _linkkit_gateway_event_callback() 571 linkkit_gateway_ctx->init_params.event_cb( in _linkkit_gateway_event_callback() 578 if (linkkit_gateway_ctx->init_params.event_cb) { in _linkkit_gateway_event_callback() 583 linkkit_gateway_ctx->init_params.event_cb( in _linkkit_gateway_event_callback() 951 if (linkkit_gateway_ctx->init_params.event_cb) { in _linkkit_gateway_event_callback() 959 linkkit_gateway_ctx->init_params.event_cb( in _linkkit_gateway_event_callback()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/ |
A D | mesh_model.c | 274 int ble_mesh_model_set_cb(model_event_cb event_cb) in ble_mesh_model_set_cb() argument 276 if (!g_mesh_model.init_flag || !event_cb) { in ble_mesh_model_set_cb() 280 g_mesh_model.user_model_event_cb = event_cb; in ble_mesh_model_set_cb()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/port/ |
A D | mesh_event_port.h | 68 int bt_mesh_event_register(mesh_model_evt_cb event_cb);
|
/AliOS-Things-master/components/littlevgl/src/lv_core/ |
A D | lv_obj.c | 186 new_obj->event_cb = NULL; in lv_obj_create() 259 new_obj->event_cb = NULL; in lv_obj_create() 324 new_obj->event_cb = copy->event_cb; in lv_obj_create() 1320 void lv_obj_set_event_cb(lv_obj_t * obj, lv_event_cb_t event_cb) in lv_obj_set_event_cb() argument 1322 obj->event_cb = event_cb; in lv_obj_set_event_cb() 1337 res = lv_event_send_func(obj->event_cb, obj, event, data); in lv_event_send() 2009 return obj->event_cb;
|
A D | lv_obj.h | 191 lv_event_cb_t event_cb; /**< Event callback function */ member 550 void lv_obj_set_event_cb(lv_obj_t * obj, lv_event_cb_t event_cb);
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/include/mesh_model/ |
A D | mesh_model.h | 195 int ble_mesh_model_set_cb(model_event_cb event_cb);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto/ |
A D | tls.h | 84 void (*event_cb)(void *ctx, enum tls_event ev, member
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/aos/ |
A D | mesh.c | 45 if (ble_mesh_dev.init.event_cb) { in ble_stack_event_callback() 46 ble_mesh_dev.init.event_cb(event, event_data); in ble_stack_event_callback()
|
/AliOS-Things-master/solutions/genie_mesh_demo/light_ctl/ |
A D | light.c | 505 context.event_cb = light_ctl_event_handler; in application_start()
|