ot::Mac::GenerateRandomPanId() function
Generates a random IEEE 802.15.4 PAN ID.
Syntax
PanId GenerateRandomPanId(void); Return value
A randomly generated IEEE 802.15.4 PAN ID (excluding `kPanIdBroadcast`).
ot::Mac::GenerateRandomPanId() is called by 3 functions and calls 1 function:
![]()
ot::Mac::GenerateRandomPanId()
ot::Mac::GenerateRandomPanId() reads 1 variable:
![]()
ot::Mac::GenerateRandomPanId()