MfgTokens#

Functions#

void

Function for initializing manufacturing module.

void
ZW_SetMfgTokenData(uint16_t token, void *data, uint8_t len)

Function for setting the manufacturing token data.

void
ZW_GetMfgTokenData(void *data, uint16_t token, uint8_t len)

Function for Getting the manufacturing token data.

void

Wrapper function for getting the manufacturing "country freq" token.

void

Writes Rf Region to manufacturing token.

void

Lock manufacturing token storage.

Macros#

#define
TOKEN_MFG_ZWAVE_COUNTRY_FREQ_ID 0x0001
#define
TOKEN_MFG_ZW_PRK_ID 0x0002
#define
TOKEN_MFG_ZW_PUK_ID 0x0003
#define
TOKEN_MFG_ZW_INITIALIZED_ID 0x0004
#define
TOKEN_MFG_ZW_QR_CODE_ID 0x0005
#define
TOKEN_MFG_ZWAVE_COUNTRY_FREQ_SIZE 1
#define
TOKEN_MFG_ZW_PRK_SIZE 32
#define
TOKEN_MFG_ZW_PUK_SIZE 32
#define
TOKEN_MFG_ZW_INITIALIZED_SIZE 1
#define
TOKEN_MFG_ZW_QR_CODE_SIZE 106

Function Documentation#

ZW_MfgTokenModuleInit#

void ZW_MfgTokenModuleInit (void )

Function for initializing manufacturing module.

Parameters
TypeDirectionArgument NameDescription
voidN/A

ZW_SetMfgTokenData#

void ZW_SetMfgTokenData (uint16_t token, void * data, uint8_t len)

Function for setting the manufacturing token data.

Parameters
TypeDirectionArgument NameDescription
uint16_t[in]token

Token to be set

void *[in]data

Pointer to object data to write

uint8_t[in]len

Size of object to write in bytes


ZW_GetMfgTokenData#

void ZW_GetMfgTokenData (void * data, uint16_t token, uint8_t len)

Function for Getting the manufacturing token data.

Parameters
TypeDirectionArgument NameDescription
void *[out]data

Pointer to object data where the value will be written to.

uint16_t[in]token

Type of the token to get

uint8_t[in]len

Size of output object


ZW_GetMfgTokenDataCountryFreq#

void ZW_GetMfgTokenDataCountryFreq (void * data)

Wrapper function for getting the manufacturing "country freq" token.

Parameters
TypeDirectionArgument NameDescription
void *[out]data

Country frequency token


ZW_SetMfgTokenDataCountryRegion#

void ZW_SetMfgTokenDataCountryRegion (void * region)

Writes Rf Region to manufacturing token.

Parameters
TypeDirectionArgument NameDescription
void *[in]region

Region to write


ZW_LockMfgTokenData#

void ZW_LockMfgTokenData (void )

Lock manufacturing token storage.

Parameters
TypeDirectionArgument NameDescription
voidN/A