CryptoAuthLib
Microchip CryptoAuthentication Library
atca_basic_info.c File Reference

CryptoAuthLib Basic API methods for Info command. More...

#include "atca_basic.h"
#include "atca_execution.h"

Functions

ATCA_STATUS atcab_info_base (uint8_t mode, uint16_t param2, uint8_t *out_data)
 Issues an Info command, which return internal device information and can control GPIO and the persistent latch. More...
 
ATCA_STATUS atcab_info (uint8_t *revision)
 Use the Info command to get the device revision (DevRev). More...
 
ATCA_STATUS atcab_info_get_latch (bool *state)
 Use the Info command to get the persistent latch current state for an ATECC608A device. More...
 
ATCA_STATUS atcab_info_set_latch (bool state)
 Use the Info command to set the persistent latch state for an ATECC608A device. More...
 

Detailed Description

CryptoAuthLib Basic API methods for Info command.

Info command returns a variety of static and dynamic information about the device and its state. Also is used to control the GPIO pin and the persistent latch.

Note
The ATSHA204A refers to this command as DevRev instead of Info, however, the OpCode and operation is the same.
List of devices that support this command - ATSHA204A, ATECC108A, ATECC508A & ATECC608A. There are differences in the modes that they support. Refer to device datasheets for full details.