BALTECH SDK wrapper functions reference

§ brp_Ultralight_ExecCmd()

brp_errcode brp_Ultralight_ExecCmd ( brp_Ultralight_ExecCmd_t  params)

Generic command to communicate to a Mifare Ultralight card.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • Cmd (in) Ultralight command code.
  • Param (in) Command paramter.
  • Param_len (in) Length of Param (in bytes).
  • Response (out) Command response.
  • Response_len (out) Length of Response (in bytes).
  • mempool (in) is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool