Defines

projects/nrfgo_sdk/gazell_examples/params/gzpair_params.h File Reference

Gazell pairing library parameters template file. More...

Go to the source code of this file.

Defines

#define GZPAIR_XOR_CIPHER_KEY   {56, 56, 78, 18, 98, 26, 89, 14, 48, 95, 26, 11, 59, 29, 44, 27}
#define GZPAIR_CHANNEL_LOW   3
#define GZPAIR_CHANNEL_HIGH   77
#define GZPAIR_ADDRESS   {1, 2, 3, 4, 5}
#define GZPAIR_POWER   HAL_NRF_18DBM
#define GZPAIR_REQ_TX_TIMEOUT   200
#define GZPAIR_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT   ((GZPAIR_REQ_TX_TIMEOUT / 2) + 50)
#define GZPAIR_TX_ACK_WAIT_TIMEOUT   (GZPAIR_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + 50)
#define GZPAIR_STEP1_RX_TIMEOUT   (((GZPAIR_REQ_TX_TIMEOUT / 2) + GZPAIR_TX_ACK_WAIT_TIMEOUT) + 50)
#define GZPAIR_NOT_PROXIMITY_BACKOFF_RX_TIMEOUT   (GZPAIR_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + GZPAIR_STEP1_RX_TIMEOUT)
#define GZPAIR_MAX_BACKOFF_PACKETS   100
#define GZPAIR_CHANNEL_MIN   2
#define GZPAIR_CHANNEL_MAX   80
#define GZPAIR_CHANNEL_SPACING_MIN   5
#define GZPAIR_FLASH_PARAMETER_PAGE   31
#define GZPAIR_EEPROM_BASE_ADDRESS   0

Detailed Description

Gazell pairing library parameters template file.

Definition in file gzpair_params.h.


Define Documentation

#define GZPAIR_XOR_CIPHER_KEY   {56, 56, 78, 18, 98, 26, 89, 14, 48, 95, 26, 11, 59, 29, 44, 27}

Definition of secret xor cipher vector used for encrypting AES key exchange during pairing.

Definition at line 25 of file gzpair_params.h.

#define GZPAIR_CHANNEL_LOW   3

Definition of the first static selected pairing channel. Should be located in the lower Nth of the channel range, where N is the size if the channel subset selected by the application.

Definition at line 32 of file gzpair_params.h.

#define GZPAIR_CHANNEL_HIGH   77

Definition of the second static selected pairing channel. Should be located in the upper Nth of the channel range, where N is the size if the channel subset selected by the application.

Definition at line 39 of file gzpair_params.h.

#define GZPAIR_ADDRESS   {1, 2, 3, 4, 5}

Definition of the static "global" pairing address.

Definition at line 44 of file gzpair_params.h.

#define GZPAIR_POWER   HAL_NRF_18DBM

Definition of output power to be used when sendning a pairing request.

Definition at line 49 of file gzpair_params.h.

#define GZPAIR_REQ_TX_TIMEOUT   200

Definition of pairing request timeout.

Definition at line 54 of file gzpair_params.h.

#define GZPAIR_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT   ((GZPAIR_REQ_TX_TIMEOUT / 2) + 50)

Definition of the period a device in close proximity shall back off on the pairing address after a backoff packet has been received.

Definition at line 60 of file gzpair_params.h.

#define GZPAIR_TX_ACK_WAIT_TIMEOUT   (GZPAIR_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + 50)

Definition of the period a device shall wait before attempting to send the packet for fetching the pairing response (step 1).

Definition at line 66 of file gzpair_params.h.

#define GZPAIR_STEP1_RX_TIMEOUT   (((GZPAIR_REQ_TX_TIMEOUT / 2) + GZPAIR_TX_ACK_WAIT_TIMEOUT) + 50)

Definition of the time the host resides witinb for a device to complete transmission of the pairing request step 1 packet.

Definition at line 72 of file gzpair_params.h.

#define GZPAIR_NOT_PROXIMITY_BACKOFF_RX_TIMEOUT   (GZPAIR_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + GZPAIR_STEP1_RX_TIMEOUT)

Definition of the period a device NOT in close proximity shall back off on the pairing address after a backoff packet has been received.

Definition at line 78 of file gzpair_params.h.

#define GZPAIR_MAX_BACKOFF_PACKETS   100

Definition of the maximimum number of "backoff" packets (step 0) to be transmitted.

Definition at line 83 of file gzpair_params.h.

#define GZPAIR_CHANNEL_MIN   2

Definition of the lowest boundary for the channel range to be used.

Definition at line 88 of file gzpair_params.h.

#define GZPAIR_CHANNEL_MAX   80

Definition of the upper boundary for the channel range to be used.

Definition at line 93 of file gzpair_params.h.

#define GZPAIR_CHANNEL_SPACING_MIN   5

Definition of the minimum channel spacing for the channel subset generated during pairing.

Definition at line 99 of file gzpair_params.h.

#define GZPAIR_FLASH_PARAMETER_PAGE   31

Definition of the flash page to be reserved for pairing parameter storage in a when using the nRF24LU1.

Definition at line 105 of file gzpair_params.h.

#define GZPAIR_EEPROM_BASE_ADDRESS   0

Definition of the start address for the pairing data stored in non volatile memory on a nrf24LE1 using lib_eeprom255.

Definition at line 111 of file gzpair_params.h.