
-34-
v7.0
Connectivity
Figure: ACK structure inside a packet structure
Send packets in unicast mode and wait for a response:
www.libelium.com/development/waspmote/examples/sx-03a-tx-lora-ack
Send packets in unicast mode, wait for a response and retry to send the packet if there is no response:
www.libelium.com/development/waspmote/examples/sx-04a-tx-lora-ackwretries
11.5. Receiving data
Normally, the only receiver node in a network is the central node.
Receiving data in Waspmote is a complex process which needs some special structures to carry out. These operations are
transparent to the API user, so it is going to be explained the necessary information to be able to read properly a received packet.
Before any packet has been received, an structure of
pack
is created. This pack is called
packet_received
.
The size of this array is defined by a field in the structure.