1 /* 2 * l2cap_signaling.h 3 * 4 * Created by Matthias Ringwald on 7/23/09. 5 */ 6 7 #pragma once 8 9 #include <stdint.h> 10 #include <stdarg.h> 11 #include <btstack/utils.h> 12 #include <btstack/hci_cmds.h> 13 14 typedef enum { 15 COMMAND_REJECT = 1, 16 CONNECTION_REQUEST, 17 CONNECTION_RESPONSE, 18 CONFIGURE_REQUEST, 19 CONFIGURE_RESPONSE, 20 DISCONNECTION_REQUEST, 21 DISCONNECTION_RESPONSE, 22 ECHO_REQUEST, 23 ECHO_RESPONSE, 24 INFORMATIONAL_REQUEST, 25 INFORMATIONAL_RESPONSE 26 } L2CAP_SIGNALING_COMMANDS; 27 28 uint16_t l2cap_create_signaling_internal(uint8_t * acl_buffer,hci_con_handle_t handle, L2CAP_SIGNALING_COMMANDS cmd, uint8_t identifier, va_list argptr); 29 uint8_t l2cap_next_sig_id(); 30 uint16_t l2cap_next_source_cid(); 31 32