Home
last modified time | relevance | path

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

12345

/hal_espressif-3.4.0/components/esp_eth/src/
Desp_eth_netif_glue.c124 …oid eth_action_start(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) in eth_action_start() argument
126 esp_eth_handle_t eth_handle = *(esp_eth_handle_t *)event_data; in eth_action_start()
128 …tart: %p, %p, %d, %p, %p", netif_glue, base, event_id, event_data, *(esp_eth_handle_t *)event_data in eth_action_start()
130 esp_netif_action_start(netif_glue->base.netif, base, event_id, event_data); in eth_action_start()
134 …void eth_action_stop(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) in eth_action_stop() argument
136 esp_eth_handle_t eth_handle = *(esp_eth_handle_t *)event_data; in eth_action_stop()
138 …stop: %p, %p, %d, %p, %p", netif_glue, base, event_id, event_data, *(esp_eth_handle_t *)event_data in eth_action_stop()
140 esp_netif_action_stop(netif_glue->base.netif, base, event_id, event_data); in eth_action_stop()
144 …eth_action_connected(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data) in eth_action_connected() argument
146 esp_eth_handle_t eth_handle = *(esp_eth_handle_t *)event_data; in eth_action_connected()
[all …]
/hal_espressif-3.4.0/examples/mesh/internal_communication/main/
Dmesh_main.c180 int32_t event_id, void *event_data) in mesh_event_handler() argument
200 mesh_event_child_connected_t *child_connected = (mesh_event_child_connected_t *)event_data; in mesh_event_handler()
207 …esh_event_child_disconnected_t *child_disconnected = (mesh_event_child_disconnected_t *)event_data; in mesh_event_handler()
214 …mesh_event_routing_table_change_t *routing_table = (mesh_event_routing_table_change_t *)event_data; in mesh_event_handler()
221 …mesh_event_routing_table_change_t *routing_table = (mesh_event_routing_table_change_t *)event_data; in mesh_event_handler()
228 mesh_event_no_parent_found_t *no_parent = (mesh_event_no_parent_found_t *)event_data; in mesh_event_handler()
235 mesh_event_connected_t *connected = (mesh_event_connected_t *)event_data; in mesh_event_handler()
255 mesh_event_disconnected_t *disconnected = (mesh_event_disconnected_t *)event_data; in mesh_event_handler()
265 mesh_event_layer_change_t *layer_change = (mesh_event_layer_change_t *)event_data; in mesh_event_handler()
276 mesh_event_root_address_t *root_addr = (mesh_event_root_address_t *)event_data; in mesh_event_handler()
[all …]
/hal_espressif-3.4.0/examples/mesh/ip_internal_network/main/
Dmesh_main.c190 int32_t event_id, void *event_data) in mesh_event_handler() argument
208 mesh_event_child_connected_t *child_connected = (mesh_event_child_connected_t *)event_data; in mesh_event_handler()
215 …esh_event_child_disconnected_t *child_disconnected = (mesh_event_child_disconnected_t *)event_data; in mesh_event_handler()
222 …mesh_event_routing_table_change_t *routing_table = (mesh_event_routing_table_change_t *)event_data; in mesh_event_handler()
229 …mesh_event_routing_table_change_t *routing_table = (mesh_event_routing_table_change_t *)event_data; in mesh_event_handler()
236 mesh_event_no_parent_found_t *no_parent = (mesh_event_no_parent_found_t *)event_data; in mesh_event_handler()
243 mesh_event_connected_t *connected = (mesh_event_connected_t *)event_data; in mesh_event_handler()
257 mesh_event_disconnected_t *disconnected = (mesh_event_disconnected_t *)event_data; in mesh_event_handler()
266 mesh_event_layer_change_t *layer_change = (mesh_event_layer_change_t *)event_data; in mesh_event_handler()
276 mesh_event_root_address_t *root_addr = (mesh_event_root_address_t *)event_data; in mesh_event_handler()
[all …]
/hal_espressif-3.4.0/examples/mesh/manual_networking/main/
Dmesh_main.c144 int32_t event_id, void *event_data) in mesh_event_handler() argument
169 mesh_event_child_connected_t *child_connected = (mesh_event_child_connected_t *)event_data; in mesh_event_handler()
176 …esh_event_child_disconnected_t *child_disconnected = (mesh_event_child_disconnected_t *)event_data; in mesh_event_handler()
183 …mesh_event_routing_table_change_t *routing_table = (mesh_event_routing_table_change_t *)event_data; in mesh_event_handler()
190 …mesh_event_routing_table_change_t *routing_table = (mesh_event_routing_table_change_t *)event_data; in mesh_event_handler()
197 mesh_event_no_parent_found_t *no_parent = (mesh_event_no_parent_found_t *)event_data; in mesh_event_handler()
204 mesh_event_connected_t *connected = (mesh_event_connected_t *)event_data; in mesh_event_handler()
222 mesh_event_disconnected_t *disconnected = (mesh_event_disconnected_t *)event_data; in mesh_event_handler()
237 mesh_event_layer_change_t *layer_change = (mesh_event_layer_change_t *)event_data; in mesh_event_handler()
248 mesh_event_root_address_t *root_addr = (mesh_event_root_address_t *)event_data; in mesh_event_handler()
[all …]
/hal_espressif-3.4.0/examples/system/esp_event/default_event_loop/main/
Dmain.c58 …void timer_started_handler(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in timer_started_handler() argument
65 …id timer_started_handler_2(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in timer_started_handler_2() argument
73 … void timer_expiry_handler(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in timer_expiry_handler() argument
93 …tic void timer_any_handler(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in timer_any_handler() argument
100 …void timer_stopped_handler(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in timer_stopped_handler() argument
113 …oid task_iteration_handler(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in task_iteration_handler() argument
115 int iteration = *((int*) event_data); in task_iteration_handler()
146 …tic void all_event_handler(void* handler_args, esp_event_base_t base, int32_t id, void* event_data) in all_event_handler() argument
/hal_espressif-3.4.0/examples/system/sysview_tracing/main/
Dsysview_tracing.c161 static example_event_data_t event_data[portNUM_PROCESSORS] = { in app_main() local
197 …xTaskCreatePinnedToCore(example_task, "svtrace0", 2048, &event_data[0], 3, &event_data[0].thnd, 0); in app_main()
198 ESP_LOGI(TAG, "Created task %p", event_data[0].thnd); in app_main()
200 …xTaskCreatePinnedToCore(example_task, "svtrace1", 2048, &event_data[1], 3, &event_data[1].thnd, 1); in app_main()
201 ESP_LOGI(TAG, "Created task %p", event_data[1].thnd); in app_main()
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/include/
Desp_event_cxx.hpp166 void *event_data);
176 virtual void dispatch_event_handling(ESPEvent event, void *event_data);
242 void dispatch_event_handling(ESPEvent event, void *event_data) override;
313 T &event_data,
450 T &event_data, in post_event_data() argument
455 &event_data, in post_event_data()
456 sizeof(event_data), in post_event_data()
Desp_event_api.hpp33 void* event_data,
66 void* event_data,
105 void* event_data,
/hal_espressif-3.4.0/examples/wifi/wps/main/
Dwps.c56 int32_t event_id, void* event_data) in wifi_event_handler() argument
88 (wifi_event_sta_wps_er_success_t *)event_data; in wifi_event_handler()
128 wifi_event_sta_wps_er_pin_t* event = (wifi_event_sta_wps_er_pin_t*) event_data; in wifi_event_handler()
137 int32_t event_id, void* event_data) in got_ip_event_handler() argument
139 ip_event_got_ip_t* event = (ip_event_got_ip_t*) event_data; in got_ip_event_handler()
/hal_espressif-3.4.0/examples/cxx/experimental/esp_modem_cxx/main/
Dsimple_mqtt_client.cpp83 std::string MqttClient::get_topic(void * event_data) in get_topic() argument
85 auto event = (esp_mqtt_event_handle_t)event_data; in get_topic()
92 std::string MqttClient::get_data(void * event_data) in get_data() argument
94 auto event = (esp_mqtt_event_handle_t)event_data; in get_data()
/hal_espressif-3.4.0/examples/cxx/experimental/experimental_cpp_component/
Desp_event_api.cpp46 void* event_data, in post() argument
52 event_data, in post()
94 void* event_data, in post() argument
101 event_data, in post()
Desp_event_cxx.cpp47 void ESPEventReg::dispatch_event_handling(ESPEvent event, void *event_data) in dispatch_event_handling() argument
49 cb(event, event_data); in dispatch_event_handling()
55 void *event_data) in event_handler_hook() argument
58 object->dispatch_event_handling(ESPEvent(event_base, ESPEventID(event_id)), event_data); in event_handler_hook()
100 void ESPEventRegTimed::dispatch_event_handling(ESPEvent event, void *event_data) in dispatch_event_handling() argument
104 cb(event, event_data); in dispatch_event_handling()
/hal_espressif-3.4.0/components/esp_event/
Ddefault_event_loop.c77 void* event_data, size_t event_data_size, TickType_t ticks_to_wait) in esp_event_post() argument
84 event_data, event_data_size, ticks_to_wait); in esp_event_post()
90 void* event_data, size_t event_data_size, BaseType_t* task_unblocked) in esp_event_isr_post() argument
97 event_data, event_data_size, task_unblocked); in esp_event_isr_post()
Devent_send.c171 void* event_data, in esp_event_send_internal() argument
178 … esp_err_t err = esp_event_post(event_base, event_id, event_data, event_data_size, ticks_to_wait); in esp_event_send_internal()
185 if (event_data) { in esp_event_send_internal()
186 memcpy(&event.event_info, event_data, event_data_size); in esp_event_send_internal()
/hal_espressif-3.4.0/components/wifi_provisioning/include/wifi_provisioning/
Dscheme_ble.h53 …_prov_scheme_ble_event_cb_free_btdm(void *user_data, wifi_prov_cb_event_t event, void *event_data);
54 …_prov_scheme_ble_event_cb_free_ble (void *user_data, wifi_prov_cb_event_t event, void *event_data);
55 …_prov_scheme_ble_event_cb_free_bt (void *user_data, wifi_prov_cb_event_t event, void *event_data);
/hal_espressif-3.4.0/components/esp_event/include/
Desp_event.h384 void *event_data,
413 void *event_data,
442 void *event_data,
472 void *event_data,
/hal_espressif-3.4.0/examples/protocols/pppos_client/main/
Dpppos_client_main.c112 …t_handler(void *event_handler_arg, esp_event_base_t event_base, int32_t event_id, void *event_data) in modem_event_handler() argument
123 ESP_LOGW(TAG, "Unknown line received: %s", (char *)event_data); in modem_event_handler()
171 int32_t event_id, void *event_data) in on_ppp_changed() argument
176 esp_netif_t *netif = *(esp_netif_t**)event_data; in on_ppp_changed()
183 int32_t event_id, void *event_data) in on_ip_event() argument
189 ip_event_got_ip_t *event = (ip_event_got_ip_t *)event_data; in on_ip_event()
210 ip_event_got_ip6_t *event = (ip_event_got_ip6_t *)event_data; in on_ip_event()
/hal_espressif-3.4.0/examples/peripherals/uart/nmea0183_parser/main/
Dnmea_parser_example_main.c30 …t_handler(void *event_handler_arg, esp_event_base_t event_base, int32_t event_id, void *event_data) in gps_event_handler() argument
35 gps = (gps_t *)event_data; in gps_event_handler()
48 ESP_LOGW(TAG, "Unknown statement:%s", (char *)event_data); in gps_event_handler()
/hal_espressif-3.4.0/tools/test_apps/protocols/pppos/main/
Dpppos_client_main.c35 …t_handler(void *event_handler_arg, esp_event_base_t event_base, int32_t event_id, void *event_data) in modem_event_handler() argument
46 ESP_LOGW(TAG, "Unknow line received: %s", (char *)event_data); in modem_event_handler()
54 int32_t event_id, void *event_data) in on_ppp_changed() argument
64 int32_t event_id, void *event_data) in on_ip_event() argument
69 ip_event_got_ip_t *event = (ip_event_got_ip_t *)event_data; in on_ip_event()
82 ip_event_got_ip6_t *event = (ip_event_got_ip6_t *)event_data; in on_ip_event()
/hal_espressif-3.4.0/examples/ethernet/enc28j60/main/
Denc28j60_example_main.c26 int32_t event_id, void *event_data) in eth_event_handler() argument
30 esp_eth_handle_t eth_handle = *(esp_eth_handle_t *)event_data; in eth_event_handler()
55 int32_t event_id, void *event_data) in got_ip_event_handler() argument
57 ip_event_got_ip_t *event = (ip_event_got_ip_t *) event_data; in got_ip_event_handler()
/hal_espressif-3.4.0/examples/wifi/getting_started/softAP/main/
Dsoftap_example_main.c34 int32_t event_id, void* event_data) in wifi_event_handler() argument
37 wifi_event_ap_staconnected_t* event = (wifi_event_ap_staconnected_t*) event_data; in wifi_event_handler()
41 wifi_event_ap_stadisconnected_t* event = (wifi_event_ap_stadisconnected_t*) event_data; in wifi_event_handler()
/hal_espressif-3.4.0/examples/provisioning/wifi_prov_mgr/main/
Dapp_main.c46 int32_t event_id, void* event_data) in event_handler() argument
57 wifi_sta_config_t *wifi_sta_cfg = (wifi_sta_config_t *)event_data; in event_handler()
65 wifi_prov_sta_fail_reason_t *reason = (wifi_prov_sta_fail_reason_t *)event_data; in event_handler()
96 ip_event_got_ip_t* event = (ip_event_got_ip_t*) event_data; in event_handler()
/hal_espressif-3.4.0/components/esp_event/test/
Dtest_default_loop.c55 …e_handler(void* event_handler_arg, esp_event_base_t event_base, int32_t event_id, void* event_data) in test_event_simple_handler() argument
65 if (event_data == NULL) { in test_event_simple_handler()
68 (*count) += *((int*) event_data); in test_event_simple_handler()
/hal_espressif-3.4.0/examples/common_components/protocol_examples_common/
Dconnect.c166 int32_t event_id, void *event_data) in on_got_ip() argument
168 ip_event_got_ip_t *event = (ip_event_got_ip_t *)event_data; in on_got_ip()
182 int32_t event_id, void *event_data) in on_got_ipv6() argument
184 ip_event_got_ip6_t *event = (ip_event_got_ip6_t *)event_data; in on_got_ipv6()
252 int32_t event_id, void *event_data) in on_wifi_disconnect() argument
265 int32_t event_id, void *event_data) in on_wifi_connect() argument
341 int32_t event_id, void *event_data) in on_eth_event() argument
/hal_espressif-3.4.0/components/esp_wifi/src/
Dmesh_event.c20 esp_err_t esp_mesh_send_event_internal(int32_t event_id, void* event_data, size_t event_data_size) in esp_mesh_send_event_internal() argument
22 return esp_event_post(MESH_EVENT, event_id, event_data, event_data_size, 0); in esp_mesh_send_event_internal()

12345