C API for BALTECH SDK

§ brp_Ultralight_ExecCmd()

brp_errcode brp_Ultralight_ExecCmd ( brp_protocol  protocol,
unsigned  Cmd,
brp_buf  Param,
size_t  Param_len,
brp_buf Response,
size_t *  Response_len,
brp_mempool mempool 
)

Generic command to communicate to a Mifare Ultralight card.

Parameters
[in]protocolused to execute the command
[in]CmdUltralight command code.
[in]ParamCommand paramter.
[in]Param_len
[out]ResponseCommand response.
[out]Response_len
[in]mempoolis 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