ookrx 2.1.0.0
|
OOK RX Click Example. More...
Macros | |
#define | OOKRX_PREAMBLE 0x5AA5 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
OOK RX Click Example.
This example demonstrates the use of OOK RX click board by reading and parsing packet messages received from the transmitter.
The demo application is composed of two sections :
Initializes the driver and enables the device and squelch mode.
Waits for a data ready indication, then reads all packet data, verifies the CRC bytes in a packet, and displays its data as well as the RSSI value on the USB UART.
#define OOKRX_PREAMBLE 0x5AA5 |
Packet preamble word.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |