Microchip® Advanced Software Framework

miwi_mesh_app.c File Reference

MiWi Mesh Protocol Application Handling implementation.

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

#include "string.h"
#include "miwi_config_mesh.h"
#include "miwi_api.h"

Variables

CommDeviceTable_t commnDeviceTable [MAX_NUMBER_OF_DEVICES_IN_NETWORK]
 
CoordHopCount_t coordHopCount [HOP_TABLE_COUNT]
 
CoordinatorTable_t coordinatorTable [NUM_OF_COORDINATORS]
 
CoordRouteTable_t coordRouteTable [NUM_OF_COORDINATORS]
 
defaultParametersRamOnly_t defaultParamsRamOnly
 
defaultParametersRomOrRam_t defaultParamsRomOrRam
 
DeviceTable_t deviceTable [NUM_OF_NONSLEEPING_ENDDEVICES]
 
DuplicateRejectionTable_t duplicateRejectionTable [DUPLICATE_REJECTION_TABLE_SIZE]
 
uint8_t networkKey [SECURITY_KEY_SIZE] = NETWORK_KEY_DEFAULT
 
uint8_t publicKey [SECURITY_KEY_SIZE] = PUBLIC_KEY_DEFAULT
 
RebroadcastTable_t reBroadcastTable [REBROADCAST_TABLE_SIZE]
 
SleepDeviceTable_t sleepdeviceTable [NUM_OF_SLEEPING_ENDDEVICES]
 

defaultParametersRamOnly_t defaultParamsRamOnly
Initial value:
= {
.miwiPublicKey = PUBLIC_KEY_DEFAULT,
.miwiNetworkKey = NETWORK_KEY_DEFAULT,
.securityLevel = MESH_SECURITY_LEVEL,
.dummy = 0,
}
#define PUBLIC_KEY_DEFAULT
Definition: miwi_config_mesh.h:61
#define NETWORK_KEY_DEFAULT
Definition: miwi_config_mesh.h:64
#define MESH_SECURITY_LEVEL
Definition: miwi_config_mesh.h:57

Referenced by fillGeneralInformation(), updateGeneralInfoSet(), and wsndemo_init().

defaultParametersRomOrRam_t defaultParamsRomOrRam
uint8_t networkKey[SECURITY_KEY_SIZE] = NETWORK_KEY_DEFAULT
uint8_t publicKey[SECURITY_KEY_SIZE] = PUBLIC_KEY_DEFAULT