This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

Smartcard API > BS2_WriteQRCode


[+ 2.8] Write the character strings to use QR code in the structure BS2CSN Card X-Station 2
Available QR Code Data of X-Station 2 QR is up to 32 characters with the printable ASCII code from 32 (space) to 126(~) in ASCII table.

Declaration

#include "BS_API.h"
 
int BS2_WriteQRCode(const char* qrText, BS2CSNCard* card);

Parameter

  • [In] qrText : Character stting as QR Code
  • [Out] card : CSN Card Structure pointer with applied QR Code

Return Value

If successfully done, BS_SDK_SUCCESS will be returned. If there is not supported character string, the error code BS_SDK_ERROR_INVALID_PARAM will be returned.