AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 220
AT Commands Interface Guide
Protocol Specific Commands
11.11.6. +KUDP_IND Notification: UDP Status
HL7518 and HL7548
Unsolicited
Notification
Response
+KUDP_IND: <session_id>,<status>
Parameters
<session_id> UDP session index
<status> UDP session staus
1 Session is set up and ready for operation
Reference
Sierra Wireless
Proprietary
11.11.7. +KUDP_DATA Notification: Incoming Data through
a UDP Connection
HL7518 and HL7548
Unsolicited
Notification
Response
+KUDP_DATA: <session_id>,<ndata available>[,<udp remote address>,<udp
remote port>,<data>]
Parameters
<session_id> UDP session index
<ndata available> Number of bytes to be read
<udp remote address> IP address string of the remote host
<udp remote port> Numeric parameter (0 – 65535)
<data> Data in octet. The length of data is specified by <ndata_available>
Reference
Sierra Wireless
Proprietary
Notes
As soon as the UDP socket is created, the module can receive data through this
socket. This notification is sent when data are available in the receive buffer.
This notification will be sent one time. When <data_mode> was set to 0 (Do not
display data in URC), the controlling software must read the buffer with KUDPRCV
in order to activate the notification again.
When <data_mode> was set to 1, <ndata_available> will range from 1 – 1500 in
the URC. If the user application sends over 1500 bytes of data to the module, the
module will display those data with several URCs. It is possible for other
applications (e.g. from Windows) to send more than 1472 bytes UDP packets to
the module but the packet will be segmented and reassembled by the network
stack.
When <data_mode> is set to 1, URC “+KUDP_RCV” will not be displayed after
“+KUDP_DATA”.
When <data_mode> was set to 1, the fields <udp remote address> and <udp
remote port> will be displayed in URC “+KUDP_DATA”. When <data_mode> was
set to 0, they will be displayed in URC “+KUDP_RCV”.
See section 16.6.3 Use Cases for KTCP_DATA and KUDP_DATA for use cases
for KTCP_DATA and KUDP_DATA.