Home
last modified time | relevance | path

Searched defs:event (Results 1 – 25 of 153) sorted by relevance

1234567

/btstack/src/
H A Dbtstack_event.h67 static inline uint8_t hci_event_packet_get_type(const uint8_t * event){ in hci_event_packet_get_type()
78 static inline uint8_t hci_event_a2dp_meta_get_subevent_code(const uint8_t * event){ in hci_event_a2dp_meta_get_subevent_code()
86 static inline uint8_t hci_event_ancs_meta_get_subevent_code(const uint8_t * event){ in hci_event_ancs_meta_get_subevent_code()
94 static inline uint8_t hci_event_avdtp_meta_get_subevent_code(const uint8_t * event){ in hci_event_avdtp_meta_get_subevent_code()
102 static inline uint8_t hci_event_avrcp_meta_get_subevent_code(const uint8_t * event){ in hci_event_avrcp_meta_get_subevent_code()
110 static inline uint8_t hci_event_gap_meta_get_subevent_code(const uint8_t * event){ in hci_event_gap_meta_get_subevent_code()
118 static inline uint8_t hci_event_gattservice_meta_get_subevent_code(const uint8_t * event){ in hci_event_gattservice_meta_get_subevent_code()
126 static inline uint8_t hci_event_goep_meta_get_subevent_code(const uint8_t * event){ in hci_event_goep_meta_get_subevent_code()
134 static inline uint8_t hci_event_hfp_meta_get_subevent_code(const uint8_t * event){ in hci_event_hfp_meta_get_subevent_code()
142 static inline uint8_t hci_event_hid_meta_get_subevent_code(const uint8_t * event){ in hci_event_hid_meta_get_subevent_code()
[all …]
H A Dhci.c522 uint8_t event[12]; in hci_pairing_started() local
544 uint8_t event[11]; in hci_pairing_complete() local
1556 uint8_t event[12 + LE_ADVERTISING_DATA_SIZE]; // use upper bound to avoid var size automatic var in le_handle_advertisement_report() local
1584 uint8_t event[2 + 255]; // use upper bound to avoid var size automatic var in le_handle_extended_advertisement_report() local
2854 uint8_t event[5]; in handle_command_complete_event() local
2905 …uint8_t event[] = { HCI_EVENT_META_GAP, 4, GAP_SUBEVENT_ADVERTISING_SET_INSTALLED, hci_stack->le_a… in handle_command_complete_event() local
2917 …uint8_t event[] = { HCI_EVENT_META_GAP, 3, GAP_SUBEVENT_ADVERTISING_SET_REMOVED, hci_stack->le_adv… in handle_command_complete_event() local
2950 uint8_t event[] = { GAP_EVENT_INQUIRY_COMPLETE, 1, 0}; in handle_command_complete_event() local
3024 uint8_t event[67]; in handle_command_complete_event() local
3778 uint8_t event[] = { GAP_EVENT_INQUIRY_COMPLETE, 1, 0}; in event_handler() local
[all …]
H A Dhci_event.c76 …te_and_arglist(uint8_t *hci_event_buffer, uint16_t buffer_size, const hci_event_t *event, va_list … in hci_event_create_from_template_and_arglist()
164 …m_template_and_arguments(uint8_t *hci_buffer, uint16_t buffer_size, const hci_event_t *event, ...){ in hci_event_create_from_template_and_arguments()
/btstack/port/mtk/LEScan/src/com/bluekitchen/lescan/
H A DMainActivity.java126 BTstackEventState event = (BTstackEventState) packet; in testCharacteristics() local
150 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in testCharacteristics() local
160 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in testCharacteristics() local
177 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in testCharacteristics() local
227 BTstackEventState event = (BTstackEventState) packet; in testAccelerometer() local
256 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in testAccelerometer() local
271 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in testAccelerometer() local
291 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in testAccelerometer() local
317 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in testAccelerometer() local
357 HCIEventDisconnectionComplete event = (HCIEventDisconnectionComplete) packet; in testConnectDisconnect() local
[all …]
/btstack/platform/daemon/binding/java/example/com/bluekitchen/
H A DGATTClientTest.java70 GATTEventQueryComplete event = (GATTEventQueryComplete) packet; in handlePacket() local
83 BTstackEventState event = (BTstackEventState) packet; in handlePacket() local
105 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in handlePacket() local
123 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in handlePacket() local
144 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in handlePacket() local
191 HCIEventDisconnectionComplete event = (HCIEventDisconnectionComplete) packet; in handlePacketAcc() local
200 BTstackEventState event = (BTstackEventState) packet; in handlePacketAcc() local
226 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in handlePacketAcc() local
236 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in handlePacketAcc() local
253 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in handlePacketAcc() local
[all …]
H A DLEStreamerClient.java49 SMEventJustWorksRequest event = (SMEventJustWorksRequest) packet; in handlePacket() local
65 BTstackEventState event = (BTstackEventState) packet; in handlePacket() local
91 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in handlePacket() local
109 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in handlePacket() local
130 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in handlePacket() local
156 GATTEventNotification event = (GATTEventNotification) packet; in handlePacket() local
H A DSPPStreamerClient.java105 final HCIEventDisconnectionComplete event = (HCIEventDisconnectionComplete) packet; in handlePacket() local
114 final BTstackEventState event = (BTstackEventState) packet; in handlePacket() local
125 final GAPEventInquiryResult event = ((GAPEventInquiryResult) packet); in handlePacket() local
/btstack/platform/daemon/binding/java/android/com/bluekitchen/lescan/
H A DMainActivity.java101 BTstackEventState event = (BTstackEventState) packet; in testCharacteristics() local
126 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in testCharacteristics() local
136 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in testCharacteristics() local
153 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in testCharacteristics() local
194 BTstackEventState event = (BTstackEventState) packet; in testAccelerometer() local
221 HCIEventLEConnectionComplete event = (HCIEventLEConnectionComplete) packet; in testAccelerometer() local
235 GATTEventServiceQueryResult event = (GATTEventServiceQueryResult) packet; in testAccelerometer() local
255 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in testAccelerometer() local
281 GATTEventCharacteristicQueryResult event = (GATTEventCharacteristicQueryResult) packet; in testAccelerometer() local
341 HCIEventDisconnectionComplete event = (HCIEventDisconnectionComplete) packet; in testConnectDisconnect() local
[all …]
/btstack/src/classic/
H A Davdtp_util.c544 uint8_t event[14]; in avdtp_signaling_emit_connection_established() local
560 uint8_t event[5]; in avdtp_signaling_emit_connection_released() local
571 uint8_t event[9]; in avdtp_signaling_emit_sep() local
586 uint8_t event[5]; in avdtp_signaling_emit_sep_done() local
597 uint8_t event[8]; in avdtp_signaling_emit_accept() local
611 uint8_t event[8]; in avdtp_signaling_emit_accept_for_stream_endpoint() local
627 uint8_t event[8]; in avdtp_signaling_emit_reject() local
641 uint8_t event[8]; in avdtp_signaling_emit_general_reject() local
656 uint8_t event[6]; in avdtp_signaling_emit_capability() local
669 uint8_t event[14]; in avdtp_signaling_emit_media_codec_sbc_capability() local
[all …]
H A Davrcp_controller.c144 uint8_t event[8]; in avrcp_controller_emit_notification_complete() local
166 uint8_t event[8]; in avrcp_controller_emit_supported_events() local
180 uint8_t event[7]; in avrcp_controller_emit_supported_events() local
201 uint8_t event[10]; in avrcp_controller_emit_notification_for_event_id() local
216 uint8_t event[7]; in avrcp_controller_emit_notification_for_event_id() local
229 uint8_t event[6]; in avrcp_controller_emit_notification_for_event_id() local
241 uint8_t event[6]; in avrcp_controller_emit_notification_for_event_id() local
253 uint8_t event[6]; in avrcp_controller_emit_notification_for_event_id() local
266 uint8_t event[7]; in avrcp_controller_emit_notification_for_event_id() local
279 uint8_t event[8]; in avrcp_controller_emit_notification_for_event_id() local
[all …]
H A Drfcomm.h478 static inline uint16_t rfcomm_event_port_configuration_get_rfcomm_cid(const uint8_t * event){ in rfcomm_event_port_configuration_get_rfcomm_cid()
487 static inline bool rfcomm_event_port_configuration_get_remote(const uint8_t * event){ in rfcomm_event_port_configuration_get_remote()
497 static inline rpn_baud_t rfcomm_event_port_configuration_get_baud_rate(const uint8_t * event){ in rfcomm_event_port_configuration_get_baud_rate()
507 static inline rpn_data_bits_t rfcomm_event_port_configuration_get_data_bits(const uint8_t * event){ in rfcomm_event_port_configuration_get_data_bits()
515 static inline rpn_stop_bits_t rfcomm_event_port_configuration_get_stop_bits(const uint8_t * event){ in rfcomm_event_port_configuration_get_stop_bits()
524 static inline rpn_parity_t rfcomm_event_port_configuration_get_parity(const uint8_t * event){ in rfcomm_event_port_configuration_get_parity()
534 static inline uint8_t rfcomm_event_port_configuration_get_flow_control(const uint8_t * event){ in rfcomm_event_port_configuration_get_flow_control()
543 static inline uint8_t rfcomm_event_port_configuration_get_xon(const uint8_t * event){ in rfcomm_event_port_configuration_get_xon()
552 static inline uint8_t rfcomm_event_port_configuration_get_xoff(const uint8_t * event){ in rfcomm_event_port_configuration_get_xoff()
H A Dhsp_hs.c145 uint8_t event[5]; in emit_event() local
155 uint8_t event[6]; in emit_event_with_value() local
166 uint8_t event[12]; in emit_event_rfcomm_connected() local
178 uint8_t event[8]; in emit_event_audio_connected() local
190 uint8_t event[7]; in emit_event_audio_disconnected() local
555 uint8_t * event = packet - 6; in packet_handler() local
569 uint8_t event = hci_event_packet_get_type(packet); in packet_handler() local
H A Dhsp_ag.c147 uint8_t event[5]; in emit_event() local
157 uint8_t event[6]; in emit_event_with_value() local
168 uint8_t event[12]; in emit_event_rfcomm_connected() local
180 uint8_t event[8]; in emit_event_audio_connected() local
192 uint8_t event[7]; in emit_event_audio_disconnected() local
588 uint8_t * event = packet - 6; in packet_handler() local
602 uint8_t event = hci_event_packet_get_type(packet); in packet_handler() local
H A Dhid_host.c189 uint8_t event[15]; in hid_emit_connected_event() local
207 uint8_t event[6]; in hid_emit_descriptor_available_event() local
220 uint8_t event[9]; in hid_emit_sniff_params_event() local
237 uint8_t event[5]; in hid_emit_event() local
249 uint8_t event[6]; in hid_emit_event_with_status() local
262 uint8_t event[7]; in hid_emit_set_protocol_response_event() local
276 uint8_t event[13]; in hid_emit_incoming_connection_event() local
320 uint8_t event[7]; in hid_emit_get_protocol_event() local
812 uint8_t event[8]; in hid_host_handle_control_packet() local
869 uint8_t event; in hid_host_packet_handler() local
H A Davrcp_browsing_target.c95 uint8_t event[18]; in avrcp_browsing_target_emit_get_folder_items() local
115 uint8_t event[11 + AVRCP_SEARCH_STRING_MAX_LENGTH]; in avrcp_browsing_target_emit_search() local
140 uint8_t event[10]; in avrcp_browsing_target_emit_get_total_num_items() local
154 uint8_t event[10]; in avrcp_browsing_target_emit_set_browsed_player() local
169 uint8_t event[19]; in avrcp_browsing_target_emit_change_path() local
188 uint8_t event[19 + 4 * AVRCP_MEDIA_ATTR_NUM]; in avrcp_browsing_target_emit_get_item_attributes() local
H A Drfcomm.c247 uint8_t event[13]; in rfcomm_emit_connection_request() local
266 uint8_t event[18]; in rfcomm_emit_channel_opened() local
290 uint8_t event[4]; in rfcomm_emit_channel_closed() local
300 uint8_t event[5]; in rfcomm_emit_remote_line_status() local
311 uint8_t event[2+2+1+sizeof(rfcomm_rpn_data_t)]; in rfcomm_emit_port_configuration() local
328 uint8_t event[4]; in rfcomm_emit_can_send_now() local
908 const rfcomm_channel_event_t event = { CH_EVT_MULTIPLEXER_READY, 0}; in rfcomm_multiplexer_opened() local
956 const rfcomm_channel_event_t event = { CH_EVT_READY_TO_SEND, 0 }; in rfcomm_handle_can_send_now() local
1286 …comm_multiplexer_state_machine(rfcomm_multiplexer_t * multiplexer, RFCOMM_MULTIPLEXER_EVENT event){ in rfcomm_multiplexer_state_machine()
1442 static void rfcomm_channel_accept_pn(rfcomm_channel_t *channel, rfcomm_channel_event_pn_t *event){ in rfcomm_channel_accept_pn()
[all …]
H A Dhfp.c380 uint8_t event[5]; in hfp_emit_simple_event() local
390 uint8_t event[6]; in hfp_emit_event() local
402 uint8_t event[7]; in hfp_emit_voice_recognition_enabled() local
416 uint8_t event[6]; in hfp_emit_voice_recognition_disabled() local
429 uint8_t event[6]; in hfp_emit_enhanced_voice_recognition_hf_ready_for_audio_event() local
441 uint8_t event[6]; in hfp_emit_enhanced_voice_recognition_state_event() local
465 uint8_t event[12]; in hfp_emit_slc_connection_event() local
480 uint8_t event[7]; in hfp_emit_audio_connection_released() local
495 uint8_t event[21]; in hfp_emit_sco_connection_established() local
520 uint8_t event[256]; in hfp_emit_string_event() local
[all …]
H A Dbnep.c113 uint8_t event[3 + sizeof(bd_addr_t) + 4 * sizeof(uint16_t) + 3]; in bnep_emit_open_channel_complete() local
133 uint8_t event[2 + sizeof(bd_addr_t) + 3 * sizeof(uint16_t) + sizeof(uint8_t)]; in bnep_emit_channel_timeout() local
150 uint8_t event[2 + sizeof(bd_addr_t) + 3 * sizeof(uint16_t)]; in bnep_emit_channel_closed() local
165 uint8_t event[4]; in bnep_emit_ready_to_send() local
713 inline static void bnep_channel_state_add(bnep_channel_t *channel, BNEP_CHANNEL_STATE_VAR event){ in bnep_channel_state_add()
716 inline static void bnep_channel_state_remove(bnep_channel_t *channel, BNEP_CHANNEL_STATE_VAR event){ in bnep_channel_state_remove()
1517 static void bnep_channel_state_machine(bnep_channel_t* channel, bnep_channel_event_t *event) in bnep_channel_state_machine()
/btstack/src/mesh/
H A Dmesh_configuration_client.c81 uint16_t mesh_subevent_configuration_composition_data_get_num_elements(const uint8_t * event, uint1… in mesh_subevent_configuration_composition_data_get_num_elements()
916 uint8_t * event = &data[-6]; in mesh_configuration_client_composition_data_status_handler() local
932 uint8_t mesh_subevent_configuration_composition_data_get_page(const uint8_t * event){ in mesh_subevent_configuration_composition_data_get_page()
936 uint16_t mesh_subevent_configuration_composition_data_get_cid(const uint8_t * event){ in mesh_subevent_configuration_composition_data_get_cid()
940 uint16_t mesh_subevent_configuration_composition_data_get_pid(const uint8_t * event){ in mesh_subevent_configuration_composition_data_get_pid()
944 uint16_t mesh_subevent_configuration_composition_data_get_vid(const uint8_t * event){ in mesh_subevent_configuration_composition_data_get_vid()
948 uint16_t mesh_subevent_configuration_composition_data_get_crpl(const uint8_t * event){ in mesh_subevent_configuration_composition_data_get_crpl()
952 uint16_t mesh_subevent_configuration_composition_data_get_features(const uint8_t * event){ in mesh_subevent_configuration_composition_data_get_features()
963 uint8_t event[7]; in mesh_configuration_client_handle_uint8_value() local
998 uint8_t event[9]; in mesh_configuration_client_relay_handler() local
[all …]
/btstack/test/hfp/
H A Dmock.c171 uint8_t event[] = { RFCOMM_EVENT_CAN_SEND_NOW, 2, 0, 0}; in rfcomm_request_can_send_now_event() local
193 uint8_t event[19]; in hci_event_sco_complete() local
226 uint8_t event[3]; in sdp_query_complete_response() local
235 uint8_t event[3+SDP_SERVICE_NAME_LEN+1]; in sdp_client_query_rfcomm_service_response() local
264 uint8_t event[16]; in rfcomm_create_channel() local
293 uint8_t event[4]; in rfcomm_disconnect() local
338 uint8_t event[6]; in hci_emit_disconnection_complete() local
/btstack/platform/daemon/src/
H A Ddaemon.c679 uint8_t event[6]; in hci_emit_btstack_version() local
690 uint8_t event[3]; in hci_emit_system_bluetooth_enabled() local
700 uint8_t event[23]; in send_l2cap_connection_open_failed() local
718 uint8_t event[5]; in l2cap_emit_service_registered() local
728 uint8_t event[4]; in rfcomm_emit_service_registered() local
739 uint8_t event[16]; in send_rfcomm_create_channel_failed() local
756 uint8_t event[7]; in sdp_emit_service_registered() local
785 uint8_t event[5]; in send_gatt_query_complete() local
795 uint8_t event[6]; in send_gatt_mtu_event() local
843 void daemon_gatt_serialize_service(gatt_client_service_t * service, uint8_t * event, int offset){ in daemon_gatt_serialize_service()
[all …]
/btstack/src/ble/gatt-service/
H A Ddevice_information_service_client.c224 uint8_t event[6]; in device_information_service_emit_query_done_and_finalize_client() local
236 uint8_t event[6 + DEVICE_INFORMATION_MAX_STRING_LEN + 1]; in device_information_service_emit_string_value() local
258 uint8_t event[14]; in device_information_service_emit_system_id() local
275 uint8_t event[10]; in device_information_service_emit_certification_data_list() local
292 uint8_t event[13]; in device_information_service_emit_pnp_id() local
311 uint8_t event[6 + 1 + 4 * DEVICE_INFORMATION_MAX_STRING_LEN]; in device_information_service_emit_udi_for_medical_devices() local
/btstack/port/stm32-f4discovery-usb/Drivers/CMSIS/RTOS2/Template/
H A Dcmsis_os1.c71 osEvent event; in osSignalWait() local
212 osEvent event; in osMessageGet() local
319 osEvent event; in osMailGet() local
/btstack/src/le-audio/gatt-service/
H A Dbroadcast_audio_scan_service_server.c175 uint8_t event[5]; in bass_server_source_emit_scan_stoped() local
188 uint8_t event[5]; in bass_server_source_emit_scan_started() local
202 uint8_t event[7]; in bass_server_source_emit_source_state_changed() local
229 uint8_t event[22]; in bass_server_source_emit_broadcast_code() local
/btstack/port/esp32/components/btstack/
H A Dbtstack_stdio_esp32.c102 uart_event_t event; in btstack_stdio_process() local
139 uart_event_t event; in btstack_stdio_task() local

1234567