Version latest

11 Send and receive data

NORA-W36 supports several modes for sending and receiving data:
  • String mode
    • All readable ASCII characters (0x21-0x7E, 0xA1-0xFF)
    • Use when sending data in plain text format. For example, when using JSON, HTML, or NMEA.
  • Binary mode
    • All types of characters (0x00-0xFF)
    • Use when all types of data is needed. For example, in binary content using file upload and download.
  • Transparent mode
    • All types of characters (0x00-0xFF)
  • Transparent mode has best performance, due to no wait states
  • Direct mode is faster than Buffered mode
  • Binary mode is faster than String mode
To receive data without an event and read it out, the read mode can be changed to direct mode AT+USORM=1

11.1 String mode

Socket receive mode
SyntaxAT+USORM=<receive_mode>
  • 0: Buffered mode
    • +UESODA - Socket Data Available Event, default mode
  • 1: Direct string mode
    • +UESODS - Socket Data Binary Event: Incoming on TCP socket data represented as a string
    • +UESODSF - Socket Data Binary From Event: Incoming on UDP socket data represented as a string
SPS Receive data mode
SyntaxAT+USPSRM=<receive_mode>
  • 0: Buffered mode
    • +UESPSDA SPS Data Available event, default mode
  • 1: Direct string mode
    • +UESPSDS - SPS Data String event

11.1.1 Socket write string

SyntaxAT+USOWS=<socket_handle>,<string_data>
Example to write socket data
Nr
Instructions
AT command
AT event
1
Write Socket data in string format size
AT+USOWS=0,"HellofromNORA-W36"

11.1.2 Socket read string

SyntaxAT+USORS=<socket_handle>,<length>+USORS:<socket_handle>,<length>,<string_data>
Example to read socket data
Nr
Instructions
AT command
AT event
1
Incoming Socket data
+UESODA:0,19
2
Reads incoming Socket data in string format
AT+USORS=0,19
+USORS:0,19,"HellofromNORA-W36"

11.1.3 SPS write string

SyntaxAT+USPSWS=<conn_handle>,<string_data>
Example to write SPS data
Nr
Instructions
AT command
AT event
1
Write SPS data in string format size
AT+USPSWS=0,"HellofromNORA-W36"

11.1.4 SPS read string

SyntaxAT+USPSRS=<socket_handle>,<length>+USPSRS:<socket_handle>,<length>,<string_data>
Example to read SPS data
Nr
Instructions
AT command
AT event
1
Incoming SPS data
+UESPSDA:0,19
2
Reads incoming SPS data in string format
AT+USPSRS=0,19
+USPSRS:0,19,"HellofromNORA-W36"

11.2 Binary mode

The binary mode should be used when binary content is transmitted, like files and binary protocols.
See Binary data for more infomation about the format of the data.
Socket receive mode
SyntaxAT+USORM=<receive_mode>
  • 0: Buffered mode
    • +UESODA - Socket Data Available Event, default mode
  • 2: Direct binary mode
    • +UESODB - Socket Data Binary Event: Incoming on TCP socket data represented as binary data
    • +UESODBF - Socket Data Binary From: Incoming on UDP socket data represented as binary data
SPS receive mode
SyntaxAT+USPSRM=<receive_mode>
  • 0: Buffered mode
    • +UESPSDA SPS Data Available event, default mode
  • 2: Direct binary mode
    • +UESPSDB - SPS Data Binary event
See more infomation about Binary Data.

11.2.1 Socket write binary

AT+USOWB=<socket_handle>{binary_data}
Example to write socket data
Nr
Instructions
AT command
AT event
1
Write Socket data in binary format size
AT+USOWB=0\x01\x00\x13HellofromNORA-W36

11.2.2 Socket read binary

SyntaxAT+USORB=<socket_handle>,<length>
+USORS:<socket_handle>{binary_data}
Example to read socket data
Nr
Instructions
AT command
AT event
1
Incoming Socket data
+UESODA:0,19
2
Reads incoming Socket data in binary format
AT+USORB=0,19
+USORB:0\x01\x00\x13HellofromNORA-W36

11.2.3 SPS write binary

SyntaxAT+USPSWS=<conn_handle>{binary_data}
Example to write SPS data
Nr
Instructions
AT command
AT event
1
Write SPS data in binary format size
AT+USPSWB=0\x01\x00\x13HellofromNORA-W36

11.2.4 SPS read binary

SyntaxAT+USORB=<socket_handle>,<length>
+USORB:<socket_handle>{binary_data}
Example to read SPS data
Nr
Instructions
AT command
AT event
1
Incoming SPS data
+UESPSDA:0,19
2
Reads incoming SPS data in binary format
AT+USPSRB=0,19
+USPSRB:0\x01\x00\x13HellofromNORA-W36

11.3 Transparent mode

Transparent mode (TM) works in the same way as Data mode in legacy products. Note that only one connection of TCP, UDP (Wi-Fi), or SPS (BLE) is allowed.

11.3.1 Transparent mode

To enter Transparent Mode the AT command AT+UTM is used with the option to use TCP, UDP or SPS.
SyntaxAT+UTM=<link_type>,<handle>
Example for SPS: AT+UTM=0,0OKTransparent mode has started+++OKBack in AT mode
Example for TCP socket: AT+UTM=1,0OKTransparent mode has started+++OKBack in AT mode
Until the escape secqence +++ is sent, all data received on the UART will be sent unmodified to the remote device on the specific connection selected.

11.3.2 Transparent mode persistent

Like the Transparent Mode (TM) the Transparent Mode Persistent (TMP) works in the same way as Data Mode in legacy u-blox short range products. Note that only one connection of TCP, UDP (Wi-Fi), or SPS (Bluetooth LE) is allowed in this mode. The only difference with TM and TMP is that TMP can be stored in flash and connect at startup.
To enter TMP, the AT+UTMP command is used - with the option to use TCP, UDP, or SPS.
SyntaxAT+UBTP=<bd_addr>,<connect_sps>AT+UTMP=<link_type>,<config_id>
Example for SPS
Nr
Instructions
AT command
AT event
1
Enter the remote Bluetooth LE address to connecting device
AT+UBTP=BBBBBBBBBBBB,1
+UBTP:200
2
Enable Persistant on the connection
AT+UTMP=0,200
3
Store settings
AT&W
4
Reset the module
AT+CPWROFF
5
Wait for NORA-W36 to startup
+STARTUP
6
Transparent Mode Persistent has started
7
Exit Transparent Mode using escape sequence
+++
Example for TCP socket
Nr
Instructions
AT command
AT event
1
Create a Persistent TCP Socket
AT+USOPCR=6
+USOPCR:100
2
Set the IP Address and Port for the connection
AT+USOP=100,192.168.0.26,5003
3
Enable Persistant on the connection
AT+UTMP=1,100
4
Set up Wi-Fi Connection like in steps 1-5 in Wi-Fi station
5
Store settings
AT&W
6
Reset the module
AT+CPWROFF
7
Wait for NORA-W36 to startup
+STARTUP
8
Transparent Mode Persistent has started
9
Exit Transparent Mode using escape sequence
+++
Until the escape sequence +++ is sent, all data received on the UART will be sent unmodified to the remote device on the specific connection selected.

Last updated: 25 August 2025
Need help?Contact Support
Questions?Contact us