ZPS_vAplAfSetMacCapability

void ZPS_vAplAfSetMacCapability(uint8 u8MacCapability);

Description

This function can be used on a Router or End Device to configure the IEEE 802.15.4 MAC capabilities in the Node descriptor. The MAC capabilities are specified in an 8-bit bitmap, detailed in the table below.

MAC capabilities bitmap

Bits

Description

0

Coordinator capability:
1: Node able to act as Coordinator
0: Node not able to act as Coordinator

1

Device type:
1: Full-Function Device (FFD)
0: Reduced-Function Device (RFD)
An FFD can act as any node type while an RFD cannot act as the network Coordinator.

2

Power source:
1: Node is mains-powered
0: Node is not mains-powered

3

Receiver on when idle:
1: Receiver enabled during idle periods
0: Receiver disabled during idle periods to conserve power

4-5

Reserved

6

Security capability:
1: High security
0: Standard security

7

Allocate address:
1: Network address should be allocated to node
0: Network address need not be allocated to node

Parent topic:ZPS_vAplAfSetMacCapability

Parameters

  • u8MacCapability Bitmap containing the MAC capabilities to be configured (see table above).

Parent topic:ZPS_vAplAfSetMacCapability

Returns

None.

Parent topic:ZPS_vAplAfSetMacCapability

Parent topic:initialization functions