페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Search in pages
AT Commands For FOAT

 

No Command Description
L2301 AT+CAPFOTA Start/Close FOTA Service
L2302 AT+CSCFOTA Configure parameters and download upgrade package

 

 

 

 

L2301   AT+CAPFOTA     Start/Close FOTA Service

 

T) AT+CAPFOTA=?

+CAPFOTA: (list of supported <on/off>s)

 OK

R) AT+CAPFOTA?

+CAPFOTA: 1

 OK

W) AT+CAPFOTA=<on/off>

OK

or

ERROR

 

<on/off>

The service status on/off, the default value is 0.

0           Close FOTA program

1            Active FOTA program

The function will take effect immediately.

 

Example

AT+CAPFOTA?

+CAPFOTA: 1

OK

 

 

 

 

L2302   AT+CSCFOTA     Configure parameters and download upgrade package

 

W) AT+CSCFOTA=<OEM>,<models>,

<productID>,<productSecret>,<target version>

a) If successfully:

OK

+CSCFOTA: <err>

b) If failed:

ERROR

 

 

<OEM> The name of project design company. This name must be the same as the OEM created on the cloud platform. Otherwise, it will cause upgrade failed.
<models>

The name of the device model. This name must be the same as the

device model created on the cloud platform. Otherwise, it will cause upgrade failed.

<productID> The product ID that must be the same as the product ID generated on the cloud platform.
<productSecret>

The product secret is used to confirm the identity and usage rights of

the user. It must be the same as the product secret generated on the cloud platform.

<target version> The version that needs to be upgraded to. This version is published by the cloud platform.

 

<ERR>  
1 unknown error
2 Check version is finished
3 Download is finished
4 Download partial finished
5 No matched version
301 No enough memory
302 Invalid parameter
303 Invalid operation
304 IO failed
305 IO timeout
306 Download file verification failed
307 got canceled
308 Interface nesting error
401 Invalid device information
402 Invalid platform information
403 Missing device information
404 Version number is not configured
405 Internal error (contact supplier)
501 Invalid URL
502 Unable to resolve domain name
503 cannot connect to the server
504 Invalid request, server returned error
505 Not in range
506 HTTP POST request error
507 Re-download start error
508 Operation is aborted
509 Operation not completed
510 Too many retargeting times
511 Unable to get data from SOCKET
512 Error sending data via SOCKET
513 Error receiving data via SOCKET
514 Invalid SOCKET connection

 

Example

AT+CSCFOTA=”SIMCOM”,”7600M21″,”15409 07004″,”f9bbb0d76f894da090b6b6925361656

1″,”SIM7600M21_LE11_181025_V2.00″

OK

+CSCFOTA: 2

+CSCFOTA: 3

 

 

 

 

Adsense

EMW3070

Viewed Page List