Microchip® Advanced Software Framework

mac_mcps_data.c File Reference

Handles MCPS related primitives and frames.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include "return_val.h"
#include "pal.h"
#include "bmm.h"
#include "qmm.h"
#include "tal.h"
#include "ieee_const.h"
#include "mac_msg_const.h"
#include "mac_api.h"
#include "mac_msg_types.h"
#include "mac_data_structures.h"
#include "stack_config.h"
#include "mac_internal.h"
#include "mac.h"
#include "mac_build_config.h"

Macros

#define FRAME_COUNTER_LEN   (0x04)
 

Functions

static retval_t build_data_frame (mcps_data_req_t *pmdr, frame_info_t *frame)
 
void mac_gen_mcps_data_conf (buffer_t *buf, uint8_t status, uint8_t handle, uint32_t timestamp)
 
void mac_process_data_frame (buffer_t *buf_ptr)
 Processes data frames. More...
 
void mcps_data_request (uint8_t *msg)
 Builds the data frame for transmission. More...
 

#define FRAME_COUNTER_LEN   (0x04)