MDM2.read()

This command receives a string from the AT command interface.

It has no input parameter.

The return value is a Python string which contains the data received and stored in buffer at the moment of command execution. The value might be empty if no data is received.

 

Example:

 

a = MDM2.read()

 

receives a string from AT command handling, assigning the return value to a.

Note: The buffer available for MDM2.read command is 32768 bytes for product versions 12.xx.xxx or 4096 bytes for product versions 13.xx.xxx and 18.11.004. The maximum number of bytes returned by each MDM2.read is 1023.

 

Note: It is up to Python script to keep empty MDM2.read buffer.