sendATCommand.lua
[INDEX]

ABSTRACT

Send AT Command to wireless modem device (WWan)

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

DeviceName

Modem device name,Device is this. (Device name can got by getNetInterface.lua)

Test value:

Command

AT Command with \r\n

Test value:

RETURNS

Return a JSON style result. The JSON format is:

{
/*OBJECT*/

"Result":
NUMBER

200 means OK, other error code meanings are similar to HTTP Response.

"Status":
"STRING"

Status message. Responsing result status of API executive, if there errors, it will describe reasons.

"Data": {
/*OBJECT*/

"ret":
BOOLEAN

true/false, if false, the info is the error message.

"info":
"STRING"

Lte Module run AT Command and return.

}
}

OTHER NOTES

Device HTTP API, v1.0