uFCoder 2.62
|
Functions | |
UFR_STATUS DL_API | GetReaderTime (VAR uint8_t *time) |
Function returns a 6 bytes array of uint8_t that represents the current date and time into the device's RTC. | |
UFR_STATUS DL_API | SetReaderTime (IN uint8_t *password, VAR uint8_t *time) |
Function sets the date and time into the device's RTC. | |
UFR_STATUS DL_API GetReaderTime | ( | VAR uint8_t * | time | ) |
Function returns a 6 bytes array of uint8_t that represents the current date and time into the device's RTC.
time | pointer to the 6 bytes array containing date and time representation |
UFR_STATUS DL_API SetReaderTime | ( | IN uint8_t * | password, |
VAR uint8_t * | time ) |
Function sets the date and time into the device's RTC.
Function requires the 8 bytes password entry to set date and time. Date and time are represented into a 6 bytes array in the same way as in the GetReaderTime function. Factory password is “11111111” (0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31).
password | pointer to the 8 bytes array containing password time pointer to the 6 bytes array containing date and time representation |
time | pointer to the 6 bytes array containing date and time representation |