BALTECH SDK wrapper functions reference

§ brp_Desfire_ProxCheck()

brp_errcode brp_Desfire_ProxCheck ( brp_Desfire_ProxCheck_t  params)

This command executes a proximity check of the card.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • M (in) Number of random bytes which are send within one procimity check round.
  • UseExtProxKey (in) Use (external) Proximity key given as command parameter. If the card is already authenticated (Card Authentication), do not activate this option.
  • DiversifyProxKey (in) Key diversification of the proximity key defined in Crypto Memory or SAM will be done according to NXP AN10922.
  • UseProxKey (in) Proximity key is defined in Crypto Memory or SAM. If the card is already authenticated (VC Selection or Card Authentication), do not activate this option.
  • ProxKeyIdx (in) Crypto Memory Index (SAM or CryptoMemory) of proximity check key * SAM: MSByte: Key version / LSByte: KeyIdx * Crypto Memory: MSByte: Page (0..15) / LSByte: KeyIdx (0x80-0xBF)
  • DivData (in) Key diversification according to NXP AN10922.
  • DivData_len (in) Length of DivData (in bytes).
  • ProxKey (in) Proximity check key
  • ProxKey_len (in) Length of ProxKey (in bytes).