Z-Stack API Reference  4.40.00.15
_zstack_sysconfigwritereq_t Struct Reference

#include <zstack.h>

Data Fields

bool has_preConfigKeyEnable
 
bool preConfigKeyEnable
 
bool has_securityModeEnable
 
bool securityModeEnable
 
bool has_useDefaultTCLK
 
bool useDefaultTCLK
 
bool has_disablePollRate
 
bool disablePollRate
 
bool has_pollRate
 
uint32_t pollRate
 
uint16_t pollRateType
 
bool has_apsAckWaitDuration
 
uint16_t apsAckWaitDuration
 
bool has_bindingTime
 
uint16_t bindingTime
 
bool has_panID
 
uint16_t panID
 
bool has_maxMissingMacAckLinkFailure
 
uint8_t maxMissingMacAckLinkFailure
 
bool has_indirectMsgTimeout
 
uint8_t indirectMsgTimeout
 
bool has_apsFrameRetries
 
uint8_t apsFrameRetries
 
bool has_bcastRetries
 
uint8_t bcastRetries
 
bool has_passiveAckTimeout
 
uint8_t passiveAckTimeout
 
bool has_bcastDeliveryTime
 
uint8_t bcastDeliveryTime
 
bool has_routeExpiryTime
 
uint8_t routeExpiryTime
 
bool has_userDesc
 
uint8_t n_userDesc
 
uint8_t * pUserDesc
 
bool has_preConfigKey
 
uint8_t n_preConfigKey
 
uint8_t * pPreConfigKey
 
bool has_chanList
 
uint32_t chanList
 
bool has_multicastRadius
 
uint8_t multicastRadius
 
bool has_extendedPANID
 
zstack_LongAddr_t extendedPANID
 
bool has_ieeeAddr
 
zstack_LongAddr_t ieeeAddr
 
bool has_macRxOnIdle
 
bool macRxOnIdle
 
bool has_snifferFeature
 
bool snifferFeature
 
bool has_concentratorEnable
 
bool concentratorEnable
 
bool has_concentratorDiscTime
 
uint8_t concentratorDiscTime
 
bool has_nwkUseMultiCast
 
bool nwkUseMultiCast
 

Detailed Description

Structure to send a system config write request. Each config field has 2 parts to it, the actual value field and its "has_" field. The "has_" field must be set to "true" for the value field to be valid. For example, the pollRate field is valid only if the has_pollRate field is set to true.

Field Documentation

§ apsAckWaitDuration

uint16_t apsAckWaitDuration

APS Ack Waite Duration

§ apsFrameRetries

uint8_t apsFrameRetries

APS Frame Retries

§ bcastDeliveryTime

uint8_t bcastDeliveryTime

Broadcast Delivery Time

§ bcastRetries

uint8_t bcastRetries

Broadcast Retries

§ bindingTime

uint16_t bindingTime

Binding Time

§ chanList

uint32_t chanList

Channel List (bitmap) - Channels are defined in the following: 0 : 868 MHz (0x00000001), 1 - 10 : 915 MHz (0x000007FE), 11 - 26 : 2.4 GHz (0x07FFF800)

§ concentratorDiscTime

uint8_t concentratorDiscTime

Concentrator Discovery Time value in seconds

§ concentratorEnable

bool concentratorEnable

True to enable the Concentrator, false to disable

§ disablePollRate

bool disablePollRate

Set to true to indicate the stack to stop polling completly (this overwrites EndDeviceTimeout stack requirements). Set to False to restore the current polling configuration.

§ extendedPANID

zstack_LongAddr_t extendedPANID

64 bit extended PAN ID (APS USE)

§ has_apsAckWaitDuration

bool has_apsAckWaitDuration

Set to true if apsAckWaitDuration is available, false if not

§ has_apsFrameRetries

bool has_apsFrameRetries

Set to true if apsFrameRetries is available, false if not

§ has_bcastDeliveryTime

bool has_bcastDeliveryTime

Set to true if bcastDeliveryTime is available, false if not

§ has_bcastRetries

bool has_bcastRetries

Set to true if bcastRetries is available, false if not

§ has_bindingTime

bool has_bindingTime

Set to true if bindingTime is available, false if not

§ has_chanList

bool has_chanList

Set to true if chanList is available, false if not

§ has_concentratorDiscTime

bool has_concentratorDiscTime

Set to true if concentratorEnable is available, false if not

§ has_concentratorEnable

bool has_concentratorEnable

Set to true if concentratorEnable is available, false if not

§ has_disablePollRate

bool has_disablePollRate

Set to true if disablePollRate is available. If this is enabled, then has_pollRate has no effect

§ has_extendedPANID

bool has_extendedPANID

Set to true if extendedPANID is available, false if not

§ has_ieeeAddr

bool has_ieeeAddr

Set to true if ieeeAddr is available, false if not

§ has_indirectMsgTimeout

