SAM commands used for MIFARE Ultralight PICC communication in S-Mode.
More...
SAM commands used for MIFARE Ultralight PICC communication in S-Mode.
◆ phhalHw_SamAV3_Cmd_SAM_PwdAuthUL_Part1()
Performs PwdAuthUL command execution part 1 in S mode.
The first part includes the header, Key number, Key Version,Diversification input and returns Message
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bKeyNo | [In] Key number available in Sam keystore. |
| [in] | bKeyVer | [In] Key version available in Sam keystore. |
| [in] | pDivInput | [In] Diversification input for key diversification. (1 to 31 byte(s) input). |
| [in] | bDivInputLen | [In] Length of diversification input. |
| [out] | ppPwd | [Out] Overall message (4 byte). |
| [out] | pPwdLen | [Out] Overall message Lenght (4 byte). |
◆ phhalHw_SamAV3_Cmd_SAM_PwdAuthUL_Part2()
Performs PwdAuthUL command execution part 2 in S mode.
The Last part includes the header and Password authentication acknowledge
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wPack | [In] Passwork Authentication Acknowledge. |