A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ZIGBEE models

Classes

class  ns3::zigbee::CapabilityInformation
 Represent the the Capability Information Bit fields See zigbe Specification r22.1.0, Table 3-62. More...
 
struct  ns3::zigbee::ChannelList
 Channel List Structure. More...
 
struct  ns3::zigbee::NetFormPendingParamsGen
 A group of pending parameters arranged into a structure during the execution of a NLME-NETWORK-FORMATION.request primitive. More...
 
struct  ns3::zigbee::NldeDataConfirmParams
 NLDE-DATA.confirm params. More...
 
struct  ns3::zigbee::NldeDataRequestParams
 NLDE-DATA.request params. More...
 
struct  ns3::zigbee::NlmeDirectJoinConfirmParams
 NLME-DIRECT-JOIN.confirm params. More...
 
struct  ns3::zigbee::NlmeDirectJoinRequestParams
 NLME-DIRECT-JOIN.request params. More...
 
struct  ns3::zigbee::NlmeJoinConfirmParams
 NLME-JOIN.confirm params. More...
 
struct  ns3::zigbee::NlmeJoinIndicationParams
 NLME-JOIN.indication params. More...
 
struct  ns3::zigbee::NlmeJoinRequestParams
 NLME-JOIN.request params. More...
 
struct  ns3::zigbee::NlmeNetworkDiscoveryConfirmParams
 NLME-NETWORK-DISCOVERY.confirm params. More...
 
struct  ns3::zigbee::NlmeNetworkDiscoveryRequestParams
 NLME-NETWORK-DISCOVERY.request params. More...
 
struct  ns3::zigbee::NlmeNetworkFormationConfirmParams
 NLME-NETWORK-FORMATION.confirm params. More...
 
struct  ns3::zigbee::NlmeNetworkFormationRequestParams
 NLME-NETWORK-FORMATION.request params. More...
 
struct  ns3::zigbee::NlmeRouteDiscoveryConfirmParams
 NLME-ROUTE-DISCOVERY.confirm params. More...
 
struct  ns3::zigbee::NlmeRouteDiscoveryRequestParams
 NLME-ROUTE-DISCOVERY.request params. More...
 
struct  ns3::zigbee::NlmeStartRouterConfirmParams
 NLME-START-ROUTER.confirm params. More...
 
struct  ns3::zigbee::NlmeStartRouterRequestParams
 NLME-START-ROUTER.request params. More...
 
class  ns3::zigbee::RoutingTableEntry
 Routing table entry Zigbee Specification r22.1.0, Table 3-66. More...
 
class  ns3::zigbee::ZigbeeBeaconPayload
 Represents the payload portion of a beacon frame. More...
 
class  ns3::ZigbeeHelper
 Setup a Zigbee stack to be used with LrWpanNetDevice. More...
 
class  ns3::zigbee::ZigbeeNwk
 Class that implements the Zigbee Specification Network Layer. More...
 
class  ns3::zigbee::ZigbeeNwkHeader
 Represent the NWK Header with the Frame Control and Routing fields Zigbee Specification r22.1.0, General NPDU Frame Format (Section 3.3.1) More...
 
class  ns3::zigbee::ZigbeePayloadRouteReplyCommand
 Represent a variable portion of the zigbee payload header that includes the route reply command. More...
 
class  ns3::zigbee::ZigbeePayloadRouteRequestCommand
 Represent a variable portion of the zigbee payload header that includes the route request command. More...
 
class  ns3::zigbee::ZigbeePayloadType
 Represent the static portion of the zigbee payload header that describes the payload command type. More...
 
class  ns3::zigbee::ZigbeeStack
 Zigbee protocol stack to device interface. More...
 

Typedefs

typedef Callback< void, NldeDataConfirmParamsns3::zigbee::NldeDataConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLDE-DATA.request.
 
typedef Callback< void, NldeDataIndicationParams, Ptr< Packet > > ns3::zigbee::NldeDataIndicationCallback
 This callback is called after a NSDU has successfully received and NWK push it to deliver it to the next higher layer.
 
typedef Callback< void, NlmeDirectJoinConfirmParamsns3::zigbee::NlmeDirectJoinConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-DIRECT-JOIN.request.
 
typedef Callback< void, NlmeJoinConfirmParamsns3::zigbee::NlmeJoinConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-JOIN.request.
 
