embeNET common definitions
Detailed Description
Data Structures | |
struct | EMBENET_IPV6 |
IPv6 address. More... | |
struct | EMBENET_K1 |
128 bit pre-shared key used to authenticate Beacons More... | |
struct | EMBENET_PSK |
Constrained join 128-bit pre-shared key. This key should be unique and shared with JRC. More... | |
struct | EMBENET_NODE_QuickJoinCredentials |
Structure describing the data necessary to perform a quick network rejoin. More... | |
Macro Definition Documentation
◆ EMBENET_EUI64_INVALID
#define EMBENET_EUI64_INVALID UINT64_C(0) |
Invalid value of EMBENET_GroupId used as an error indication.
◆ EMBENET_GROUPID_INVALID
#define EMBENET_GROUPID_INVALID (EMBENET_GroupId)(0U) |
Invalid value of EMBENET_GroupId used as an error indication.
Typedef Documentation
◆ EMBENET_NetworkPrefix
typedef uint64_t EMBENET_NetworkPrefix |
Network prefix - common first 8 bytes of nodes IPv6 Address.
◆ EMBENET_EUI64
typedef uint64_t EMBENET_EUI64 |
Unique identifier of the node.
◆ EMBENET_GroupId
typedef uint16_t EMBENET_GroupId |
Multicast group ID.
◆ EMBENET_PANID
typedef uint16_t EMBENET_PANID |
IEEE802.15.4e PAN ID.
◆ EMBENET_RandomSeed
typedef uint64_t EMBENET_RandomSeed |
Initial value of internal random number generators. USING NOT A RANDOM NUMBER WILL CAUSE A SERIOUS SECURITY VUNERABILITY.
Enumeration Type Documentation
◆ EMBENET_Result
enum EMBENET_Result |
Possible result codes.
◆ EMBENET_AddressingMode
Function Documentation
◆ EMBENET_AssembleUnicastIpv6()
EMBENET_IPV6 EMBENET_AssembleUnicastIpv6 | ( | EMBENET_NetworkPrefix | nwkPrefix, |
EMBENET_EUI64 | uid | ||
) |
Assembles Network prefix and Node's UID into IPv6 Address.
- Parameters
-
nwkPrefix Network prefix uid Unique Identifier (UID) of the node
- Returns
- IPv6 address
◆ EMBENET_AssembleMulticastIpv6()
EMBENET_IPV6 EMBENET_AssembleMulticastIpv6 | ( | EMBENET_NetworkPrefix | nwkPrefix, |
EMBENET_GroupId | gid | ||
) |
Assembles Network prefix and Multicast group ID into IPv6 Address.
- Parameters
-
nwkPrefix Network prefix gid Multicast group ID
- Returns
- IPv6 address
Generated on Wed Feb 8 2023 19:52:39 for embeNET NODE by 1.9.3