This command receives a byte from the AT command interface.
It has no input parameter.
The return value is a Python integer which is the byte value received and stored in buffer at the moment of command execution or is -1 if no data is received. The return value can also be zero.
Example:
b = MDM2.readbyte()
receives a byte from AT command handling, assigning the return value to b.