ZPS_vNtSetUsedStatus

void ZPS_vNtSetUsedStatus(
                void *pvNwk,
                ZPS_tsNwkActvNtEntry *psActvNtEntry,
                bool_t bStatus);

Description

This function can be used to set the status of a local Neighbor Table to either ‘used’ or ‘unused’:

  • Setting the status of an entry to unused effectively removes the entry from the table.

  • Setting the status of an entry to used effectively adds an entry to the table.

When adding an entry to the table, it is first necessary for the application to find an entry marked unused. The entry can then be populated with data and marked as used via this function.

Parent topic:ZPS_vNtSetUsedStatus

Parameters

  • pvNwk Pointer to NWK layer instance

  • psActvNtEntryPointer to Neighbor Table entry to access (this must be populated with data when adding a new entry to the table)

  • bStatus Entry status to be set:

    • TRUE - Set entry status to ‘used’

    • FALSE - Set entry status to ‘unused’

Parent topic:ZPS_vNtSetUsedStatus

Returns

None

Parent topic:ZPS_vNtSetUsedStatus

Parent topic:Network deployment functions