/btstack/platform/daemon/binding/java/src/com/bluekitchen/btstack/ |
H A D | Util.java | 13 public static int readByte(byte[] buffer, int offset){ in readByte() 19 public static int readBt16(byte[] buffer, int offset){ in readBt16() 23 public static int readBt24(byte[] buffer, int offset){ in readBt24() 27 public static long readBt32(byte[] buffer, int offset){ in readBt32() 31 public static BD_ADDR readBdAddr(byte[] buffer, int offset){ in readBdAddr() 35 public static GATTService readGattService(byte[] buffer, int offset){ in readGattService() 39 public static GATTCharacteristic readGattCharacteristic(byte[] buffer, int offset){ in readGattCharacteristic() 43 …public static GATTCharacteristicDescriptor readGattCharacteristicDescriptor(byte[] buffer, int off… in readGattCharacteristicDescriptor() 47 public static int readExactly(InputStream in, byte[] buffer, int offset, int len){ in readExactly() 63 public static void storeByte(byte[] buffer, int offset, int value){ in storeByte() [all …]
|
/btstack/src/classic/ |
H A D | obex_message_builder.c | 77 static uint8_t obex_message_builder_packet_init(uint8_t * buffer, uint16_t buffer_len, uint8_t opco… in obex_message_builder_packet_init() 84 static uint8_t obex_message_builder_packet_append(uint8_t * buffer, uint16_t buffer_len, const uint… in obex_message_builder_packet_append() 100 uint16_t obex_message_builder_get_message_length(uint8_t * buffer){ in obex_message_builder_get_message_length() 104 uint8_t obex_message_builder_header_add_byte(uint8_t * buffer, uint16_t buffer_len, uint8_t header_… in obex_message_builder_header_add_byte() 111 uint8_t obex_message_builder_header_add_word(uint8_t * buffer, uint16_t buffer_len, uint8_t header_… in obex_message_builder_header_add_word() 118 uint8_t obex_message_builder_header_add_variable(uint8_t * buffer, uint16_t buffer_len, uint8_t hea… in obex_message_builder_header_add_variable() 129 uint8_t obex_message_builder_header_fillup_variable(uint8_t * buffer, uint16_t buffer_len, uint8_t … in obex_message_builder_header_fillup_variable() 146 static uint8_t obex_message_builder_header_add_connection_id(uint8_t * buffer, uint16_t buffer_len,… in obex_message_builder_header_add_connection_id() 152 static inline uint8_t obex_message_builder_create_connect(uint8_t * buffer, uint16_t buffer_len, ui… in obex_message_builder_create_connect() 164 uint8_t obex_message_builder_request_create_connect(uint8_t * buffer, uint16_t buffer_len, in obex_message_builder_request_create_connect() [all …]
|
H A D | goep_client.c | 650 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_request_create_connect() local 661 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_request_create_get() local 672 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_request_create_put() local 683 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_request_create_set_path() local 695 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_request_create_abort() local 706 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_request_create_disconnect() local 716 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_header_add_byte() local 726 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_header_add_word() local 736 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_header_add_variable() local 746 uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client); in goep_client_header_add_srm_enable() local [all …]
|
H A D | hfp_ag.c | 214 char buffer[40]; in hfp_ag_send_change_in_band_ring_tone_setting_cmd() local 221 char buffer[40]; in hfp_ag_exchange_supported_features_cmd() local 228 char buffer[10]; in hfp_ag_send_ok() local 242 char buffer[50]; in hfp_ag_send_clip() local 249 char buffer[50]; in hfp_send_subscriber_number_cmd() local 256 char buffer[50]; in hfp_ag_send_phone_number_for_voice_tag_cmd() local 263 char buffer[50]; in hfp_ag_send_call_waiting_notification() local 271 char buffer[10]; in hfp_ag_send_error() local 277 char buffer[20]; in hfp_ag_send_report_extended_audio_gateway_error() local 284 char buffer[50]; in hfp_ag_send_apple_information() local [all …]
|
H A D | goep_server.c | 597 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_response_create_connect() local 608 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_response_create_general() local 627 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_end_of_body() local 638 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_who() local 649 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_srm_enable() local 660 uint8_t* buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_srm_enable_wait() local 677 uint8_t* buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_name() local 693 uint8_t* buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_type() local 704 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_header_add_application_parameters() local 719 uint8_t * buffer = goep_server_get_outgoing_buffer(connection); in goep_server_execute() local
|
H A D | hfp_hf.c | 298 char buffer[20]; in hfp_hf_send_cmd() local 304 char buffer[20]; in hfp_hf_send_cmd_with_mark() local 310 char buffer[40]; in hfp_hf_send_cmd_with_int() local 316 char buffer[30]; in hfp_hf_cmd_notify_on_codecs() local 325 char buffer[50]; in hfp_hf_cmd_activate_status_update_for_ag_indicator() local 334 char buffer[30]; in hfp_hf_cmd_list_supported_generic_status_indicators() local 343 char buffer[20]; in hfp_hf_cmd_activate_status_update_for_all_ag_indicators() local 349 char buffer[40]; in hfp_hf_initiate_outgoing_call_cmd() local 355 char buffer[40]; in hfp_hf_send_memory_dial_cmd() local 361 char buffer[40]; in hfp_hf_send_chld() local [all …]
|
/btstack/src/ |
H A D | btstack_memory.c | 77 static void btstack_memory_tracking_add(btstack_memory_buffer_t * buffer){ in btstack_memory_tracking_add() 90 static void btstack_memory_tracking_remove(btstack_memory_buffer_t * buffer){ in btstack_memory_tracking_remove() 109 btstack_memory_buffer_t * buffer = btstack_memory_malloc_buffers; in btstack_memory_deinit() local 133 void * buffer = btstack_memory_pool_get(&hci_connection_pool); in btstack_memory_hci_connection_get() local 158 …btstack_memory_hci_connection_t * buffer = (btstack_memory_hci_connection_t *) malloc(sizeof(btsta… in btstack_memory_hci_connection_get() local 169 btstack_memory_buffer_t * buffer = &((btstack_memory_buffer_t *) hci_connection)[-1]; in btstack_memory_hci_connection_free() local 191 void * buffer = btstack_memory_pool_get(&l2cap_service_pool); in btstack_memory_l2cap_service_get() local 216 …btstack_memory_l2cap_service_t * buffer = (btstack_memory_l2cap_service_t *) malloc(sizeof(btstack… in btstack_memory_l2cap_service_get() local 227 btstack_memory_buffer_t * buffer = &((btstack_memory_buffer_t *) l2cap_service)[-1]; in btstack_memory_l2cap_service_free() local 248 void * buffer = btstack_memory_pool_get(&l2cap_channel_pool); in btstack_memory_l2cap_channel_get() local [all …]
|
H A D | btstack_util.c | 77 uint8_t little_endian_read_08(const uint8_t* buffer, int position) { in little_endian_read_08() 80 uint16_t little_endian_read_16(const uint8_t * buffer, int position){ in little_endian_read_16() 83 uint32_t little_endian_read_24(const uint8_t * buffer, int position){ in little_endian_read_24() 86 uint32_t little_endian_read_32(const uint8_t * buffer, int position){ in little_endian_read_32() 90 void little_endian_store_08(uint8_t* buffer, uint16_t position, uint8_t value) { in little_endian_store_08() 95 void little_endian_store_16(uint8_t * buffer, uint16_t position, uint16_t value){ in little_endian_store_16() 101 void little_endian_store_24(uint8_t * buffer, uint16_t position, uint32_t value){ in little_endian_store_24() 108 void little_endian_store_32(uint8_t * buffer, uint16_t position, uint32_t value){ in little_endian_store_32() 116 uint32_t big_endian_read_08(const uint8_t* buffer, int position) { in big_endian_read_08() 120 uint32_t big_endian_read_16(const uint8_t * buffer, int position) { in big_endian_read_16() [all …]
|
H A D | hci_dump.c | 134 void hci_dump_setup_header_packetlogger(uint8_t * buffer, uint32_t tv_sec, uint32_t tv_us, uint8_t … in hci_dump_setup_header_packetlogger() 164 void hci_dump_setup_header_bluez(uint8_t * buffer, uint32_t tv_sec, uint32_t tv_us, uint8_t packet_… in hci_dump_setup_header_bluez() 174 void hci_dump_setup_header_btsnoop(uint8_t * buffer, uint32_t ts_usec_high, uint32_t ts_usec_low, u… in hci_dump_setup_header_btsnoop()
|
/btstack/test/gatt_server/ |
H A D | gatt_server_test.cpp | 54 …n_handle_t connection_handle, uint16_t att_handle, uint16_t offset, uint8_t * buffer, uint16_t buf… in att_read_callback() 64 …le, uint16_t att_handle, uint16_t transaction_mode, uint16_t offset, uint8_t *buffer, uint16_t buf… in att_write_callback() 276 uint8_t buffer[] = {1, 0}; in TEST() local 293 uint8_t buffer[] = {1, 0}; in TEST() local 308 static uint8_t buffer[0]; in TEST() local 315 static uint8_t buffer[] = {0x55}; in TEST() local 322 static uint8_t buffer[] = {0x55}; in TEST() local 352 uint8_t buffer[20]; in TEST() local 369 uint8_t buffer[] = {1, 0}; in TEST() local 378 uint8_t buffer[] = {1, 0}; in TEST() local [all …]
|
/btstack/src/le-audio/ |
H A D | broadcast_audio_uri_builder.c | 46 static void broadcast_audio_uri_builder_string_hexdump(uint8_t * buffer, const uint8_t * data, uint… in broadcast_audio_uri_builder_string_hexdump() 59 void broadcast_audio_uri_builder_init(broadcast_audio_uri_builder_t * builder, uint8_t * buffer, ui… in broadcast_audio_uri_builder_init() 94 char buffer[10]; in broadcast_audio_uri_builder_append_advertiser_address_type() local 100 char buffer[10]; in broadcast_audio_uri_builder_append_standard_quality() local 106 char buffer[10]; in broadcast_audio_uri_builder_append_high_quality() local 115 char buffer[13]; in broadcast_audio_uri_builder_append_advertiser_address() local 129 uint8_t buffer[7]; in broadcast_audio_uri_builder_append_broadcast_id() local 147 uint8_t buffer[25]; in broadcast_audio_uri_builder_append_broadcast_code() local 179 char buffer[10]; in broadcast_audio_uri_builder_append_advertising_sid() local 185 char buffer[10]; in broadcast_audio_uri_builder_append_pa_interval() local [all …]
|
/btstack/3rd-party/lc3-google/src/ |
H A D | bits.c | 62 const struct lc3_bits_buffer *buffer = &bits->buffer; in get_bits_left() local 81 enum lc3_bits_mode mode, void *buffer, int len) in lc3_setup_bits() 101 struct lc3_bits_buffer *buffer = &bits->buffer; in lc3_setup_bits() local 140 struct lc3_bits_accu *accu, struct lc3_bits_buffer *buffer) in accu_flush() 159 static inline void ac_put(struct lc3_bits_buffer *buffer, int byte) in ac_put() 171 struct lc3_bits_ac *ac, struct lc3_bits_buffer *buffer) in ac_shift() 197 struct lc3_bits_buffer *buffer) in ac_terminate() 250 struct lc3_bits_buffer *buffer = &bits->buffer; in lc3_flush_bits() local 306 static inline int ac_get(struct lc3_bits_buffer *buffer) in ac_get() 317 struct lc3_bits_buffer *buffer) in accu_load() [all …]
|
/btstack/test/tlv_posix/ |
H A D | tlv_test.cpp | 54 uint8_t buffer = data; in TEST() local 65 uint8_t buffer = data; in TEST() local 80 uint8_t buffer = data; in TEST() local 97 uint8_t buffer = data; in TEST() local 121 uint8_t buffer[8]; in TEST() local 145 uint8_t buffer[8]; in TEST() local 155 uint8_t buffer = data; in TEST() local 169 uint8_t buffer = data; in TEST() local
|
/btstack/src/le-audio/gatt-service/ |
H A D | broadcast_audio_scan_service_util.c | 59 …rce_data_t * data, uint16_t *source_offset, uint16_t buffer_offset, uint8_t * buffer, uint16_t buf… in bass_util_source_data_header_virtual_memcpy() 89 … uint16_t buffer_offset, uint8_t *buffer, uint16_t buffer_size) { in bass_util_source_data_subgroups_virtual_memcpy() 116 bool bass_util_pa_sync_state_and_subgroups_in_valid_range(const uint8_t *buffer, uint16_t buffer_si… in bass_util_pa_sync_state_and_subgroups_in_valid_range() 172 bool bass_util_source_buffer_in_valid_range(const uint8_t *buffer, uint16_t buffer_size){ in bass_util_source_buffer_in_valid_range() 202 bass_util_pa_info_and_subgroups_parse(const uint8_t *buffer, uint16_t buffer_size, bass_source_data… in bass_util_pa_info_and_subgroups_parse() 240 void bass_util_source_data_parse(const uint8_t *buffer, uint16_t buffer_size, bass_source_data_t *s… in bass_util_source_data_parse()
|
H A D | broadcast_audio_scan_service_server.c | 243 …ce_to_buffer(bass_server_source_t * source, uint16_t buffer_offset, uint8_t * buffer, uint16_t buf… in bass_server_copy_source_to_buffer() 283 …on_handle_t con_handle, uint16_t attribute_handle, uint16_t offset, uint8_t * buffer, uint16_t buf… in bass_server_read_callback() 299 static bool bass_server_source_remote_modify_source_buffer_valid(uint8_t *buffer, uint16_t buffer_s… in bass_server_source_remote_modify_source_buffer_valid() 309 static void bass_server_add_source_from_buffer(uint8_t *buffer, uint16_t buffer_size, bass_server_s… in bass_server_add_source_from_buffer() 354 …nt16_t attribute_handle, uint16_t transaction_mode, uint16_t offset, uint8_t *buffer, uint16_t buf… in bass_server_write_callback() 614 uint8_t buffer[BASS_MAX_NOTIFY_BUFFER_SIZE]; in bass_service_can_send_now() local
|
/btstack/test/flash_tlv/ |
H A D | tlv_test.cpp | 55 uint8_t buffer; in TEST() local 68 uint8_t buffer; in TEST() local 99 uint8_t buffer = value; in TEST() local 135 uint8_t buffer = data; in TEST() local 147 uint8_t buffer = data; in TEST() local 163 uint8_t buffer = data; in TEST() local 181 uint8_t buffer = data; in TEST() local 208 uint8_t buffer[8]; in TEST() local 235 uint8_t buffer[8]; in TEST() local 246 uint8_t buffer = data; in TEST() local
|
/btstack/src/ble/ |
H A D | att_db_util.c | 199 uint8_t buffer[2]; in att_db_util_add_service_uuid16() local 207 uint8_t buffer[16]; in att_db_util_add_service_uuid128() local 215 uint8_t buffer[2]; in att_db_util_add_secondary_service_uuid16() local 223 uint8_t buffer[16]; in att_db_util_add_secondary_service_uuid128() local 231 uint8_t buffer[6]; in att_db_util_add_included_service_uuid16() local 241 uint8_t buffer[2]; in att_db_util_add_client_characteristic_configuration() local 287 uint8_t buffer[5]; in att_db_util_add_characteristic_uuid16() local 302 uint8_t buffer[19]; in att_db_util_add_characteristic_uuid128() local
|
/btstack/test/embedded/ |
H A D | btstack_util_test.cpp | 40 const uint8_t buffer[] = {0xBC, 0xEC, 0x5D, 0xE6, 0x15, 0x03}; in TEST() local 54 uint8_t buffer[6]; in TEST() local 75 const uint8_t buffer[] = {0xBC, 0xEC, 0x5D, 0xE6, 0x15, 0x03}; in TEST() local 89 uint8_t buffer[6]; in TEST() local 111 uint8_t buffer[32]; in TEST() local 323 char buffer[10]; in TEST() local 335 uint8_t buffer[100]; in TEST() local 358 uint8_t buffer[14]; in TEST() local
|
H A D | hci_dump_test.cpp | 74 uint8_t buffer[100]; in TEST() local 85 uint8_t buffer[100]; in TEST() local 96 uint8_t buffer[100]; in TEST() local
|
/btstack/chipset/sx128x/SMTC_Drivers/sx1280-driver-c/ |
H A D | sx1280-hal.c | 330 void SX1280HalWriteCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX1280HalWriteCommand() 350 void SX1280HalReadCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX1280HalReadCommand() 366 void SX1280HalWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX1280HalWriteRegisters() 390 void SX1280HalReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX1280HalReadRegisters() 417 void SX1280HalWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX1280HalWriteBuffer() 435 void SX1280HalReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX1280HalReadBuffer()
|
/btstack/test/crypto/ |
H A D | aes_cmac_test.c | 70 static uint32_t big_endian_read_32( const uint8_t * buffer, int pos) { in big_endian_read_32() 74 static void big_endian_store_32(uint8_t *buffer, uint16_t pos, uint32_t value){ in big_endian_store_32() 97 static int parse_hex(uint8_t * buffer, const char * hex_string){ in parse_hex() 144 uint8_t buffer[65]; in f4() local 160 uint8_t buffer[53]; in f5() local 187 uint8_t buffer[65]; in f6() local 203 uint8_t buffer[80]; in g2() local
|
H A D | ecc_micro_ecc.c | 42 uint32_t big_endian_read_32( const uint8_t * buffer, int pos) { in big_endian_read_32() 46 void big_endian_store_32(uint8_t *buffer, uint16_t pos, uint32_t value){ in big_endian_store_32() 69 static int parse_hex(uint8_t * buffer, const char * hex_string){ in parse_hex() 85 static int test_generate_f_rng(uint8_t * buffer, unsigned size){ in test_generate_f_rng()
|
/btstack/platform/embedded/ |
H A D | btstack_audio_embedded.c | 100 int16_t * buffer = hal_audio_sink_get_output_buffer(output_buffer_to_fill); in driver_timer_handler_sink() local 142 void (*playback)(int16_t * buffer, uint16_t num_samples) in btstack_audio_embedded_sink_init() 169 void (*recording)(const int16_t * buffer, uint16_t num_samples) in btstack_audio_embedded_source_init() 204 int16_t * buffer = hal_audio_sink_get_output_buffer(i); in btstack_audio_embedded_sink_start_stream() local
|
/btstack/src/ble/gatt-service/ |
H A D | hids_device.c | 151 uint8_t buffer[6]; in hids_device_emit_event_with_uint8() local 168 uint8_t buffer[7]; in hids_device_emit_event_with_uint8_uint8_t() local 186 uint8_t buffer[5]; in hids_device_emit_event() local 195 const uint8_t *buffer, uint16_t buffer_size) { in hids_device_emit_report() 226 uint8_t buffer[5]; in hids_device_can_send_now() local 237 …(hci_con_handle_t con_handle, uint16_t att_handle, uint16_t offset, uint8_t * buffer, uint16_t buf… in att_read_callback() 326 …le, uint16_t att_handle, uint16_t transaction_mode, uint16_t offset, uint8_t *buffer, uint16_t buf… in att_write_callback()
|
/btstack/src/mesh/ |
H A D | pb_adv.c | 513 uint8_t buffer[22]; in pb_adv_handler() local 532 uint8_t buffer[7]; in pb_adv_handler() local 550 uint8_t buffer[6]; in pb_adv_handler() local 561 uint8_t buffer[6]; in pb_adv_handler() local 582 uint8_t buffer[29]; // ADV MTU in pb_adv_handler() local
|