TI BLE-Stack for Bluetooth 4.2 API Documentation  3.01.00.07
Macros
L2CAP Channel Terminated Event Reason Values

Macros

#define L2CAP_TERM_BY_PEER_PSM   0x0002
 Channel terminated by peer PSM.
 
#define L2CAP_TERM_BY_PSM   0x0001
 Channel terminated by local PSM.
 
#define L2CAP_TERM_LINK_DOWN   0x0000
 Physical link gone down.
 
#define L2CAP_TERM_MAX_CREDIT_EXCEED   0x0003
 Credit count exceeded 65535.
 
#define L2CAP_TERM_MEM_ALLOC_ERROR   0x0009
 Memory allocation error occurred.
 
#define L2CAP_TERM_PSM_MTU_EXCEED   0x0005
 Total length of payload received exceeded local PSM's MTU.
 
#define L2CAP_TERM_RX_ERROR   0x0007
 LE-frame was received with error.
 
#define L2CAP_TERM_RX_PKT_NO_CREDIT   0x0006
 LE-frame was received from peer device that has a credit of count zero.
 
#define L2CAP_TERM_SDU_LEN_EXCEED   0x0004
 Total length of payload received exceeded SDU length specified in first LE-frame of SDU.
 
#define L2CAP_TERM_TX_ERROR   0x0008
 Error happened while trying to send LE-frame.
 

Detailed Description

Copyright 2017, Texas Instruments Incorporated