페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages
AT Commands for  OneNet Application

 

 

 

No Command Description
C1201 AT+MIPLCREATE Create OneNet configuration
C1202 AT+MIPLDELETE Delete OneNet configuration
C1203 AT+MIPLOPEN Connect to OneNet
C1204 AT+MIPLADDOBJ Add object
C1205 AT+MIPLDELOBJ Delete object
C1206 AT+MIPLCLOSE Disconnect to OneNet
C1207 AT+MIPLNOTIFY Notify data to OneNet
C1208 AT+MIPLREADRSP Send response on read command
C1209 AT+MIPLWRITERSP Send response on write command
C1210 AT+MIPLEXECUTERSP Send response on execute command
C1211 AT+MIPLOBSERVERSP Send response on observe command
C1212 AT+MIPLDISCOVERRSP Send response on discover command
C1213 AT+MIPLPARAMETERRSP Send response on parameter command
C1214 AT+MIPLUPDATE Update registration
C1215 AT+MIPLVER Version of OneNet SDK
C1216 AT+MIPLBOOTSTRAP Bootstrap mode
C1217 +MIPLREAD Read request to user
C1218 +MIPLWRITE Write request to user
C1219 +MIPLEXECUTE Execute request to user
C1220 +MIPLOBSERVE Observe request to user
C1221 +MIPLDISCOVER Discover request to user
C1222 +MIPLPARAMETER Set parameter request to user
C1223 +MIPLEVENT Event indication to user

 

 

 

C1201     AT+MIPLCREATE      Create OneNet Configuration

 

T) AT+MIPLCREATE=?

+MIPLCREATE: <size>,<config>,<index>,<totalsize>,<flag>

 

OK

Parameters

See Write Command

E) AT+MIPLCREATE

<ref>

 

OK

W) AT+MIPLCREATE=<size>,<config>,<index>,<totalsize>,<flag>

<ref>

 

OK

Parameters

<size>     Current <config> size

<config>     Config in hex format

<index>     Current config index

<totalsize>     Total config size

<flag>     Indicate the input is over or not

Parameter Saving Mode NO_SAVE

 

 

 

 

C1202     AT+MIPLDELETE      Delete OneNet Configuration

 

T) AT+MIPLDELETE=?

+MIPLDELETE: <ref>

 

OK

Parameters

See Write Command

W) AT+MIPLDELETE=<ref>  OK

Parameters

<ref>     Config id

Parameter Saving Mode NO_SAVE

 

 

 

 

C1203     AT+MIPLOPEN      Connect To OneNet

 

T) AT+MIPLOPEN=?

+MIPLOPEN: <ref>,<lifetime>,<param>

 

OK

Parameters

See Write Command

W) AT+MIPLOPEN=<ref>,<lifetime>,<param> OK

Parameters

<ref>     Config id

<lifetime>     Lifetime to update automatically

<param>     Reserved

Parameter Saving Mode NO_SAVE

 

 

 

 

C1204     AT+MIPLADDOBJ      Add Object

 

T) AT+MIPLADDOBJ=?

+MIPLADDOBJ:

<ref>,<objectid>,<instancecount>,<instanceBitmap>,<attributeCount>,<actionCount>

 

OK

Parameters

See Write Command

W) AT+MIPLADDOBJ=<ref>,<objectid>,<instancecount>,<instanceBitmap>,<attributeCount>,<actionCount> OK

Parameters

<ref>     Config id

<objectid>     Object id

<instancecount>     Count of instance

<instanceBitmap>     Bitmap of instance

<attributeCount>     Count of attribute resource

<actionCount>     Count of action resource

Parameter Saving Mode NO_SAVE

 

 

 

 

C1205     AT+MIPLDELOBJ      Delete Object

 

T) AT+MIPLDELOBJ=?

+MIPLDELOBJ: <ref>,<objectid>

 

OK

Parameters

See Write Command

W) AT+MIPLDELOBJ=<ref>,<objectid> OK

Parameters

<ref>     Config id

<object>     Object id

Parameter Saving Mode NO_SAVE

 

 

 

 

C1206     AT+MIPLCLOSE      Disconnect To OneNet

 

T) AT+MIPLCLOSE=?

+MIPLCLOSE: <ref>

 

OK

Parameters

See Write Command

W) AT+MIPLCLOSE=<ref> OK

Parameters

<ref>     Config id

Parameter Saving Mode NO_SAVE

 

 

 

 

C1207     AT+MIPLNOTIFY      Notify Data To OneNet

 

T) AT+MIPLNOTIFY=?

+MIPLNOTIFY:

<ref>,<msgid>,<objectid>,<instanceid>,<resourceid>,<valuetype>,<len>,<value>,<index>,<flag>[,

<ackid>]

 

OK

Parameters

See Write Command

 

 

 

 

 

 

 

W) AT+MIPLNOTIFY=<ref>,<msgid>,

<objectid>,<instanceid>,<resourceid>,

<valuetype>,<len>,

<value>,<index>,<flag>[,<ackid>]

OK

Parameters

<ref>     Config id

<objectid>     Object id

<instanceid>     Instance id

<resourceid>     Resource id

<valuetype>     Type of value

1     String

2     Opaque

3     Integer

4     Float

5     Bool

<len>     Length

<value>     Value string

<index>     Index of current input

<flag>     Indicate the input is over or not

<ackid>     Need ack or not

Parameter Saving Mode NO_SAVE

 

 

 

 

C1208     AT+MIPLREADRSP      Send Response On Read Command

  

T) AT+MIPLREADRSP=?

+MIPLREADRSP:

<ref>,<msgid>,<result>,<objectid>,<instanceid>,<resourceid>,<valuet ype>,<len>,<value>,<index>,

<flag>

 

OK

Parameters

See Write Command

W) AT+MIPLREADRSP=<ref>,<msgid>,

<result>,<objectid>,<instanceid>

,<resourceid>,<valuetype>,<len>,

<value>,<index>,<flag>

OK

Parameters

<ref>     Config id

<msgid>     Message id

<result>     Result

<objectid>     Object id

<instanceid>     Instance id

<resourceid>     Resource id

<valuetype>     Type of value

1     String

2     Opaque

3     Integer

4     Float

5     Bool

<len>     Length

<value>     Value string

<index>     Index of current input

<flag>     Indicate the input is over or not

Parameter Saving Mode NO_SAVE

 

 

 

 

C1209     AT+MIPLWRITERSP      Send Response On Write Command

 

T) AT+MIPLWRITERSP=?

+MIPLWRITERSP: <ref>,<msgid>,<result>

 

OK

Parameters

See Write Command

W) AT+MIPLWRITERSP=<ref>,<msgid>,

<result>

OK

Parameters

<ref>     Config id

<msgid>     Message id

<result>     Result

Parameter Saving Mode NO_SAVE

 

 

 

 

C1210     AT+MIPLEXECUTERSP      Send Response On Execute Command

 

T) AT+MIPLEXECUTERS P=?

+MIPLEXECUTERSP: <ref>,<msgid>,<result>

 

OK

Parameters

See Write Command

 

W) AT+MIPLEXECUTERSP=<ref>,

<msgid>,<result>

OK

Parameters

<ref>     Config id

<msgid>     Message id

<result>     Result

Parameter Saving Mode NO_SAVE

 

 

 

 

C1211     AT+MIPLOBSERVERSP      Send Response On Observe Command

 

T) AT+MIPLOBSERVERS P=?

+MIPLOBSERVERSP: <ref>,<msgid>,<result>

 

OK

Parameters

See Write Command

W) AT+MIPLOBSERVERS

P=<ref>,<msgid>,<result>

OK

Parameters

<ref>     Config id

<msgid>     Message id

<result>     Result

Parameter Saving Mode NO_SAVE

 

 

 

 

C1212     AT+MIPLDISCOVERRSP      Send Response On Discover Command

  

T) AT+MIPLDISCOVERRS P=?

+MIPLDISCOVERRSP: <ref>,<msgid>,<result>,<length>,<valuestring>

 

OK

Parameters

See Write Command

 

 

W) AT+MIPLDISCOVERRS

P=<ref>,<msgid>,<result>,<length>,

<valuestring>

OK

Parameters

<ref>     Config id

<msgid>     Message id

<result>     Result

<length>     Number of resourceid

<valuestring>     Resource id string

Parameter Saving Mode NO_SAVE

 

 

 

 

C1213     AT+MIPLPARAMETERRSP      Send Response On Parameter Command

 

T) AT+MIPLPARAMETER RSP=?

+MIPLPARAMETERRSP: <ref>,<msgid>,<result>

 

OK

Parameters

See Write Command

W) AT+MIPLPARAMETER

RSP=<ref>,<msgid>,<result>

OK

Parameters

<ref>     Config id

<msgid>     Message id

<result>     Result

Parameter Saving Mode NO_SAVE

 

 

 

 

C1214     AT+MIPLUPDATE      Update Registration

 

T) AT+MIPLUPDATE=?

+MIPLUPDATE: <ref>,<lifetime>,<flag>

 

OK

Parameters

See Write Command

W) AT+MIPLUPDATE=<ref>,<lifetime>,<flag> OK

Parameters

<ref>     Config id

