mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-15 23:42:52 +00:00
goep_client: add goep_client_create_abort_request
This commit is contained in:
parent
c518a7a9c7
commit
f68f852875
@ -60,7 +60,7 @@
|
||||
// goep_client.c
|
||||
//
|
||||
|
||||
// #define ENABLE_GOEP_L2CAP
|
||||
#define ENABLE_GOEP_L2CAP
|
||||
|
||||
typedef enum {
|
||||
GOEP_INIT,
|
||||
@ -481,6 +481,11 @@ void goep_client_create_get_request(uint16_t goep_cid){
|
||||
goep_client_packet_add_connection_id(goep_cid);
|
||||
}
|
||||
|
||||
void goep_client_create_abort_request(uint16_t goep_cid){
|
||||
goep_client_packet_init(goep_cid, OBEX_OPCODE_ABORT);
|
||||
goep_client_packet_add_connection_id(goep_cid);
|
||||
}
|
||||
|
||||
void goep_client_add_header_srm_enable(uint16_t goep_cid){
|
||||
goep_client_t * context = goep_client;
|
||||
if (!context->l2cap_psm) return;
|
||||
|
@ -128,6 +128,12 @@ void goep_client_create_disconnect_request(uint16_t goep_cid);
|
||||
*/
|
||||
void goep_client_create_get_request(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Create Abort request
|
||||
* @param gope_cid
|
||||
*/
|
||||
void goep_client_create_abort_request(uint16_t goep_cid);
|
||||
|
||||
/**
|
||||
* @brief Add SRM Enable
|
||||
* @param gope_cid
|
||||
|
Loading…
x
Reference in New Issue
Block a user