Home
last modified time | relevance | path

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

/AliOS-Things-master/components/ble_mesh/bt_mesh/core/ref_impl/
A Dmesh_event_port.c25 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 Dcfg_cli.c59 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 Dcfg_srv.c580 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 Dprov.c636 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 Dnet.c771 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 Dfriend.c415 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 Dprovisioner_main.c215 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 Dtransport.c622 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 Dgenie_event.c254 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 Dpoll.c25 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 Dgenie_service.c20 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 Dgenie_service.h80 user_event_cb event_cb; member
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_sw.c273 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 Dlv_kb.c351 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 Davdtp.c41 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 Dlinkkit_gateway_export.h77 int (*event_cb)(linkkit_event_t *ev, void *ctx); member
115 int (*event_cb)(linkkit_event_t *ev,
A Dimpl_gateway.c500 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 Dmesh_model.c274 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 Dmesh_event_port.h68 int bt_mesh_event_register(mesh_model_evt_cb event_cb);
/AliOS-Things-master/components/littlevgl/src/lv_core/
A Dlv_obj.c186 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 Dlv_obj.h191 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 Dmesh_model.h195 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 Dtls.h84 void (*event_cb)(void *ctx, enum tls_event ev, member
/AliOS-Things-master/components/ble_mesh/bt_mesh/aos/
A Dmesh.c45 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 Dlight.c505 context.event_cb = light_ctl_event_handler; in application_start()

Completed in 79 milliseconds