mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-22 17:10:28 +00:00
bluedroid: support LE L2CAP credit based connection
This commit is contained in:
@@ -321,4 +321,16 @@
|
||||
#define L2CAP_FCR_INIT_CRC 0 /* Initial state of the CRC register */
|
||||
#define L2CAP_FCR_SEQ_MODULO 0x3F /* Mask for sequence numbers (range 0 - 63) */
|
||||
|
||||
#define L2CAP_LE_RESULT_CONN_OK 0
|
||||
#define L2CAP_LE_RESULT_NO_PSM 2
|
||||
#define L2CAP_LE_RESULT_NO_RESOURCES 4
|
||||
#define L2CAP_LE_RESULT_INSUFFICIENT_AUTHENTICATION 5
|
||||
#define L2CAP_LE_RESULT_INSUFFICIENT_AUTHORIZATION 6
|
||||
#define L2CAP_LE_RESULT_INSUFFICIENT_ENCRY_KEY_SIZE 7
|
||||
#define L2CAP_LE_RESULT_INSUFFICIENT_ENCRY 8
|
||||
#define L2CAP_LE_RESULT_INVALID_SOURCE_CID 9
|
||||
#define L2CAP_LE_RESULT_SOURCE_CID_ALREADY_ALLOCATED 0x0A
|
||||
#define L2CAP_LE_RESULT_UNACCEPTABLE_PARAMETERS 0x0B
|
||||
#define L2CAP_LE_RESULT_INVALID_PARAMETERS 0x0C
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user