typedef Callback< void, NlmeJoinIndicationParamsns3::zigbee::NlmeJoinIndicationCallback
 This callback is used to notify the next higher layer with an indication that a new device has successfully joined its network by association or rejoining.
 
typedef Callback< void, NlmeNetworkDiscoveryConfirmParamsns3::zigbee::NlmeNetworkDiscoveryConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-NETWORK-DISCOVERY.request.
 
typedef Callback< void, NlmeNetworkFormationConfirmParamsns3::zigbee::NlmeNetworkFormationConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-NETWORK-FORMATION.request.
 
typedef Callback< void, NlmeRouteDiscoveryConfirmParamsns3::zigbee::NlmeRouteDiscoveryConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-ROUTE-DISCOVERY.request.
 
typedef Callback< void, NlmeStartRouterConfirmParamsns3::zigbee::NlmeStartRouterConfirmCallback
 This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-START-ROUTER.request.
 

Enumerations

enum  ns3::zigbee::AddressMode { ns3::zigbee::NO_ADDRESS = 0x00 , ns3::zigbee::MCST = 0x01 , ns3::zigbee::UCST_BCST = 0x02 }
 Table 3.2 (Address Mode) NLDE-DATA-Request parameters. More...
 
enum  ns3::zigbee::MacDeviceType { ns3::zigbee::ENDDEVICE = 0 , ns3::zigbee::ROUTER = 1 }
 The device Type Zigbee Specification r22.1.0 (Table 3-62 or Table 3-63) More...
 
enum  ns3::zigbee::NetworkStatusCode : std::uint8_t {
  ns3::zigbee::NO_ROUTE_AVAILABLE = 0x00 , ns3::zigbee::TREE_LINK_FAILURE = 0x01 , ns3::zigbee::NON_TREE_LINK_FAILURE = 0x02 , ns3::zigbee::LOW_BATTERY = 0x03 ,
  ns3::zigbee::NO_ROUTING_CAPACITY = 0x04 , ns3::zigbee::NO_INDIRECT_CAPACITY = 0x05 , ns3::zigbee::INDIRECT_TRANSACTION_EXPIRY = 0x06 , ns3::zigbee::TARGET_DEVICE_UNAVAILABLE = 0x07 ,
  ns3::zigbee::TARGET_ADDRESS_UNALLOCATED = 0x08 , ns3::zigbee::PARENT_LINK_FAILURE = 0x09 , ns3::zigbee::VALIDATE_ROUTE = 0x0a , ns3::zigbee::SOURCE_ROUTE_FAILURE = 0x0b ,
  ns3::zigbee::MANY_TO_ONE_ROUTE_FAILURE = 0x0c , ns3::zigbee::ADDRESS_CONFLICT = 0x0d , ns3::zigbee::VERIFY_ADDRESS = 0x0e , ns3::zigbee::PAN_IDENTIFIER_UPDATE = 0x0f ,
  ns3::zigbee::NETWORK_ADDRESS_UPDATE = 0x10 , ns3::zigbee::BAD_FRAME_COUNTER = 0x11 , ns3::zigbee::BAD_KEY_SEQUENCE_NUMBER = 0x12 , ns3::zigbee::UNKNOWN_COMMAND = 0x13
}
 Status codes for network status command frame and route discovery failures. More...
 
enum  ns3::zigbee::NwkDeviceType { ns3::zigbee::ZIGBEE_COORDINATOR = 0x0 , ns3::zigbee::ZIGBEE_ROUTER = 0x01 , ns3::zigbee::ZIGBEE_ENDDEVICE = 0x02 }
 The network layer device type. More...
 
