MiWi P2P & STAR Protocol Implementation.
Copyright (c) 2018 - 2022 Microchip Technology Inc. and its subsidiaries.
#include "system.h"
#include "miwi_config.h"
#include "miwi_config_p2p.h"
#include "miwi_p2p_star.h"
#include "mimac_at86rf.h"
#include "mimem.h"
#include "delay.h"
#include "pdsDataServer.h"
#include "wlPdsTaskManager.h"
#include "miqueue.h"
#include "string.h"
Data Structures | |
struct | _gEstConnection |
struct | _gSearchConnection |
struct | _resyncConnection |
struct | _TxFrame_t |
struct | _TxFrameEntry_t |
Macros | |
#define | CONNECTION_TABLE_LOST_MAX 2 |
#define | MAX_LINK_STATUS_FAILURES 3 |
#define | PROTOCOL_TIMER_INTERVAL 1000 |
#define | RECEIVE_ON_WHEN_IDLE 0x01 |
#define | SECURITY_INFO 0x80 |
Typedefs | |
typedef struct _gEstConnection | gEstConnection_t |
typedef struct _gSearchConnection | gSearchConnection_t |
typedef struct _resyncConnection | resyncConnection_t |
typedef struct _TxFrame_t | TxFrame_t |
typedef struct _TxFrameEntry_t | TxFrameEntry_t |
Functions | |
uint8_t | AddConnection (uint8_t capacityInfo) |
static void | CommandConfCallback (uint8_t msgConfHandle, miwi_status_t status, uint8_t *msgPointer) |
static void | connectionRespConfCallback (uint8_t msgConfHandle, miwi_status_t status, uint8_t *msgPointer) |
static void | connReqConfCallback (uint8_t msgConfHandle, miwi_status_t status, uint8_t *msgPointer) |
static void | frameParse (MAC_RECEIVED_PACKET *macRxPacket) |
bool | frameTransmit (INPUT bool Broadcast, API_UINT16_UNION DestinationPANID, INPUT uint8_t *DestinationAddress, INPUT bool isCommand, INPUT bool SecurityEnabled, INPUT uint8_t msgLen, INPUT uint8_t *msgPtr, INPUT uint8_t msghandle, INPUT bool ackReq, INPUT DataConf_callback_t ConfCallback) |
static void | frameTxCallback (uint8_t handle, miwi_status_t status, uint8_t *msgPointer) |
bool | isSameAddress (INPUT uint8_t *Address1, INPUT uint8_t *Address2) |
void | macAckOnlyDataCallback (uint8_t handle, miwi_status_t status, uint8_t *msgPointer) |
void | MiApp_ConnectionMode (INPUT uint8_t Mode) |
uint8_t | MiApp_EstablishConnection (uint8_t Channel, uint8_t addr_len, uint8_t *addr, uint8_t Capability_info, connectionConf_callback_t ConfCallback) |
bool | MiApp_Get (miwi_params_t id, uint8_t *value) |
miwi_status_t | MiApp_ProtocolInit (defaultParametersRomOrRam_t *defaultRomOrRamParams, defaultParametersRamOnly_t *defaultRamOnlyParams) |
void | MiApp_RemoveConnection (INPUT uint8_t ConnectionIndex) |
bool | MiApp_ResetToFactoryNew (void) |
bool | MiApp_SendData (uint8_t addr_len, uint8_t *addr, uint8_t msglen, uint8_t *msgpointer, uint8_t msghandle, bool ackReq, bool secEnabled, DataConf_callback_t ConfCallback) |
bool | MiApp_Set (miwi_params_t id, uint8_t *value) |
bool | MiApp_StartConnection (uint8_t Mode, uint8_t ScanDuration, uint32_t ChannelMap, connectionConf_callback_t ConfCallback) |
bool | MiApp_SubscribeDataIndicationCallback (PacketIndCallback_t callback) |
bool | MiApp_SubscribeReConnectionCallback (ReconnectionCallback_t callback) |
void | P2PTasks (void) |
static void | protocolTimerHandler (SYS_Timer_t *timer) |
static void | protocolTimerInit (void) |
static void | removeConnection (uint8_t index) |
static miwi_status_t | sendConnectionRequest (void) |
static void | startCompleteProcedure (bool timeronly) |
uint8_t | Total_Connections (void) |
#define CONNECTION_TABLE_LOST_MAX 2 |
#define MAX_LINK_STATUS_FAILURES 3 |
#define PROTOCOL_TIMER_INTERVAL 1000 |
Referenced by protocolTimerInit().
#define RECEIVE_ON_WHEN_IDLE 0x01 |
#define SECURITY_INFO 0x80 |
typedef struct _gEstConnection gEstConnection_t |
typedef struct _gSearchConnection gSearchConnection_t |
typedef struct _resyncConnection resyncConnection_t |
typedef struct _TxFrame_t TxFrame_t |
typedef struct _TxFrameEntry_t TxFrameEntry_t |
uint8_t AddConnection | ( | uint8_t | capacityInfo | ) |
References ADDITIONAL_NODE_ID_SIZE, __CONNECTION_ENTRY::Address, __CONNECTION_STATUS::bits, conn_size, CONNECTION_SIZE, __defaultParametersRomOrRam::ConnectionTable, ConnMode, ENABLE_PREV_CONN, i, isSameAddress(), __CONNECTION_STATUS::_CONNECTION_STAUTS_bits::isValid, LatestConnection, MyindexinPC, RECEIVED_MESSAGE::Payload, RECEIVED_MESSAGE::PayloadSize, PDS_EDC_ID, PDS_Store(), __CONNECTION_ENTRY::PeerInfo, __CONNECTION_STATUS::_CONNECTION_STAUTS_bits::RXOnWhenIdle, RECEIVED_MESSAGE::SourceAddress, __CONNECTION_ENTRY::status, STATUS_ACTIVE_SCAN, STATUS_EXISTS, STATUS_NOT_ENOUGH_SPACE, STATUS_SUCCESS, Total_Connections(), and API_UINT32_UNION::Val.
Referenced by frameParse().
|
static |
References MiMem_Free().
Referenced by frameParse(), macAckOnlyDataCallback(), and removeConnection().
|
static |
References MiMem_Free().
Referenced by frameParse().
|
static |
References CONNECTION_INTERVAL, _gEstConnection::connectionRetries, connectionTimeInterval, SYS_Timer_t::handler, SYS_Timer_t::interval, MiMem_Free(), SYS_Timer_t::mode, RFD_DATA_WAIT, sendConnectionRequest(), SUCCESS, SYS_TIMER_INTERVAL_MODE, and SYS_Timer_t::timeout.
Referenced by sendConnectionRequest().
|
static |
References _DataFrame_t::ackReq, _gSearchConnection::activeScanResultIndex, __defaultParametersRomOrRam::ActiveScanResults, AddConnection(), ADDITIONAL_NODE_ID_SIZE, __defaultParametersRomOrRam::AdditionalNodeID, __CONNECTION_ENTRY::Address, ACTIVE_SCAN_RESULT::Address, ALREADY_EXISTS, __CONNECTION_STATUS::bits, MAC_RECEIVED_PACKET::bits, RECEIVED_MESSAGE::bits, _DataFrame_t::broadcast, ACTIVE_SCAN_RESULT::Capability, ACTIVE_SCAN_RESULT::Channel, CMD_CHANNEL_HOPPING, CMD_MAC_DATA_REQUEST, CMD_P2P_ACTIVE_SCAN_REQUEST, CMD_P2P_ACTIVE_SCAN_RESPONSE, CMD_P2P_CONNECTION_REMOVAL_REQUEST, CMD_P2P_CONNECTION_REMOVAL_RESPONSE, CMD_P2P_CONNECTION_REQUEST, CMD_P2P_CONNECTION_RESPONSE, CommandConfCallback(), _resyncConnection::confCallback, _DataFrame_t::confCallback, CONNECTION_SIZE, connectionRespConfCallback(), _gEstConnection::connectionRetries, __defaultParametersRomOrRam::ConnectionTable, ConnMode, currentChannel, _P2PStarDataFrame_t::dataFrame, _DataFrame_t::destAddress, ENABLE_ACTIVE_SCAN_RSP, ENABLE_PREV_CONN, ESTABLISHING_NETWORK, FAILURE, MAC_RECEIVED_PACKET::flags, RECEIVED_MESSAGE::flags, frameTransmit(), _DataFrame_t::fromEDToED, i, IEEE_802_15_4, IN_NETWORK_STATE, INDIRECT_MESSAGE_TIMEOUT, isSameAddress(), __CONNECTION_STATUS::_CONNECTION_STAUTS_bits::isValid, LatestConnection, LONG_ADDR_LEN, MAC_RECEIVED_PACKET::LQIValue, ACTIVE_SCAN_RESULT::LQIValue, macAckOnlyDataCallback(), MiApp_CB_AllowConnection, MiMAC_SetAltAddress(), MiMem_Alloc(), MiMem_Free(), MiMem_PercentageOfFreeBuffers(), miQueueAppend(), miQueueRemove(), MIWI_ALL_MEMORY_MEM_ID, _DataFrame_t::msg, _DataFrame_t::msghandle, _DataFrame_t::msgLength, MY_ADDRESS_LENGTH, myConnectionIndex_in_PanCo, MyindexinPC, P2PCapacityInfo, p2pStarCurrentState, PACKET_TYPE_COMMAND, PACKETLEN_P2P_ACTIVE_SCAN_RESPONSE, PACKETLEN_P2P_CONNECTION_REMOVAL_RESPONSE, RECEIVED_MESSAGE::PacketLQI, RECEIVED_MESSAGE::PacketRSSI, ACTIVE_SCAN_RESULT::PANID, MAC_RECEIVED_PACKET::Payload, RECEIVED_MESSAGE::Payload, MAC_RECEIVED_PACKET::PayloadLen, RECEIVED_MESSAGE::PayloadSize, PDS_CONNECTION_TABLE_ID, PDS_PANID_ID, PDS_Store(), ACTIVE_SCAN_RESULT::PeerInfo, pktRxcallback, RESYNC_IN_PROGRESS, _resyncConnection::resyncTimes, RFD_WAKEUP_INTERVAL, MAC_RECEIVED_PACKET::RSSIValue, ACTIVE_SCAN_RESULT::RSSIValue, __CONNECTION_STATUS::_CONNECTION_STAUTS_bits::RXOnWhenIdle, _DataFrame_t::secEnabled, MiQueue::size, MAC_RECEIVED_PACKET::SourceAddress, RECEIVED_MESSAGE::SourceAddress, MAC_RECEIVED_PACKET::SourcePANID, RECEIVED_MESSAGE::SourcePANID, _gEstConnection::status, __CONNECTION_ENTRY::status, STATUS_ACTIVE_SCAN, STATUS_ENTRY_NOT_EXIST, STATUS_EXISTS, STATUS_NOT_PERMITTED, STATUS_NOT_SAME_PAN, STATUS_SUCCESS, SUCCESS, _DataFrame_t::timeout, TX_BUFFER_SIZE, API_UINT16_UNION::Val, __CONNECTION_STATUS::Val, ACTIVE_SCAN_RESULT::Val, and RECEIVED_MESSAGE::Val.
Referenced by P2PTasks().
bool frameTransmit | ( | INPUT bool | Broadcast, |
API_UINT16_UNION | DestinationPANID, | ||
INPUT uint8_t * | DestinationAddress, | ||
INPUT bool | isCommand, | ||
INPUT bool | SecurityEnabled, | ||
INPUT uint8_t | msgLen, | ||
INPUT uint8_t * | msgPtr, | ||
INPUT uint8_t | msghandle, | ||
INPUT bool | ackReq, | ||
INPUT DataConf_callback_t | ConfCallback | ||
) |
References MAC_TRANS_PARAM::altDestAddr, MAC_TRANS_PARAM::altSrcAddr, MAC_TRANS_PARAM::bits, MAC_TRANS_PARAM::DestAddress, MAC_TRANS_PARAM::DestPANID, MAC_TRANS_PARAM::flags, _TxFrameEntry_t::frame, _TxFrameEntry_t::frameConfCallback, _TxFrameEntry_t::frameDstAddr, _TxFrameEntry_t::frameHandle, _TxFrameEntry_t::frameLength, _TxFrameEntry_t::frameParam, LONG_ADDR_LEN, MiMem_Alloc(), miQueueAppend(), PACKET_TYPE_COMMAND, PACKET_TYPE_DATA, SHORT_ADDR_LEN, _TxFrame_t::txFrameEntry, API_UINT16_UNION::Val, and MAC_TRANS_PARAM::Val.
Referenced by frameParse(), macAckOnlyDataCallback(), MiApp_SendData(), removeConnection(), and sendConnectionRequest().
|
static |
References _TxFrameEntry_t::frameConfCallback, MiMem_Free(), txCallbackReceived, and _TxFrame_t::txFrameEntry.
Referenced by P2PTasks().
References i, and MY_ADDRESS_LENGTH.
Referenced by AddConnection(), frameParse(), MiApp_SendData(), and MiMAC_ReceivedPacket().
void macAckOnlyDataCallback | ( | uint8_t | handle, |
miwi_status_t | status, | ||
uint8_t * | msgPointer | ||
) |
References __CONNECTION_ENTRY::Address, _DataFrame_t::broadcast, CommandConfCallback(), _DataFrame_t::confCallback, __defaultParametersRomOrRam::ConnectionTable, _P2PStarDataFrame_t::dataFrame, frameTransmit(), _DataFrame_t::fromEDToED, MiMem_Alloc(), MiMem_Free(), miQueueRemove(), _DataFrame_t::msg, and PACKETLEN_CMD_DATA_TO_ENDDEV_SUCCESS.
Referenced by frameParse(), and MiApp_SendData().
void MiApp_ConnectionMode | ( | INPUT uint8_t | Mode | ) |
References ConnMode, P2PCapacityInfo, PDS_CONNECTION_MODE_ID, and PDS_Store().
Referenced by Initialize_Demo().
uint8_t MiApp_EstablishConnection | ( | uint8_t | Channel, |
uint8_t | addr_len, | ||
uint8_t * | addr, | ||
uint8_t | Capability_info, | ||
connectionConf_callback_t | ConfCallback | ||
) |
References _gEstConnection::address, _gEstConnection::addrLen, _gEstConnection::backupState, CHANNEL, _gEstConnection::confCallback, CONNECTION_RETRY_TIMES, _gEstConnection::connectionRetries, ConnMode, ENABLE_ALL_CONN, ESTABLISHING_NETWORK, INITIAL_STATE, MiApp_Set(), p2pStarCurrentState, SCAN_NO_BEACON, sendConnectionRequest(), and _gEstConnection::status.
Referenced by Initialize_Demo().
bool MiApp_Get | ( | miwi_params_t | id, |
uint8_t * | value | ||
) |
References CHANNEL, currentChannel, PANID, and API_UINT16_UNION::Val.
miwi_status_t MiApp_ProtocolInit | ( | defaultParametersRomOrRam_t * | defaultRomOrRamParams, |
defaultParametersRamOnly_t * | defaultRamOnlyParams | ||
) |
References MACINIT_PARAM::actionFlags, __CONNECTION_ENTRY::Address, MACINIT_PARAM::bits, CHANNEL, CONNECTION_SIZE, __defaultParametersRomOrRam::ConnectionTable, ConnMode, currentChannel, i, IN_NETWORK_STATE, INIT_STATE, LONG_ADDR_LEN, MiApp_Set(), MiMAC_Init(), MiMAC_SetAltAddress(), miQueueInit(), MIWI_ALL_MEMORY_MEM_ID, MY_ADDRESS_LENGTH, MY_PAN_ID, myLongAddress, __defaultParametersRomOrRam::networkFreezerRestore, P2PCapacityInfo, p2pStarCurrentState, MACINIT_PARAM::PAddress, PDS_InitItems(), PDS_IsAbleToRestore(), PDS_Restore(), protocolTimerInit(), RECONNECTED, reconnectionCallback, RFD_WAKEUP_INTERVAL, startCompleteProcedure(), __CONNECTION_ENTRY::status, SUCCESS, API_UINT32_UNION::Val, API_UINT16_UNION::Val, P2P_STATUS::Val, and __CONNECTION_STATUS::Val.
Referenced by Initialize_Demo().
void MiApp_RemoveConnection | ( | INPUT uint8_t | ConnectionIndex | ) |
bool MiApp_ResetToFactoryNew | ( | void | ) |
References PDS_DeleteAll().
bool MiApp_SendData | ( | uint8_t | addr_len, |
uint8_t * | addr, | ||
uint8_t | msglen, | ||
uint8_t * | msgpointer, | ||
uint8_t | msghandle, | ||
bool | ackReq, | ||
bool | secEnabled, | ||
DataConf_callback_t | ConfCallback | ||
) |
References _DataFrame_t::ackReq, __CONNECTION_ENTRY::Address, P2P_STATUS::bits, __CONNECTION_STATUS::bits, _DataFrame_t::broadcast, _DataFrame_t::confCallback, CONNECTION_SIZE, __defaultParametersRomOrRam::ConnectionTable, _P2PStarDataFrame_t::dataFrame, _DataFrame_t::destAddress, P2P_STATUS::Enhanced_DR_SecEn, frameTransmit(), i, IN_NETWORK_STATE, INDIRECT_MESSAGE_TIMEOUT, isSameAddress(), __CONNECTION_STATUS::_CONNECTION_STAUTS_bits::isValid, macAckOnlyDataCallback(), MAX_PAYLOAD, MiMem_Alloc(), MiMem_PercentageOfFreeBuffers(), miQueueAppend(), _DataFrame_t::msg, _DataFrame_t::msghandle, _DataFrame_t::msgLength, MY_ADDRESS_LENGTH, p2pStarCurrentState, __CONNECTION_STATUS::_CONNECTION_STAUTS_bits::RXOnWhenIdle, _DataFrame_t::secEnabled, P2P_STATUS::Sleeping, __CONNECTION_ENTRY::status, SYS_TimerStart(), and _DataFrame_t::timeout.
Referenced by run_p2p_demo().
bool MiApp_Set | ( | miwi_params_t | id, |
uint8_t * | value | ||
) |
References CHANNEL, currentChannel, MAC_CHANNEL, MiMAC_Set(), PDS_CURRENT_CHANNEL_ID, and PDS_Store().
Referenced by Initialize_Demo(), MiApp_EstablishConnection(), MiApp_ProtocolInit(), and MiApp_StartConnection().
bool MiApp_StartConnection | ( | uint8_t | Mode, |
uint8_t | ScanDuration, | ||
uint32_t | ChannelMap, | ||
connectionConf_callback_t | ConfCallback | ||
) |
References CHANNEL, FAILURE, INIT_STATE, MiApp_NoiseDetection(), MiApp_Set(), MiMAC_SetAltAddress(), MY_PAN_ID, NOISE_DETECT_ENERGY, p2pStarCurrentState, PHY_RandomReq(), SEARCH_COMPLETE, START_CONN_CS_SCN, START_CONN_DIRECT, START_CONN_ENERGY_SCN, startCompleteProcedure(), STARTING_NETWORK, SUCCESS, and API_UINT16_UNION::Val.
Referenced by Connection_Confirm().
bool MiApp_SubscribeDataIndicationCallback | ( | PacketIndCallback_t | callback | ) |
References pktRxcallback.
Referenced by Initialize_Demo().
bool MiApp_SubscribeReConnectionCallback | ( | ReconnectionCallback_t | callback | ) |
References reconnectionCallback.
void P2PTasks | ( | void | ) |
References aMaxSIFSFrameSize, aTurnaroundTime, aUnitBackoffPeriod, P2P_STATUS::bits, P2P_STATUS::DataRequesting, _TxFrameEntry_t::frame, _TxFrameEntry_t::frameHandle, _TxFrameEntry_t::frameLength, _TxFrameEntry_t::frameParam, frameParse(), frameTxCallback(), IN_NETWORK_STATE, MAC_OVERHEAD, macMinLIFSPeriod_def, macMinSIFSPeriod_def, MiMAC_DiscardPacket(), MiMAC_PowerState(), MiMAC_ReceivedPacket(), MiMAC_SendPacket(), MiMAC_SymbolToTicks(), MiMAC_Task(), miQueueRemove(), MiWi_TickGet(), MiWi_TickGetDiff(), p2pStarCurrentState, PHY_OVERHEAD, POWER_STATE_DEEP_SLEEP, P2P_STATUS::RxHasUserData, MiQueue::size, SYS_TimerTaskHandler(), transaction_duration_us, txCallbackReceived, _TxFrame_t::txFrameEntry, and _MIWI_TICK::Val.
Referenced by Run_Demo(), and run_p2p_demo().
|
static |
References _DataFrame_t::broadcast, _DataFrame_t::confCallback, connectionTimeInterval, _P2PStarDataFrame_t::dataFrame, MiMem_Free(), miQueueAppend(), miQueueRemove(), _DataFrame_t::msg, _DataFrame_t::msghandle, sendConnectionRequest(), MiQueue::size, _DataFrame_t::timeout, and TRANSACTION_EXPIRED.
Referenced by protocolTimerInit().
|
static |
References SYS_Timer_t::handler, SYS_Timer_t::interval, SYS_Timer_t::mode, PROTOCOL_TIMER_INTERVAL, protocolTimerHandler(), SYS_TIMER_PERIODIC_MODE, and SYS_TimerStart().
Referenced by MiApp_ProtocolInit().
|
static |
|
static |
References ACTIVE_SCAN_RESULT_SIZE, __defaultParametersRomOrRam::ActiveScanResults, ADDITIONAL_NODE_ID_SIZE, __defaultParametersRomOrRam::AdditionalNodeID, ADDR_NOT_FOUND_IN_SCANNED_LIST, _gEstConnection::address, ACTIVE_SCAN_RESULT::Address, ALREADY_EXISTS, _gEstConnection::backupState, CMD_P2P_CONNECTION_REQUEST, _gEstConnection::confCallback, _gEstConnection::connectionRetries, connReqConfCallback(), currentChannel, ESTABLISHING_NETWORK, FAILURE, frameTransmit(), i, IN_NETWORK_STATE, MEMORY_UNAVAILABLE, MiMem_Alloc(), MiMem_Free(), MY_ADDRESS_LENGTH, P2PCapacityInfo, p2pStarCurrentState, PACKETLEN_P2P_CONNECTION_REQUEST, ACTIVE_SCAN_RESULT::PANID, _gEstConnection::status, SUCCESS, and TIMER_EXPIRED.
Referenced by connReqConfCallback(), MiApp_EstablishConnection(), and protocolTimerHandler().
|
static |
References IN_NETWORK_STATE, MIWI_ALL_MEMORY_MEM_ID, p2pStarCurrentState, and PDS_Store().
Referenced by MiApp_ProtocolInit(), and MiApp_StartConnection().
uint8_t Total_Connections | ( | void | ) |
uint8_t backupChannel = 0xFF |
uint8_t conn_size = 0 |
Referenced by AddConnection(), and run_p2p_demo().
uint16_t connectionTimeInterval = 0 |
Referenced by connReqConfCallback(), and protocolTimerHandler().
uint8_t ConnMode = DISABLE_ALL_CONN |
Referenced by AddConnection(), frameParse(), MiApp_ConnectionMode(), MiApp_EstablishConnection(), and MiApp_ProtocolInit().
uint8_t currentChannel = 0xFF |
Referenced by Connection_Confirm(), DumpConnection(), frameParse(), Initialize_Demo(), MiApp_Get(), MiApp_ProtocolInit(), MiApp_Set(), and sendConnectionRequest().
MiQueue_t frameTxQueue |
gEstConnection_t gEstConnectionInfo |
gSearchConnection_t gSearchConnectionInfo |
API_UINT32_UNION IncomingFrameCounter[CONNECTION_SIZE] |
Referenced by MiMAC_ReceivedPacket().
MiQueue_t indirectFrameQueue |
|
static |
uint8_t LatestConnection |
Referenced by AddConnection(), and frameParse().
MiQueue_t macAckOnlyFrameQueue |
MAC_RECEIVED_PACKET MACRxPacket |
Referenced by MiMAC_ReceivedPacket().
defaultParametersRamOnly_t* miwiDefaultRamOnlyParams |
defaultParametersRomOrRam_t* miwiDefaultRomOrRamParams |
uint8_t myConnectionIndex_in_PanCo |
Referenced by frameParse().
uint8_t MyindexinPC |
Referenced by AddConnection(), and frameParse().
Referenced by DumpConnection(), longAddressValidationAndUpdation(), MiApp_ProtocolInit(), and ReadMacAddress().
API_UINT16_UNION myPANID |
uint8_t P2PCapacityInfo = RECEIVE_ON_WHEN_IDLE | SECURITY_INFO |
Referenced by frameParse(), MiApp_ConnectionMode(), MiApp_ProtocolInit(), and sendConnectionRequest().
p2pStarState_t p2pStarCurrentState = INITIAL_STATE |
volatile P2P_STATUS P2PStatus |
PacketIndCallback_t pktRxcallback = NULL |
Referenced by frameParse(), and MiApp_SubscribeDataIndicationCallback().
|
static |
ReconnectionCallback_t reconnectionCallback |
Referenced by MiApp_ProtocolInit(), and MiApp_SubscribeReConnectionCallback().
resyncConnection_t resyncInfo |
RECEIVED_MESSAGE rxMessage |
Referenced by DemoOutput_HandleMessage().
TxFrame_t* sentFrame |
|
static |
Referenced by P2PTasks().
Referenced by frameTxCallback(), and P2PTasks().