nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Device/Host example

Host

This project requires that a Device running the gzll_device_ack_payload_example be used as a counterpart for receiving the data. This can be on either nRF51 device or a nRF24Lxx device running the gzll_device_ack_payload example in the nRFgo SDK.

This example listens for a packet and sends an ACK when a packet is received. The contents of the first payload byte of the received packet is output on the GPIO Port BUTTONS. The contents of GPIO Port LEDS are sent in the first payload byte (byte 0) of the ACK packet.

Device

This project requires that a Host running the gzll_host_ack_payload_example example be used as a counterpart for receiving the data. This can be on either nRF51 device or a nRF24Lxx device running the gzll_host_ack_payload example in the nRFgo SDK.

This example sends a packet and adds a new packet to the TX queue every time it receives an ACK. Before adding a packet to the TX queue, the contents of the GPIO Port BUTTONS is copied to the first payload byte (byte 0). When an ACK is received, the contents of the first payload byte of the ACK are output on GPIO Port LEDS.