This project requires that a Device running the Gazell Link Layer Device with Payload in ACK 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.
- Returns
- ANSI required int return type.
This callback is made when a Host receives a data packet from a Device.
- Parameters
-
pipe | is the pipe on which the data packet was received. |
rx_info | struct used to indicate whether a payload was removed from the pipe's TX FIFO, as well as RSSI. |
This callback is made when the Device receives an ACK (acknowledgement) packet.
- See Also
- nrf_gzll_ack_payload_received.
- Parameters
-
pipe | is the pipe on which an ACK packet was received. |
tx_info | struct used to indicate whether a payload was received in the ack, as well as the number of TX attempts and channel switches required. |
This callback is made when a packet does not receive an ACK after nrf_gzll_max_retries is reached. The packet is deleted by Gazell.
- Parameters
-
pipe | is the pipe on which the transmission failed. |
tx_info | struct used to indicate whether a payload was received in the ack, as well as RSSI and the number of TX attempts and channel switches required. |
void nrf_gzll_disabled |
( |
void |
| ) |
|
This is called after Gazell enters the disabled state. There is no further CPU use by Gazell, the radio is disabled and the timer is powered down.