L2 AT Commands
The content of Acklio FullSDK can be described in its simplistic view as an adaptation layer with the SCHC mechanisms, and a set of interfaces: the Management API, the Datagram API, the Network API and the L2A interface.
Refer to the diagram of layers and interfaces for a better understanding.
Most of the commands related to the L2 layers are commands implemented by Nordic semiconductor and are thus already documented in their infocenter.
Acklio L2 Commands to Set the SDK L2 Parameters
What | Set | Get |
---|---|---|
Command | AT#SETLTWO=<udp, [ip, port]> | AT#SETLTWO? |
Parameter | <udp> - Boolean (0 or 1 ) If set to 0 NIDD connectivity is used, otherwise it is IPv4/UDP connectivity | — |
Parameter | <ip> - IPv4 address If udp set to 1 | — |
Parameter | <port> - Port If udp set to 1 | — |
Result codes | OK | — |
ERROR | — |
Nordic L2 Commands
Command | Link to Nordic InfoCenter | Description |
---|---|---|
AT%XSYSTEMMODE | InfoCenter | Allows configuring which types of connectivity are enabled (LTE-M, NB-IoT, GNSS, LTE). |
AT+CEREG | InfoCenter | Configures the subscription to URCs (Unsolicited Result Codes) for network status. This command should be called with parameter 5 so that the SDK can process connectivity events correctly. |
AT+CGDCONT | InfoCenter | Defines PDP context |
AT+CFUN | InfoCenter | Sets the modem functional mode |