Configuration API > BS2_GetCard1xConfig


BS2_GetCard1xConfig

Retrieves v1 Template on Card settings from the device. This feature is implemented to read Template on Cards already issued from a v1 device. It does not allow a v2 device to issue a template on card in a v1 layout.

IMPORTANT
You are not able to retrieve a key value due to security reason.

Declaration

#include "BS_API.h"
 
int BS2_GetCard1xConfig(void* context, uint32_t deviceId, BS1CardConfig* config);

Parameter

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.