nRF5 SDK for Mesh v3.2.0  08c60f6
API level definitions

Macros

#define NRF_MESH_SEG_PAYLOAD_SIZE_MAX   (380)
 Maximum possible segmented payload size (octets).
 
#define NRF_MESH_UPPER_TRANSPORT_PDU_SIZE_MAX   (384)
 Maximum possible upper transport PDU (payload + MIC) size (octets).
 
#define NRF_MESH_UNSEG_PAYLOAD_SIZE_MAX   (11)
 Maximum useful access unsegmented payload size (octets).
 
#define NRF_MESH_ADV_CHAN_ALL   {37, 38, 39}
 All advertisement channels.
 
#define NRF_MESH_ADV_CHAN_DEFAULT   NRF_MESH_ADV_CHAN_ALL
 Default advertisement channel map (37, 38 and 39).
 
#define NRF_MESH_KEY_SIZE   (16)
 Size (in octets) of an encryption key.
 
#define NRF_MESH_NETID_SIZE   (8)
 Size (in octets) of the network ID.
 
#define NRF_MESH_UUID_SIZE   (16)
 Size (in octets) of a UUID.
 
#define NRF_MESH_TTL_BIT_COUNT   (7)
 Number of bits available for the TTL field.
 
#define NRF_MESH_TTL_MAX   ((1 << NRF_MESH_TTL_BIT_COUNT) - 1)
 Maximum TTL value.
 
#define NRF_MESH_GLOBAL_KEY_INDEX_MAX   (0xFFF)
 Maximum global key index allowed, according to Mesh Profile Specification v1.0 section 3.8.6.4.
 
#define NRF_MESH_BEACON_SECURE_NET_BCAST_INTERVAL_SECONDS   10
 Interval for secure network broadcast beacons, in seconds.
 
#define NRF_MESH_BEACON_OBSERVATION_PERIODS   2
 Number of periods to keep beacon observations of.
 
#define NRF_MESH_BEACON_UNPROV_URI_HASH_SIZE   (4)
 Size (in octets) of the unprovisioned beacon URI hash.
 
#define NRF_MESH_ECDH_PUBLIC_KEY_SIZE   (64)
 Size of an ECDH public key.
 
#define NRF_MESH_ECDH_PRIVATE_KEY_SIZE   (32)
 Size of an ECDH private key.
 
#define NRF_MESH_ECDH_SHARED_SECRET_SIZE   (32)
 Size of an ECDH shared secret.
 
#define NRF_MESH_ADDR_UNASSIGNED   (0x0000)
 Unassigned address.
 
#define NRF_MESH_ALL_PROXIES_ADDR   (0xFFFC)
 All-proxies fixed group address.
 
#define NRF_MESH_ALL_FRIENDS_ADDR   (0xFFFD)
 All-friends fixed group address.
 
#define NRF_MESH_ALL_RELAYS_ADDR   (0xFFFE)
 All-relays fixed group address.
 
#define NRF_MESH_ALL_NODES_ADDR   (0xFFFF)
 All-nodes fixed group address.
 
#define NRF_MESH_ADDR_TYPE_BITS_OFFSET   (14)
 Offset of bits determining the address type.
 
#define NRF_MESH_ADDR_TYPE_BITS_MASK   (0xC000)
 Mask of bits determining the address type.
 
#define NRF_MESH_IRQ_PRIORITY_THREAD   (4)
 IRQ priority value if running in thread mode.
 
#define NRF_MESH_IRQ_PRIORITY_LOWEST   (3)
 Lowest available IRQ priority on current architecture.
 

Detailed Description