mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-31 00:32:52 +00:00
goep_client: add goep_client_body_get_outgoing_buffer_len
This commit is contained in:
parent
8eaca3329c
commit
8441d53da4
@ -580,6 +580,13 @@ void goep_client_body_add_static(uint16_t goep_cid, const uint8_t * data, uint32
|
||||
obex_message_builder_body_add_static(buffer, buffer_len, data, length);
|
||||
}
|
||||
|
||||
uint16_t goep_client_body_get_outgoing_buffer_len(uint16_t goep_cid) {
|
||||
UNUSED(goep_cid);
|
||||
goep_client_t * context = goep_client;
|
||||
|
||||
return goep_client_get_outgoing_buffer_len(context);
|
||||
};
|
||||
|
||||
void goep_client_body_fillup_static(uint16_t goep_cid, const uint8_t * data, uint32_t length, uint32_t * ret_length){
|
||||
UNUSED(goep_cid);
|
||||
goep_client_t * context = goep_client;
|
||||
|
@ -260,6 +260,13 @@ void goep_client_header_add_challenge_response(uint16_t goep_cid, const uint8_t
|
||||
*/
|
||||
void goep_client_body_add_static(uint16_t goep_cid, const uint8_t * data, uint32_t length);
|
||||
|
||||
/**
|
||||
* @brief Query remaining buffer size
|
||||
* @param goep_cid
|
||||
* @return size
|
||||
*/
|
||||
uint16_t goep_client_body_get_outgoing_buffer_len(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Add body
|
||||
* @param goep_cid
|
||||
|
Loading…
x
Reference in New Issue
Block a user