2 - Sending Messages

Messages sent from an end device to a network server via one or more nearby gateways are referred to as uplinks.

In this book, you learn the rules and best practices to follow when sending uplinks from your end device using the LoRaWAN® 1.0.4 specification.

Sending MAC Commands

Receive Window Parameters Setup Answer (RXParamSetupAns)

The end device sends the RXParamSetupAns command in response to the RXParamSetupReq command. The network server sends the RXParamSetupReq command to request updates to the data rate offset between the uplink and the first receive window (RX1), as well as the frequency and data rate for the second receive window following an uplink (RX2). The RXParamSetupAns command indicates whether the end device successfully applied the requested settings.

Learn more in Section 5.4, ‘Receive Windows Parameters’ (page 33) of the LoRaWAN® Link Layer Specification v1.0.4.

Warning

To avoid loss of connectivity, after the RXParamSetupReq command is received the RXParamSetupAns response must be sent with every single uplink until a Class A downlink is received back from the network server.