Home
last modified time | relevance | path

Searched refs:data_buffer (Results 1 – 9 of 9) sorted by relevance

/btstack/src/classic/
H A Dobex_parser.c93 …_t obex_parser_process_data(obex_parser_t *obex_parser, const uint8_t *data_buffer, uint16_t data_… in obex_parser_process_data() argument
99 obex_parser->opcode = *data_buffer; in obex_parser_process_data()
105 obex_parser->response_code = *data_buffer; in obex_parser_process_data()
112 memcpy(&obex_parser->params[obex_parser->item_pos], data_buffer, bytes_to_consume); in obex_parser_process_data()
132 memcpy(&obex_parser->params[obex_parser->item_pos], data_buffer, bytes_to_consume); in obex_parser_process_data()
139 …obex_parser->header_id = *data_buffer; // constants in obex.h encode type as well, so just use the… in obex_parser_process_data()
140 header_type = *data_buffer >> 6; in obex_parser_process_data()
165 obex_parser->item_len = *data_buffer << 8; in obex_parser_process_data()
169 obex_parser->item_len = obex_parser->item_len + *data_buffer; in obex_parser_process_data()
186 … obex_parser->header_id, obex_parser->item_len, obex_parser->item_pos, data_buffer, bytes_to_consu… in obex_parser_process_data()
[all …]
H A Dobex_parser.h77 …t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_…
125 …int8_t tag_id, uint8_t total_len, uint8_t data_offset, const uint8_t * data_buffer, uint8_t data_l…
184 …_t obex_parser_process_data(obex_parser_t *obex_parser, const uint8_t *data_buffer, uint16_t data_…
204 … uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_len);
222 …am_parser_process_data(obex_app_param_parser_t *parser, const uint8_t *data_buffer, uint16_t data_…
236 … uint8_t data_offset, const uint8_t * data_buffer, uint8_t data_len);
H A Dobex_srm_server.c66 const uint8_t *data_buffer, in obex_srm_server_header_store() argument
70 … obex_parser_header_store(&obex_srm->srm_value, 1, total_len, data_offset, data_buffer, data_len); in obex_srm_server_header_store()
73 … obex_parser_header_store(&obex_srm->srmp_value, 1, total_len, data_offset, data_buffer, data_len); in obex_srm_server_header_store()
H A Dpbap_client.c211 …lient_phonebook_size_parser_t * phonebook_size_parser, const uint8_t * data_buffer, uint16_t data_… in pbap_client_phonebook_size_parser_process_data() argument
218 phonebook_size_parser->type = *data_buffer; in pbap_client_phonebook_size_parser_process_data()
222 phonebook_size_parser->len = *data_buffer; in pbap_client_phonebook_size_parser_process_data()
239 …emcpy(&phonebook_size_parser->size_buffer[phonebook_size_parser->pos], data_buffer, bytes_to_consu… in pbap_client_phonebook_size_parser_process_data()
260 data_buffer += bytes_to_consume; in pbap_client_phonebook_size_parser_process_data()
269 …ess_data(pbap_client_obex_auth_parser_t * auth_parser, const uint8_t * data_buffer, uint16_t data_… in obex_auth_parser_process_data() argument
276 auth_parser->type = *data_buffer; in obex_auth_parser_process_data()
280 auth_parser->len = *data_buffer; in obex_auth_parser_process_data()
307 … memcpy(&auth_parser->authentication_nonce[auth_parser->pos], data_buffer, bytes_to_consume); in obex_auth_parser_process_data()
310 auth_parser->authentication_options = *data_buffer; in obex_auth_parser_process_data()
[all …]
H A Davrcp_cover_art_client.c150 …t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_… in avrcp_cover_art_client_parser_callback_connect() argument
154 …er_buffer, sizeof(client->obex_header_buffer), total_len, data_offset, data_buffer, data_len) == O… in avrcp_cover_art_client_parser_callback_connect()
169 …t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_… in avrcp_cover_art_client_parser_callback_get_operation() argument
173 …parser_header_store(&client->obex_srm.srm_value, 1, total_len, data_offset, data_buffer, data_len); in avrcp_cover_art_client_parser_callback_get_operation()
176 …arser_header_store(&client->obex_srm.srmp_value, 1, total_len, data_offset, data_buffer, data_len); in avrcp_cover_art_client_parser_callback_get_operation()
182 … client->packet_handler(BIP_DATA_PACKET, client->cover_art_cid, (uint8_t *) data_buffer, data_len); in avrcp_cover_art_client_parser_callback_get_operation()
H A Dobex_srm_server.h89 const uint8_t *data_buffer,
/btstack/3rd-party/lc3-google/python/
H A Dlc3.py273 data_buffer = (c_byte * nbytes)()
282 data = (c_byte * data_size).from_buffer(data_buffer, data_offset)
290 return bytes(data_buffer)
382 data_buffer = bytearray(data)
389 data_size = len(data_buffer) // nchannels + \
390 int(ich < len(data_buffer) % nchannels)
391 data = (c_byte * data_size).from_buffer(data_buffer, data_offset)
/btstack/test/obex/
H A Dobex_parser_test.cpp23 …t header_id, uint16_t total_len, uint16_t data_offset, const uint8_t * data_buffer, uint16_t data_… in parser_callback() argument
24 …est_header_buffer, sizeof(test_header_buffer), total_len, data_offset, data_buffer, data_len) == O… in parser_callback()
146 …int8_t tag_id, uint8_t total_len, uint8_t data_offset, const uint8_t * data_buffer, uint8_t data_l… in app_param_parser_callback() argument
147 …est_header_buffer, sizeof(test_header_buffer), total_len, data_offset, data_buffer, data_len) == O… in app_param_parser_callback()
/btstack/doc/manual/docs-template/
H A Dprotocols.md575 // prepare data in data_buffer
580 rfcomm_send(rfcomm_channel_id, data_buffer, data_len);