At+Nsorf Receive Command (Udp Only) - Quectel BC95 Manual

Hide thumbs Also See for BC95:
Table of Contents

Advertisement

Parameter
<socket>
Socket number returned by +NSOCR
<remote_addr>
IPv4
<remote_port>
A number in the range 0-65535. This is the remote port on which messages will be
received
<length>
Decimal length of data to be sent
<data>
Data received in hex string format, or quoted string format
Example
AT+NSOST=0,192.158.5.1,1024,2,AB30
0,2
OK
Neul Hi2110 Implementation
Maximum data size is 512 bytes.
Only IPv4 is supported.
<data>: only hex string format is supported.
IP addresses can be specified in decimal, octal or hexadecimal notation.

4.13. AT+NSORF Receive Command (UDP Only)

Read up to <req_length> characters of data from <socket>, and returned length is the actual number of
characters returned.
Receive data on a socket. When data arrives a +NSONMI response will be generated to indicate the
socket the message was received on and also the amount of data. The +NSORF command takes a length,
which is the maximum amount of data that will be returned.
If the requested length is larger than the actual size of the returned data, only the length of returned data
is provided, and the remaining length is returned as 0. If the requested length is less than the amount of
data returned, only the requested amount of data will be returned, plus an indication of the number of
bytes remaining. Once a message has been fully read, a new +NSONMI notification will be sent if there is
another message to process. Refer to Chapter 6 for possible <err> values.
If messages arrive faster than they are read, and the internal message buffer is full, the most recent
message will be discarded.
BC95_AT_Commands_Manual
A dot notation IP address
Confidential / Released
NB-IoT Module Series
BC95 AT Commands Manual
45 / 58

Advertisement

Table of Contents
loading

Table of Contents