PreviousNext
Set Security
Help > Peripherals > OS > Set Security

This command allows setting various security parameters.

 

Request

 

NADR

PNUM

PCMD

HWPID

0

1 … 16

NADR

0x02

0x06

?

Type

Data

 

Type                 0        Sets an access password using setAccessPassword IQRF OS function.

                        1        Sets a user key using setUserKey IQRF OS function.

                        other  Reserved

Data                 Data written to the specified Type of security parameter.

 

Response

 

The general response to writing request with STATUS_NO_ERROR Error code.

 

Error codes

ERROR_DATA      Invalid Type value.