Display for the P-NUCLEO-LRWAN3:
VERSION: 2.1.7, Nov 6 2018
LOG: OFF
AT ECHO: ON
BAUDRATE: 115200bps
MACADDR: xx:xx:xx:xx:xx:xx
ETHERNET: DHCP
DNS1: 114.114.114.114
DNS2: 8.8.8.8
NTP SERVER: 1.ubuntu.pool.ntp.org
EUI PADDING: {3, FF}, {4, FF}
GATEWAY ID: XXXXXXXXXXXXXXXX
LORAWAN: Public
LORAWAN SERVER: cn1.loriot.io
UPLINK UDP PORT: 1780
DOWNLINK UDP PORT: 1780
CHANNEL0: 471500000, A, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL1: 471700000, A, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL2: 471900000, A, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL3: 472100000, A, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL4: 472300000, A, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL5: 472500000, B, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL6: 472700000, B, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL7: 472900000, B, SF7/SF12, BW125KHz (LORA_MULTI_SF)
CHANNEL8: OFF (LORA_STANDARD)
CHANNEL9: OFF (FSK)
6.3
Changing the LoRaWAN
®
server, MAC address, and gateway EUI
By default, the gateway is configured to forward packets to Loriot network server. It is possible to use other
servers that support the Semtech packet forwarder protocol. Use the following commands to change the settings:
•
AT+PKTFWD
Changes the packet forwarder server address and port. Refer to
for some of the available server
addresses and uplink/downlink ports.
AT+PKTFWD=address,port_up,[port_down]
–
Example for Loriot AP1 server – Singapore:
AT+PKTFWD=ap1.loriot.io,1780,1780
+PKTFWD: ap1.loriot.io, 1780, 1780
•
AT+MAC
Changes the MAC address if needed.
AT+MAC=mac_address
–
Example:
AT+MAC=001122334455
+MAC: 00:11:22:33:44:55
•
AT+MEUI
Sets the gateway EUI by adding paddings at specific positions of the Ethernet MAC address.
AT+EUI=pos0,val0_hex,pos1,val1_hex
–
Example:
AT+MAC
+MAC: 00:11:22:33:44:55
AT+EUI=3,FF,4,FF
+EUI: 0, FF, 1, FE, 001122FFFF334455
AT+RESET
The gateway ID becomes 001122FFFF334455.
UM2587
Changing the LoRaWAN® server, MAC address, and gateway EUI
UM2587
-
Rev 3
page 33/55