This function returns the size in bytes of the first packet of information in the specified Bluetooth input buffer. Data is sent in packets. There may be many bytes in the buffer, but if the first packet is one byte in length, this function will return 1. The channel number may be 1 to 10.
This function might only be useful to determine if ANY bytes are available. It should not be used to determine exactly how many bytes are available to be read.