send
Sends the given data over the bearer. Data longer than MTU will automatically be segmented using the bearer protocol if bearer implements segmentation.
Parameters
pdu
Data to be sent.
type
Type of the PDU.
Throws
if the PDU type is not supported by the bearer.