Main of Performance_Analyzer application.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <stdlib.h>
#include "tal.h"
#include "tal_helper.h"
#include "ieee_const.h"
#include "app_init.h"
#include "app_peer_search.h"
#include "app_per_mode.h"
#include "app_range_mode.h"
#include "perf_api_serial_handler.h"
#include "app_config.h"
#include "sio2host.h"
#include "board.h"
#include "performance_main.h"
Data Structures | |
struct | state_function_t |
This structure forms the jump table to address various main states in this application. More... | |
Functions | |
void | app_alert () |
static void | app_task (void) |
Application task. More... | |
void | config_node_ib (void) |
Function to init the information base for device. More... | |
void | performance_analyzer_init (void) |
Init function of the Performance Analyzer application. More... | |
void | performance_analyzer_task (void) |
This task needs to be called in a while(1) for performing Performance Analyzer tasks. More... | |
void | set_main_state (main_state_t state, void *arg) |
Function to set the main state of state machine. More... | |
void | tal_ed_end_cb (uint8_t energy_level) |
void | tal_rx_frame_cb (frame_info_t *frame) |
User call back function for frame reception. More... | |
void | tal_tx_frame_done_cb (retval_t status, frame_info_t *frame) |
User call back function for frame transmission. More... | |
retval_t | transmit_frame (uint8_t dst_addr_mode, uint8_t *dst_addr, uint8_t src_addr_mode, uint8_t msdu_handle, uint8_t *payload, uint16_t payload_length, uint8_t ack_req) |
Function to transmit frames as per 802.15.4 std. More... | |
Variables | |
volatile node_ib_t | node_info |
static state_function_t const | state_table [NUM_MAIN_STATES] |
static uint8_t | storage_buffer [LARGE_BUFFER_SIZE] |