MDM.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 = MDM.read()

 

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

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

 

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