<lifetime>     Lifetime to update

<flag>     Update with object update or not

Parameter Saving Mode NO_SAVE

 

 

 

 

C1215     AT+MIPLVER      Version Of OneSet SDK

 

R) AT+MIPLVER?

+MIPLVER: <version>

 

OK

Parameters

<version>     Version of SDK

 

 

 

 

C1216     AT+MIPLBOOTSTRAP      Bootstrap Mode

 

W) AT+MIPLBOOTSTRAP=<mode> OK

Parameters

<mode>     Bootstrap mode

0     Disable

1     Enable

Parameter Saving Mode NO_SAVE

 

 

 

 

C1217     +MIPLREAD      Read Request To User

 

  +MIPLREAD: <ref>,<msgid>,<objectid>,<instanceid>,<resourceid>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<msgid>     Integer, message id

<objectid>     Integer, object id

<instanceid>     Integer, instance id, read all resources of all instances of the object if instanceid equals -1

<resourceid>     Integer, resource id, read all resources of the instance if resourceid equals -1

 

 

 

 

C1218     +MIPLWRITE      Write Request To User

 

 

+ MIPLWRITE:

<ref>,<msgid>,<objectid>,<instanceid>,<resourceid>,<valuetype>,<len>,<value>,<flag>,<index>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<msgid>     Integer, message id

<objectid>     Integer, object id

<instanceid>     Integer, instance id

<resourceid>     Integer, resource id

<valuetype>     Integer, write data value type

1     String

2     Opaque

3     Integer

0     Float

5     Bool

<len>     Integer, write data length. It can be ommited, if valuetype is Integer or Float, or Bool

<value>     Integer, write data value

<flag>     Integer, message flag

1     First message;

2     Middle message;

0     Last message

<index>     Integer, message index, from 0 to 1024

 

 

 

 

C1219     +MIPLEXECUTE     Execute Request To User

 

 

+MIPLEXECUTE:

<ref>,<msgid>,<objectid>,<instanceid>,<resourceid>,<len>,<arguments>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<msgid>     Integer, message id

<objectid>     Integer, object id

<instanceid>     Integer, instance id

<resourceid>     Integer, resource id

<len>     Integer, parameter length

<arguments>     String, parameter string

 

 

 

 

C1220     +MIPLOBSERVE      Observe Request To User

 

 

+ MIPLOBSERVE:

<ref>,<msgid>,<flag>,<objectid>,<instanceid>,<resourceid>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<msgid>     Integer, message id

<flag>     Integer, observe flag.

1     Indicates observe

0     Indicates cancel observe

<objectid>     Integer, object id

<instanceid>     Integer, instance id, observe all resources of all instances of the object if instanceid

equals -1

<resourceid>     Integer, resource id, observe all resources of the instance if resourceid equals -1

 

 

 

 

C1221     +MIPLDISCOVER      Discover Request To User

 

  +MIPLDISCOVER: <ref>,<msgid>,<objectid>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<msgid>     Integer, message id

<objectid>     Integer, object id

 

 

 

 

C1222     +MIPLPARAMETER      Set Parameter Request To User

  

 

+MIPLPARAMETER:

<ref>,<msgid>,<objectid>,<instanceid>,<resourceid>,<len>,<parameter>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<msgid>     Integer, message id

<objectid>     Integer, object id

<instanceid>     Integer, instance id, observe all resources of all instances of the object if instanceid

equals -1

<resourceid>     Integer, resource id, observe all resources of the instance if resourceid equals -1

<len>     Integer, parameter length

<parameter>     String, parameter string, must start with “and end with” pmin=xxx; pmax=xxx; gt=xxx; lt=xxx;

stp=xxx

 

 

 

 

C1223     +MIPLEVENT      Event Indication To User

 

  +MIPLEVENT: <ref>,<evtid>

Parameters

<ref>     Integer, OneNET instance returned by AT+MIPLCREATE

<evtid>     Integer, event id

1     BOOTSTRAP_START

2     BOOTSTRAP_SUCCESS

3     BOOTSTRAP_FAILED

4     CONNECT_SUCCESS

5     CONNECT_FAILED

6     REG_SUCCESS

7     REG_FAILED

8     REG_TIMEOUT

9     LIFETIME_TIMEOUT

10     STATUS_HALT

11     UPDATE_SUCCESS

12     UPDATE_FAILED

13     UPDATE_TIMEOUT

14     UPDATE_NEED

15     UNREG_DONE

20     RESPONSE_FAILED

21     RESPONSE_SUCCESS

25     NOTIFY_FAILED

26     NOTIFY_SUCCESS

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT

 

www.simcom.com

 

Viewed Page List