ismrx 2.0.0.0
|
ISMRX Click example. More...
Macros | |
#define | MAN_BUF_SIZE 300 |
#define | DATA_BUF_SIZE 50 |
#define | PREAMBLE_STRING "0101010101010101" |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
ISMRX Click example.
This application shows capability of ISM RX Click board. It sets default configuration, and collects and processes data from signal that received from ISM TX Click board. It can collect and process data from 2 type of the signal modulation( FSK and ASK ).
The demo application is composed of two sections :
Initialization of log and communication, set's signal modulation(FSK/ASK), recive mode(continuous/discontinuous), default configuration for selected modulation, and reinitializes device for receiving mode.
Collects samples of data from data line(MISO) when buffer is full converts samples to manchester encoded data, and checks for preamble(sync) data. If data is valid decodes data and converts bits to valid data and logs result of received decoded data.
#define DATA_BUF_SIZE 50 |
#define MAN_BUF_SIZE 300 |
#define PREAMBLE_STRING "0101010101010101" |
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 | ) |