ble_l2cap_tx() function
Transmits the L2CAP payload contained in the specified mbuf. The supplied mbuf is consumed, regardless of the outcome of the function call.
Arguments
chan
The L2CAP channel to transmit over.
txom
The data to transmit.
Return value
0 on success; nonzero on error.