Manages current connection.
close(bool): Close serial connection? Default value is
Gets current context.
Downloads a file from the EC2X device.
cmd(str): AT command to perform the actual download.
size(int): Size of the file to download.
dest(str): Destination path to which the downloaded file is to be written.
Runs an AT command against the EC2X device.
cmd(str): AT command to execute.
Powers down the EC2X device. Afterwards the module will start automatically. A 30-second wait is included after power off to allow the module time to recover before receiving any new requests.
cmd(str): AT command to perform the power down.
reason(str): Reason code that tells why we decided to power down. Default is
Synchronizes the system clock with the EC2X device.
force(bool): Default is
Ensures following keys for return value:
clock_synced: boolean npt_enabled: boolean
Uploads a file to the EC2X device.
cmd(str): AT command to perform the actual upload.
src(str): Destination path to the file to be uploaded.