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

 

Command Description
AT+MIPLCREATE Create OneNet configuration
AT+MIPLDELETE Delete OneNet configuration
AT+MIPLOPEN Connect to OneNet
AT+MIPLADDOBJ Add object
AT+MIPLDELOBJ Delete object
AT+MIPLCLOSE Disconnect to OneNet
AT+MIPLNOTIFY Notify data to OneNet
AT+MIPLREADRSP Send response on read command
AT+MIPLWRITERSP Send response on write command
AT+MIPLEXECUTERSP Send response on execute command
AT+MIPLOBSERVERSP Send response on observe command
AT+MIPLDISCOVERRSP Send response on discover command
AT+MIPLPARAMETERRSP Send response on parameter command
AT+MIPLUPDATE Update registration
AT+MIPLVER Version of OneNet SDK
AT+MIPLBOOTSTRAP Bootstrap mode
+MIPLREAD Read request to user
+MIPLWRITE Write request to user
+MIPLEXECUTE Execute request to user
+MIPLOBSERVE Observe request to user
+MIPLDISCOVER Discover request to user
+MIPLPARAMETER Set parameter request to user
+MIPLEVENT Event indication to user

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

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

 

 

 

 

AT+MIPLVER      Version Of OneSet SDK

 

R) AT+MIPLVER?

+MIPLVER: <version>

 

OK

Parameters

<version>     Version of SDK

 

 

 

 

AT+MIPLBOOTSTRAP      Bootstrap Mode

 

W) AT+MIPLBOOTSTRAP=<mode>

OK

Parameters

<mode>     Bootstrap mode

0     Disable

1     Enable

Parameter Saving Mode NO_SAVE

 

 

 

 

+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

 

 

 

 

+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

 

 

 

 

+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

 

 

 

 

+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

 

 

 

 

+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

 

 

 

 

+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

 

 

 

 

+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

EMW3070

Viewed Page List