bool has_indirectMsgTimeout

Set to true if indirectMsgTimeout is available, false if not

§ has_macRxOnIdle

bool has_macRxOnIdle

Set to true if macRxOnIdle is available, false if not

§ has_maxMissingMacAckLinkFailure

bool has_maxMissingMacAckLinkFailure

Set to true if maxMissingMacAckLinkFailure is available, false if not

§ has_multicastRadius

bool has_multicastRadius

Set to true if chanList is available, false if not

§ has_nwkUseMultiCast

bool has_nwkUseMultiCast

Set to true if nwkUseMultiCast is available, false if not

§ has_panID

bool has_panID

Set to true if panID is available, false if not

§ has_passiveAckTimeout

bool has_passiveAckTimeout

Set to true if passiveAckTimeout is available, false if not

§ has_pollRate

bool has_pollRate

Set to true if pollRate and pollRateType is available, false if not

§ has_preConfigKey

bool has_preConfigKey

Set to true if preConfigKey is available, false if not

§ has_preConfigKeyEnable

bool has_preConfigKeyEnable

Set to true if preConfigKeyEnable is available, false if not

§ has_routeExpiryTime

bool has_routeExpiryTime

Set to true if routeExpiryTime is available, false if not

§ has_securityModeEnable

bool has_securityModeEnable

Set to true if securityModeEnable is available, false if not

§ has_snifferFeature

bool has_snifferFeature

Set to true if snifferFeature is available, false if not

§ has_useDefaultTCLK

bool has_useDefaultTCLK

Set to true if useDefaultTCLK is available, false if not

§ has_userDesc

bool has_userDesc

Set to true if userDesc is available, false if not

§ ieeeAddr

64 bit extended IEEE address

§ indirectMsgTimeout

uint8_t indirectMsgTimeout

Indirect Message Timeout

§ macRxOnIdle

bool macRxOnIdle

the MAC's RxOnIdle parameter

§ maxMissingMacAckLinkFailure

uint8_t maxMissingMacAckLinkFailure

End Device frames to its parent failure before forcing link failure (not applicable for routers)

§ multicastRadius

uint8_t multicastRadius

Multicast radius

§ n_preConfigKey

uint8_t n_preConfigKey

length of pPreConfigKey

§ n_userDesc

uint8_t n_userDesc

Size of the User Descriptor (16 bytes max)

§ nwkUseMultiCast

bool nwkUseMultiCast

True to enable the use of Multicast messaging

§ panID

uint16_t panID

PAN ID

§ passiveAckTimeout

uint8_t passiveAckTimeout

Passive Ack Timeout

§ pollRate

uint32_t pollRate

End Device Poll Rate to set to pollRateType (not applicable for routers), in milliseconds. This must be bigger than MINIMUM_APP_POLL_RATE, when setting application poll rate as: POLL_RATE_TYPE_DEFAULT, POLL_RATE_TYPE_APP_1 and POLL_RATE_TYPE_APP_2

§ pollRateType

uint16_t pollRateType

Poll rate type to be set. This field is a bitmask. The poll associated to the operations set in this bitmask parameter will be set to the pollRate parameter. POLL_RATE_TYPE_DEFAULT 0x0001 Default pollrate to be used when no other stack operation is done. POLL_RATE_TYPE_APP_1 0x0002 Application defined poll rate POLL_RATE_TYPE_APP_2 0x0004 Application defined poll rate POLL_RATE_TYPE_JOIN_REJOIN 0x0008 Poll rate used by the stack during join/rejoin operations POLL_RATE_TYPE_QUEUED 0x0010 Poll rate used by the stack when expecting a response or retrieving all queued messages from parent. POLL_RATE_TYPE_RESPONSE 0x0020 Poll rate used by the stack when expecting a response. POLL_RATE_TYPE_GENERIC_1_SEC 0x1000 1 second poll rate used by the stack (cannot be modified) POLL_RATE_DISABLED 0x4000 State to not perform poll rate. This is used by the stack (cannot be modified) POLL_RATE_RX_ON_TRUE 0x8000 Indicates if ZED is RxOnIdle, device will not poll unless Parent request it as keep alive method (cannot be modified)

§ pPreConfigKey

uint8_t* pPreConfigKey

Pointer to the PreConfig Key (16 bytes)

§ preConfigKeyEnable

bool preConfigKeyEnable

Pre Config Key Enable

§ pUserDesc

uint8_t* pUserDesc

Pointer to the User Descriptor

§ routeExpiryTime

uint8_t routeExpiryTime

Route Expiry Time

§ securityModeEnable

bool securityModeEnable

Security Mode Enable (nwk)

§ snifferFeature

bool snifferFeature

True to enable the Sniffer Feature, false to disable

§ useDefaultTCLK

bool useDefaultTCLK

Enable the use of the preconfig Trust Center Link Key


The documentation for this struct was generated from the following file: