Defines

gazell/common/gzp_params_templ.h File Reference

Go to the source code of this file.

Defines

#define GZP_SECRET_KEY   {1, 5, 45, 7, 26, 68, 12, 2, 13, 73, 34, 62, 24 45, 25, 77}
#define GZP_CHANNEL_LOW   2
#define GZP_CHANNEL_HIGH   79
#define GZP_ADDRESS   6, 4, 2, 43
#define GZP_POWER   HAL_NRF_18DBM
#define GZP_REQ_TX_TIMEOUT   200
#define GZP_MAX_BACKOFF_PACKETS   100
#define GZP_TX_ACK_WAIT_TIMEOUT   (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + 50)
#define GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT   ((GZP_REQ_TX_TIMEOUT / 2) + 50)
#define GZP_NOT_PROXIMITY_BACKOFF_RX_TIMEOUT   (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + GZP_STEP1_RX_TIMEOUT)
#define GZP_STEP1_RX_TIMEOUT   (((GZP_REQ_TX_TIMEOUT / 2) + GZP_TX_ACK_WAIT_TIMEOUT) + 50)
#define GZP_CHANNEL_MIN   2
#define GZP_CHANNEL_MAX   80
#define GZP_CHANNEL_SPACING_MIN   5
#define GZP_PARAMS_STORAGE_ADR   0xFC00
#define GZP_DEVICE_PARAMS_STORAGE_SIZE   1024

Define Documentation

#define GZP_SECRET_KEY   {1, 5, 45, 7, 26, 68, 12, 2, 13, 73, 34, 62, 24 45, 25, 77}

Definition of "secret key" used during "Host ID exchange".

Definition at line 25 of file gzp_params_templ.h.

#define GZP_CHANNEL_LOW   2

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 34 of file gzp_params_templ.h.

#define GZP_CHANNEL_HIGH   79

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 41 of file gzp_params_templ.h.

#define GZP_ADDRESS   6, 4, 2, 43

Definition of the static "global" pairing address.

Definition at line 46 of file gzp_params_templ.h.

#define GZP_POWER   HAL_NRF_18DBM

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

Definition at line 51 of file gzp_params_templ.h.

#define GZP_REQ_TX_TIMEOUT   200

Definition of pairing request timeout.

Definition at line 56 of file gzp_params_templ.h.

#define GZP_MAX_BACKOFF_PACKETS   100

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

Definition at line 61 of file gzp_params_templ.h.

#define GZP_TX_ACK_WAIT_TIMEOUT   (GZP_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 67 of file gzp_params_templ.h.

#define GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT   ((GZP_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 73 of file gzp_params_templ.h.

#define GZP_NOT_PROXIMITY_BACKOFF_RX_TIMEOUT   (GZP_CLOSE_PROXIMITY_BACKOFF_RX_TIMEOUT + GZP_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 79 of file gzp_params_templ.h.

#define GZP_STEP1_RX_TIMEOUT   (((GZP_REQ_TX_TIMEOUT / 2) + GZP_TX_ACK_WAIT_TIMEOUT) + 50)

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

Definition at line 85 of file gzp_params_templ.h.

#define GZP_CHANNEL_MIN   2

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

Definition at line 90 of file gzp_params_templ.h.

#define GZP_CHANNEL_MAX   80

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

Definition at line 95 of file gzp_params_templ.h.

#define GZP_CHANNEL_SPACING_MIN   5

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

Definition at line 101 of file gzp_params_templ.h.

#define GZP_PARAMS_STORAGE_ADR   0xFC00

Non volatile memory (Flash or OTP) storage address. A device will require GZP_DEVICE_PARAMS_STORAGE_SIZE bytes of memory, and Host 11 bytes.

Definition at line 108 of file gzp_params_templ.h.

#define GZP_DEVICE_PARAMS_STORAGE_SIZE   1024

Number of bytes available for parameter storage in Device.

Definition at line 115 of file gzp_params_templ.h.