Microchip® Advanced Software Framework

p2p_demo.c File Reference

Demo Application for MiWi P2P Implementation.

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

#include "miwi_api.h"
#include "miwi_p2p_star.h"
#include "task.h"
#include "p2p_demo.h"
#include "mimem.h"
#include "asf.h"
#include "pdsMemIds.h"
#include "pdsDataServer.h"
#include "wlPdsTaskManager.h"

Functions

static void dataConfcb (uint8_t handle, miwi_status_t status, uint8_t *msgPointer)
 
void ReceivedDataIndication (RECEIVED_MESSAGE *ind)
 
void run_p2p_demo (void)
 

Variables

bool chk_sel_status = true
 
CONNECTION_ENTRY connectionTable [CONNECTION_SIZE]
 
uint8_t i
 
uint8_t msghandledemo = 0
 
uint8_t NumOfActiveScanResponse
 
uint8_t RxNum = 0
 
uint8_t select_ed
 
uint8_t TxNum = 0
 
uint8_t TxSynCount = 0
 
uint8_t TxSynCount2 = 0
 
bool update_ed
 

static void dataConfcb ( uint8_t  handle,
miwi_status_t  status,
uint8_t *  msgPointer 
)
static
void ReceivedDataIndication ( RECEIVED_MESSAGE ind)

bool chk_sel_status = true

Referenced by run_p2p_demo(), and run_star_demo().

uint8_t i
uint8_t msghandledemo = 0
uint8_t NumOfActiveScanResponse
uint8_t RxNum = 0
uint8_t select_ed

Referenced by run_p2p_demo(), and run_star_demo().

uint8_t TxNum = 0
uint8_t TxSynCount = 0

Referenced by run_p2p_demo(), and run_star_demo().

uint8_t TxSynCount2 = 0

Referenced by run_p2p_demo(), and run_star_demo().

bool update_ed

Referenced by run_p2p_demo(), and run_star_demo().