enum  ns3::zigbee::NwkStatus : std::uint8_t {
  ns3::zigbee::SUCCESS = 0 , ns3::zigbee::FULL_CAPACITY = 0x01 , ns3::zigbee::ACCESS_DENIED = 0x02 , ns3::zigbee::COUNTER_ERROR = 0xdb ,
  ns3::zigbee::IMPROPER_KEY_TYPE = 0xdc , ns3::zigbee::IMPROPER_SECURITY_LEVEL = 0xdd , ns3::zigbee::UNSUPPORTED_LEGACY = 0xde , ns3::zigbee::UNSUPPORTED_SECURITY = 0xdf ,
  ns3::zigbee::BEACON_LOSS = 0xe0 , ns3::zigbee::CHANNEL_ACCESS_FAILURE = 0xe1 , ns3::zigbee::DENIED = 0xe2 , ns3::zigbee::DISABLE_TRX_FAILURE = 0xe3 ,
  ns3::zigbee::SECURITY_ERROR = 0xe4 , ns3::zigbee::FRAME_TOO_LONG = 0xe5 , ns3::zigbee::INVALID_GTS = 0xe6 , ns3::zigbee::INVALID_HANDLE = 0xe7 ,
  ns3::zigbee::INVALID_PARAMETER_MAC = 0xe8 , ns3::zigbee::NO_ACK = 0xe9 , ns3::zigbee::NO_BEACON = 0xea , ns3::zigbee::NO_DATA = 0xeb ,
  ns3::zigbee::NO_SHORT_ADDRESS = 0xec , ns3::zigbee::OUT_OF_CAP = 0xed , ns3::zigbee::PAN_ID_CONFLICT = 0xee , ns3::zigbee::REALIGMENT = 0xef ,
  ns3::zigbee::TRANSACTION_EXPIRED = 0xf0 , ns3::zigbee::TRANSACTION_OVERFLOW = 0xf1 , ns3::zigbee::TX_ACTIVE = 0xf2 , ns3::zigbee::UNAVAILABLE_KEY = 0xf3 ,
  ns3::zigbee::INVALID_ADDRESS = 0xf5 , ns3::zigbee::ON_TIME_TOO_LONG = 0xf6 , ns3::zigbee::PAST_TIME = 0xf7 , ns3::zigbee::TRACKING_OFF = 0xf8 ,
  ns3::zigbee::INVALID_INDEX = 0xf9 , ns3::zigbee::READ_ONLY = 0xfb , ns3::zigbee::SUPERFRAME_OVERLAP = 0xfd , ns3::zigbee::INVALID_PARAMETER = 0xc1 ,
  ns3::zigbee::INVALID_REQUEST = 0xc2 , ns3::zigbee::NOT_PERMITED = 0xc3 , ns3::zigbee::STARTUP_FAILURE = 0xc4 , ns3::zigbee::ALREADY_PRESENT = 0xc5 ,
  ns3::zigbee::SYNC_FAILURE = 0xc6 , ns3::zigbee::NEIGHBOR_TABLE_FULL = 0xc7 , ns3::zigbee::UNKNOWN_DEVICE = 0xc8 , ns3::zigbee::UNSUPPORTED_ATTRIBUTE = 0xc9 ,
  ns3::zigbee::NO_NETWORKS = 0xca , ns3::zigbee::MAX_FRM_COUNTER = 0xcc , ns3::zigbee::NO_KEY = 0xcd , ns3::zigbee::BAD_CCM_OUTPUT = 0xce ,
  ns3::zigbee::ROUTE_DISCOVERY_FAILED = 0xd0 , ns3::zigbee::ROUTE_ERROR = 0xd1 , ns3::zigbee::BT_TABLE_FULL = 0xd2 , ns3::zigbee::FRAME_NOT_BUFFERED = 0xd3 ,
  ns3::zigbee::INVALID_INTERFACE = 0xd5 , ns3::zigbee::LIMIT_REACHED = 0xd6 , ns3::zigbee::SCAN_IN_PROGRESS = 0xd7
}
 Network layer status values Combines Zigbee Specification r22.1.0 Table 3-73 and and IEEE 802.15.4-2006 Table 78. More...
 
enum  ns3::zigbee::PendingPrimitiveNwk : std::uint8_t {
  ns3::zigbee::NLDE_NLME_NONE = 0 , ns3::zigbee::NLME_NETWORK_FORMATION = 1 , ns3::zigbee::NLME_DIRECT_JOIN = 2 , ns3::zigbee::NLME_JOIN = 3 ,
  ns3::zigbee::NLME_START_ROUTER = 4 , ns3::zigbee::NLME_NET_DISCV = 5 , ns3::zigbee::NLME_JOIN_INDICATION = 6 , ns3::zigbee::NLME_ROUTE_DISCOVERY = 7 ,
  ns3::zigbee::NLDE_DATA = 8
}
 Indicates a pending NWK primitive. More...
 
enum  ns3::zigbee::PowerSource { ns3::zigbee::OTHER_POWER_SOURCE = 0 , ns3::zigbee::MAINPOWER = 1 }
 The power source capabilities. More...
 
