Skip to main content

Table 4 Neighbour controller interface

From: PluralisMAC: a generic multi-MAC framework for heterogeneous, multiservice wireless networks, applied to smart containers

Function

FilterResult_t processPacket(uint16_t neighbourAddress, uint8_t ownerID, uint8_t length, void*packet)

Parameters

uint16_t neighbourAddress

Mac address of the neighbour

 

uint8_t ownerID

Owner of the packet. This can be a MAC protocol or a higher layer module. A protocol has to add collectors, aggregators and filters for its specific ownerID in order to process packets

 

uint8_t length

Length of the packet pointer

 

void* packet

Pointer to the packet or a part of the packet. Because a packet is only processed by specific owners, the packet formatting is always known in advance

Return

FilterResult_t

Returns the result of the filters executed for the ownerID. If no filters are executed, the result will be SUCCESS