data is greater than the TransmitMTU, then only the first TransmitMTU bytes of the packet are sent, and the rest will be discarded. If data is of length 0, an empty L2CAP packet will be sent.
@param data data to be sent
@exception IOException if data cannot be sent successfully or if the connection is closed
@exception NullPointerException if the data is null
| |
| |