enum  ns3::zigbee::Relationship {
  ns3::zigbee::NBR_PARENT = 0x0 , ns3::zigbee::NBR_CHILD = 0x01 , ns3::zigbee::NBR_SIBLING = 0x02 , ns3::zigbee::NBR_NONE = 0x03 ,
  ns3::zigbee::NBR_PREV_CHILD = 0x04 , ns3::zigbee::NBR_UNAUTH_CHILD = 0x05
}
 The relationship between the neighbor and the current device. More...
 
enum  ns3::zigbee::RouteStatus {
  ns3::zigbee::ROUTE_ACTIVE = 0x0 , ns3::zigbee::ROUTE_DISCOVERY_UNDERWAY = 0x1 , ns3::zigbee::ROUTE_DISCOVER_FAILED = 0x2 , ns3::zigbee::ROUTE_INACTIVE = 0x3 ,
  ns3::zigbee::ROUTE_VALIDATION_UNDERWAY = 0x4
}
 Route record states. More...
 

Variables

static const double ns3::zigbee::RequestedTimeoutField [15] {0.166667, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384}
 Requested Timeout Field See Zigbee Specification r22.1.0, 3.4.11.3.1.
 

Detailed Description

This section documents the API of the Zigbee Specification related models. For a generic functional description, please refer to the ns-3 manual.

Typedef Documentation

◆ NldeDataConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLDE-DATA.request.

Definition at line 626 of file zigbee-nwk.h.

◆ NldeDataIndicationCallback

This callback is called after a NSDU has successfully received and NWK push it to deliver it to the next higher layer.

Definition at line 617 of file zigbee-nwk.h.

◆ NlmeDirectJoinConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-DIRECT-JOIN.request.

Definition at line 658 of file zigbee-nwk.h.

◆ NlmeJoinConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-JOIN.request.

Definition at line 666 of file zigbee-nwk.h.

◆ NlmeJoinIndicationCallback

This callback is used to notify the next higher layer with an indication that a new device has successfully joined its network by association or rejoining.

Definition at line 674 of file zigbee-nwk.h.

◆ NlmeNetworkDiscoveryConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-NETWORK-DISCOVERY.request.

Definition at line 642 of file zigbee-nwk.h.

◆ NlmeNetworkFormationConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-NETWORK-FORMATION.request.

Definition at line 634 of file zigbee-nwk.h.

◆ NlmeRouteDiscoveryConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-ROUTE-DISCOVERY.request.

Definition at line 650 of file zigbee-nwk.h.

◆ NlmeStartRouterConfirmCallback

This callback is used to notify the next higher layer with a confirmation in response to a previously issued NLME-START-ROUTER.request.

Definition at line 682 of file zigbee-nwk.h.

Enumeration Type Documentation

◆ AddressMode

Table 3.2 (Address Mode) NLDE-DATA-Request parameters.

Enumerator
NO_ADDRESS 

No destination address.

MCST 

Multicast Address mode.

UCST_BCST 

Unicast or Broadcast address mode.

Definition at line 74 of file zigbee-nwk.h.

◆ MacDeviceType

The device Type Zigbee Specification r22.1.0 (Table 3-62 or Table 3-63)

Enumerator
ENDDEVICE 

End device or router treated as an end device.

ROUTER 

Router device.

Definition at line 27 of file zigbee-nwk-fields.h.

◆ NetworkStatusCode

enum ns3::zigbee::NetworkStatusCode : std::uint8_t

Status codes for network status command frame and route discovery failures.

Enumerator
NO_ROUTE_AVAILABLE 

No route available.

TREE_LINK_FAILURE 

Tree link failure.

NON_TREE_LINK_FAILURE 

Non tree link failure.

LOW_BATTERY 

Low battery.

NO_ROUTING_CAPACITY 

No routing capacity.

NO_INDIRECT_CAPACITY 

No indirect capacity.

INDIRECT_TRANSACTION_EXPIRY 

Indirect transaction expiry.

TARGET_DEVICE_UNAVAILABLE 

Target device unavailable.

TARGET_ADDRESS_UNALLOCATED 

Target address unallocated.

PARENT_LINK_FAILURE 

Parent link failure.

VALIDATE_ROUTE 

Validate route.

SOURCE_ROUTE_FAILURE 

Source route failure.

MANY_TO_ONE_ROUTE_FAILURE 

Many to one route failure.

