nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Gazell Pairing Host with Dynamic Pairing

Gazell Link Layer Device using Gazell Pairing for adding dynamic pairing functionality. : This project requires a running counterpart project, which is either a: More...

Functions

int main (void)
 Main function. More...
 

Configuration

#define UNENCRYPTED_DATA_PIPE   2
 Pipes 0 and 1 are reserved for GZP pairing and data. See nrf_gzp.h.
 
#define NRF_GZLLDE_RXPERIOD_DIV_2   504
 RXPERIOD/2 on LU1 = timeslot period on nRF51.
 
#define BUTTONS   NRF_GPIO_PORT_SELECT_PORT0
 GPIO port for reading from buttons.
 
#define LEDS   NRF_GPIO_PORT_SELECT_PORT1
 GPIO port for writing to LEDs.
 

Detailed Description

1) nRF24Lxx Device running the gzll_device_w_dynamic_pairing example from the compatible version of the nRFgo SDK, or a

2) nRF51 Device running the gzp_device_dynamic_pairing_example example.

The application listens for packets continuously, monitoring for pairing requests as well as normal user data.

The Gazell pairing library uses pipe 0 and pipe 1 for encrypted communication. The application will grant any request for a Host ID, thus granting pairing. Unencrypted packets can be received on pipe 2.

When DATA is received, the contents of the first payload byte of the are output on GPIO Port LEDS.

Function Documentation

int main ( void  )
Returns
ANSI required int return type.

< Payload to send to Host.