mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
goep_client: add goep_client_header_add_srmp_waiting
This commit is contained in:
parent
def79b0992
commit
51c39f3d92
@ -746,6 +746,16 @@ void goep_client_header_add_srm_enable(uint16_t goep_cid){
|
||||
obex_message_builder_header_add_srm_enable(buffer, buffer_len);
|
||||
}
|
||||
|
||||
void goep_client_header_add_srmp_waiting(uint16_t goep_cid){
|
||||
goep_client_t * goep_client = goep_client_for_cid(goep_cid);
|
||||
if (goep_client == NULL){
|
||||
return;
|
||||
}
|
||||
uint8_t * buffer = goep_client_get_outgoing_buffer(goep_client);
|
||||
uint16_t buffer_len = goep_client_get_outgoing_buffer_len(goep_client);
|
||||
obex_message_builder_header_add_srmp_wait(buffer, buffer_len);
|
||||
}
|
||||
|
||||
void goep_client_header_add_target(uint16_t goep_cid, const uint8_t * target, uint16_t length){
|
||||
goep_client_t * goep_client = goep_client_for_cid(goep_cid);
|
||||
if (goep_client == NULL){
|
||||
|
@ -269,6 +269,12 @@ uint16_t goep_client_request_get_max_body_size(uint16_t goep_cid);
|
||||
*/
|
||||
void goep_client_header_add_srm_enable(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Add SRMP Waiting
|
||||
* @param goep_cid
|
||||
*/
|
||||
void goep_client_header_add_srmp_waiting(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Add header with single byte value (8 bit)
|
||||
* @param goep_cid
|
||||
|
Loading…
x
Reference in New Issue
Block a user