ADDRESS_CONFLICT 

Address conflict.

VERIFY_ADDRESS 

Verify address.

PAN_IDENTIFIER_UPDATE 

PAN identifier update.

NETWORK_ADDRESS_UPDATE 

Network address update.

BAD_FRAME_COUNTER 

Bad frame counter.

BAD_KEY_SEQUENCE_NUMBER 

Bad key sequence number.

UNKNOWN_COMMAND 

Unknown command.

Definition at line 243 of file zigbee-nwk.h.

◆ NwkDeviceType

The network layer device type.

Enumerator
ZIGBEE_COORDINATOR 

Zigbee coordinator.

ZIGBEE_ROUTER 

Zigbee router.

ZIGBEE_ENDDEVICE 

Zigbee end device.

Definition at line 63 of file zigbee-nwk-tables.h.

◆ NwkStatus

enum ns3::zigbee::NwkStatus : std::uint8_t

Network layer status values Combines Zigbee Specification r22.1.0 Table 3-73 and and IEEE 802.15.4-2006 Table 78.

Used to report the resulting status of various NWK operations.

Note: UNSUPPORTED_ATTRIBUTE, LIMIT_REACHED, SCAN_IN_PROGRESS

Enumerator
SUCCESS 

The operation was completed successfully.

FULL_CAPACITY 

PAN at capacity.

Association Status field (std. 2006, Table 83).

ACCESS_DENIED 

PAN access denied.

Association Status field (std. 2006, Table 83).

COUNTER_ERROR 

The frame counter of the received frame is invalid.

IMPROPER_KEY_TYPE 

The key is not allowed to be used with that frame type.

IMPROPER_SECURITY_LEVEL 

Insufficient security level expected by the recipient.

UNSUPPORTED_LEGACY 

Deprecated security used in IEEE 802.15.4-2003.

UNSUPPORTED_SECURITY 

The security applied is not supported.

BEACON_LOSS 

The beacon was lost following a synchronization request.

CHANNEL_ACCESS_FAILURE 

A Tx could not take place due to activity in the CH.

DENIED 

The GTS request has been denied by the PAN coordinator.

DISABLE_TRX_FAILURE 

The attempt to disable the transceier has failed.

SECURITY_ERROR 

Cryptographic process of the frame failed(FAILED_SECURITY_CHECK).

FRAME_TOO_LONG 

Frame more than aMaxPHYPacketSize or too large for CAP or GTS.

INVALID_GTS 

Missing GTS transmit or undefined direction.

INVALID_HANDLE 

When purging from TX queue handle was not found.

INVALID_PARAMETER_MAC 

Invalid parameter in response to a request passed to the MAC.

NO_ACK 

No acknowledgment was received after macMaxFrameRetries.

NO_BEACON 

A scan operation failed to find any network beacons.

NO_DATA 

No response data were available following a request.

NO_SHORT_ADDRESS 

Failure due to unallocated 16-bit short address.

OUT_OF_CAP 

(Deprecated) See IEEE 802.15.4-2003

PAN_ID_CONFLICT 

PAN id conflict detected and informed to the coordinator.

REALIGMENT 

A coordinator realigment command has been received.

TRANSACTION_EXPIRED 

The transaction expired and its information discarded.

TRANSACTION_OVERFLOW 

There is no capacity to store the transaction.

TX_ACTIVE 

The transceiver was already enabled.

UNAVAILABLE_KEY 

Unavailable key, unknown or blacklisted.

INVALID_ADDRESS 

Invalid source or destination address.

ON_TIME_TOO_LONG 

RX enable request fail due to syms.

longer than Bcn. interval

PAST_TIME 

Rx enable request fail due to lack of time in superframe.

TRACKING_OFF 

This device is currently not tracking beacons.

INVALID_INDEX 

A MAC PIB write failed because specified index is out of range.

READ_ONLY 

SET/GET request issued for a read only attribute.

SUPERFRAME_OVERLAP 

Coordinator sperframe and this device superframe tx overlap.

INVALID_PARAMETER 

Invalid Parameter (Zigbee specification r22.1.0)

INVALID_REQUEST 

Invalid request (Zigbee specification r22.1.0)

NOT_PERMITED 

Not permitted (Zigbee specification r22.1.0)

STARTUP_FAILURE 

Startup failure (Zigbee specification r22.1.0)

ALREADY_PRESENT 

