![]() |
LibDriver MIFARE_CLASSIC
|
driver mifare classic basic source file More...
#include "driver_mifare_classic_basic.h"Go to the source code of this file.
Functions | |
| uint8_t | mifare_classic_basic_init (void) |
| basic example init | |
| uint8_t | mifare_classic_basic_deinit (void) |
| basic example deinit | |
| uint8_t | mifare_classic_basic_halt (void) |
| basic example halt | |
| uint8_t | mifare_classic_basic_wake_up (void) |
| basic example wake up | |
| uint8_t | mifare_classic_basic_search (mifare_classic_type_t *type, uint8_t id[4], int32_t timeout) |
| basic example search | |
| uint8_t | mifare_classic_basic_read (uint8_t block, uint8_t data[16], mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example read | |
| uint8_t | mifare_classic_basic_write (uint8_t block, uint8_t data[16], mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example write | |
| uint8_t | mifare_classic_basic_value_init (uint8_t block, int32_t value, uint8_t addr, mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example init as a value | |
| uint8_t | mifare_classic_basic_value_write (uint8_t block, int32_t value, uint8_t addr, mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example write value | |
| uint8_t | mifare_classic_basic_value_read (uint8_t block, int32_t *value, uint8_t *addr, mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example read value | |
| uint8_t | mifare_classic_basic_value_increment (uint8_t block, uint32_t value, mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example increment value | |
| uint8_t | mifare_classic_basic_value_decrement (uint8_t block, uint32_t value, mifare_classic_authentication_key_t key_type, uint8_t key[6]) |
| basic example decrement value | |
| uint8_t | mifare_classic_basic_set_permission (mifare_classic_authentication_key_t key_type, uint8_t key[6], uint8_t sector, uint8_t key_a[6], uint8_t block_0_0_4, uint8_t block_1_5_9, uint8_t block_2_10_14, uint8_t block_3_15, uint8_t user_data, uint8_t key_b[6]) |
| basic example set the sector permission | |
| uint8_t | mifare_classic_basic_get_permission (mifare_classic_authentication_key_t key_type, uint8_t key[6], uint8_t sector, uint8_t *block_0_0_4, uint8_t *block_1_5_9, uint8_t *block_2_10_14, uint8_t *block_3_15, uint8_t *user_data, uint8_t key_b[6]) |
| basic example get the sector permission | |
driver mifare classic basic source file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2022/06/30 | 1.0 | Shifeng Li | first upload |
Definition in file driver_mifare_classic_basic.c.