PreviousNext
setAccessPassword
Help > OS functions > Encryption > setAccessPassword

Function

 

Set Access password

Purpose

 

To specify the 16 B long password for generating keys for encryption/decryption of bonding and maintenance (e.g. authorization and Restore) communication

Syntax

 

void setAccessPassword()

Parameters

 

  –

Input values

 

bufferINFO[0 to 15] to be copied to the Access password.   

Return value

 

  –

Output values

 

Complete bufferINFO is cleared when finished.

Preconditions

 

     For IQMESH only

     Default value after reset: Access password = 00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00

     It is recommended to change the Access password from the default value to a user-specific one.

     The same Access password must be used for all devices in the network.

Remarks

 

  –

Side effects

 

  –

See also

 

  –

Example

 

bufferINFO[0] = 0x52;

      …

bufferINFO[15] = 0xB1;

setAccessPassword();