Already present (Zigbee specification r22.1.0)

SYNC_FAILURE 

Sync Failure (Zigbee specification r22.1.0)

NEIGHBOR_TABLE_FULL 

Neighbor table full (Zigbee specification r22.1.0)

UNKNOWN_DEVICE 

Unknown device (Zigbee specification r22.1.0)

UNSUPPORTED_ATTRIBUTE 

Unsupported attribute (Zigbee specification r22.1.0)

NO_NETWORKS 

No network (Zigbee specification r22.1.0)

MAX_FRM_COUNTER 

Max Frame counter (IEEE 802.15.4, Zigbee specification r22.1.0)

NO_KEY 

No Key (Zigbee specification r22.1.0)

BAD_CCM_OUTPUT 

Bad ccm output (IEEE 802.15.4, Zigbee specification r22.1.0)

ROUTE_DISCOVERY_FAILED 

Route discovery failed (Zigbee specification r22.1.0)

ROUTE_ERROR 

Route error (Zigbee specification r22.1.0)

BT_TABLE_FULL 

Bt table full (Zigbee specification r22.1.0)

FRAME_NOT_BUFFERED 

Frame not buffered (Zigbee specification r22.1.0)

INVALID_INTERFACE 

Invalid interface (Zigbee specification r22.1.0)

LIMIT_REACHED 

Limit reached during network scan (IEEE 802.15.4-2011)

SCAN_IN_PROGRESS 

The dev was scanning during this call (IEEE 802.5.4)

Definition at line 150 of file zigbee-nwk.h.

◆ PendingPrimitiveNwk

enum ns3::zigbee::PendingPrimitiveNwk : std::uint8_t

Indicates a pending NWK primitive.

Enumerator
NLDE_NLME_NONE 

No pending primitive.

NLME_NETWORK_FORMATION 

Pending NLME-NETWORK-FORMATION.request primitive.

NLME_DIRECT_JOIN 

Pending NLME-DIRECT-JOIN.request primitive.

NLME_JOIN 

Pending NLME-JOIN.request primitive.

NLME_START_ROUTER 

Pending NLME-START-ROUTER.request primitive.

NLME_NET_DISCV 

Pending NLME-NETWORK-DISCOVERY.request primitive.

NLME_JOIN_INDICATION 

Pending NLME-JOIN.indication primitive.

NLME_ROUTE_DISCOVERY 

Pending NLME-ROUTE-DISCOVERY.request primitive.

NLDE_DATA 

Pending NLDE-DATA.request primitive.

Definition at line 56 of file zigbee-nwk.h.

◆ PowerSource

The power source capabilities.

Zigbee Specification r22.1.0 (Table 3-62)

Enumerator
OTHER_POWER_SOURCE 

Other power source.

MAINPOWER 

Mains-powered device.

Definition at line 38 of file zigbee-nwk-fields.h.

◆ Relationship

The relationship between the neighbor and the current device.

Enumerator
NBR_PARENT 

Neighbor is the parent.

NBR_CHILD 

Neighbor is the child.

NBR_SIBLING 

Neighbor is the sibling.

NBR_NONE 

No relationship.

NBR_PREV_CHILD 

Neighbor was a previous child.

NBR_UNAUTH_CHILD 

Neighbor is an unauthenticated child.

Definition at line 49 of file zigbee-nwk-tables.h.

◆ RouteStatus

Route record states.

Enumerator
ROUTE_ACTIVE 

Route active.

ROUTE_DISCOVERY_UNDERWAY 

Route discovery underway.

ROUTE_DISCOVER_FAILED 

Route discovery failed.

ROUTE_INACTIVE 

Route inactive.

ROUTE_VALIDATION_UNDERWAY 

Route discovery validation underway.

Definition at line 36 of file zigbee-nwk-tables.h.

Variable Documentation

◆ RequestedTimeoutField

const double ns3::zigbee::RequestedTimeoutField[15] {0.166667, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384}
static

Requested Timeout Field See Zigbee Specification r22.1.0, 3.4.11.3.1.

List the requested timeout values in minutes

Definition at line 51 of file zigbee-nwk-fields.h.

Referenced by ns3::zigbee::ZigbeeNwk::MlmeAssociateIndication(), ns3::zigbee::ZigbeeNwk::MlmeBeaconNotifyIndication(), and ns3::zigbee::ZigbeeNwk::NlmeDirectJoinRequest().