Coap Messages - Quectel BC95 Manual

Hide thumbs Also See for BC95:
Table of Contents

Advertisement

OK
AT+CGATT?
+CGATT:1
OK
AT+CEREG?
+CEREG:0,1
OK
AT+CSCON?
+CSCON:0,1
OK

7.2. CoAP Messages

The following is a simple example of sending, receiving and reading a CoAP message.
AT+NCDP=192.53.100.53
OK
AT+NCDP?
+NCDP:192.53.100.53,5683
OK
AT+NSMI=1
OK
AT+NNMI=2
OK
AT+NMGS=10, AA7232088D0320623399
OK
+NSMI:SENT
AT+NQMGS
PENDING=0,SEND=1,ERROR=0
OK
BC95_AT_Commands_Manual
//Query whether network is activated, +CGATT:1 means
activated successfully. And wait for some time.
//Query current EPS network registration status: Registered.
//Query the signaling connection status, 1 means CONNECT, 0
means IDLE.
//Configuration CDP server. This command must be
executed after executing AT+CFUN=0.
//Query CDP server
//Turn on the sent message indications.
//Turn on the new message indications when a
downstream message is received by the terminal from
the CDP server.
//Send messages.
//Message is sent.
//Query whether messages is sent successfully.
Confidential / Released
NB-IoT Module Series
BC95 AT Commands Manual
55 / 58

Advertisement

Table of Contents
loading

Table of Contents