mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
31 lines
699 B
C
31 lines
699 B
C
/*
|
|
* l2cap_signaling.h
|
|
*
|
|
* Created by Matthias Ringwald on 7/23/09.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <btstack/utils.h>
|
|
#include <btstack/hci_cmds.h>
|
|
|
|
typedef enum {
|
|
COMMAND_REJECT = 1,
|
|
CONNECTION_REQUEST,
|
|
CONNECTION_RESPONSE,
|
|
CONFIGURE_REQUEST,
|
|
CONFIGURE_RESPONSE,
|
|
DISCONNECTION_REQUEST,
|
|
DISCONNECTION_RESPONSE,
|
|
ECHO_REQUEST,
|
|
ECHO_RESPONSE,
|
|
INFORMATIONAL_REQUEST,
|
|
INFORMATIONAL_RESPONSE
|
|
} L2CAP_SIGNALING_COMMANDS;
|
|
|
|
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);
|
|
uint8_t l2cap_next_sig_id();
|
|
uint16_t l2cap_next_source_cid();
|
|
|