getMTU()
Returns the channel maximum transfer unit.
Declaration
func getMTU() -> BluetoothRFCOMMMTUReturn Value
Channel MTU size .
Discussion
Returns the length of the largest chunk of data that this channel can carry. If the caller wishes to use the write:length:sleep: api the length of the data can not be bigger than the channel MTU (maximum transfer unit).