Configuration API > BS2_SetCard1xConfig


Stores v1 Template on Card settings on 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.

Declaration

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

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] config : v1 template on card settings pointer

Return Value

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