ZPS_bNwkFindAddIeeeAddr
bool_t ZPS_bNwkFindAddIeeeAddr(
void *pvNwk,
uint64 u64IeeeAddr,
uint16 *pu16Location,
bool_t bNeighborTable);
Description
This function can be used to add the 64-bit IEEE (MAC) address of a node to the local MAC Address table. The function first searches the table to determine whether the address already exists in the table. If there is no entry for this address, a new entry for it is added to the table. The number of the entry where the address was found or added is returned in a specified location.
Note: You should modify the MAC Address table only using the supplied API functions and never write to it directly.
Parent topic:ZPS_bNwkFindAddIeeeAddr
Parameters
pvNwk: Pointer to relevant NWK layer instance
u64IeeeAddr: 64-bit IEEE/MAC address to be added
pu16Location: Pointer to location to receive number of entry in MAC Address table where specified address was found or added
bNeighborTable: Always set to FALSE
Parent topic:ZPS_bNwkFindAddIeeeAddr
Returns
Boolean indicating the outcome of the operation:
TRUE - address successfully added to the table
FALSE - address found to already exist in the table
Parent topic:ZPS_bNwkFindAddIeeeAddr
Parent topic:Addressing functions