LibDriver NTAG21X
Loading...
Searching...
No Matches
driver_ntag21x_basic.c File Reference

driver ntag21x basic source file More...

Include dependency graph for driver_ntag21x_basic.c:

Go to the source code of this file.

Functions

uint8_t ntag21x_basic_init (void)
 basic example init
uint8_t ntag21x_basic_deinit (void)
 basic example deinit
uint8_t ntag21x_basic_halt (void)
 basic example halt
uint8_t ntag21x_basic_wake_up (void)
 basic example wake up
uint8_t ntag21x_basic_search (ntag21x_capability_container_t *type, uint8_t id[8], int32_t timeout)
 basic example search
uint8_t ntag21x_basic_read (uint8_t page, uint8_t data[4])
 basic example read
uint8_t ntag21x_basic_read_four_pages (uint8_t start_page, uint8_t data[16])
 basic example read four pages
uint8_t ntag21x_basic_read_pages (uint8_t start_page, uint8_t stop_page, uint8_t *data, uint16_t *len)
 basic example read pages
uint8_t ntag21x_basic_write (uint8_t page, uint8_t data[4])
 basic example write
uint8_t ntag21x_basic_get_version (ntag21x_version_t *version)
 basic example get version
uint8_t ntag21x_basic_read_counter (uint32_t *cnt)
 basic example read counter
uint8_t ntag21x_basic_read_signature (uint8_t signature[32])
 basic example read signature
uint8_t ntag21x_basic_get_serial_number (uint8_t number[7])
 basic example get serial number
uint8_t ntag21x_basic_set_password_pack (uint8_t pwd[4], uint8_t pack[2])
 basic example set password and pack
uint8_t ntag21x_basic_authenticate (uint8_t pwd[4], uint8_t pack[2])
 basic example authenticate
uint8_t ntag21x_basic_set_dynamic_lock (uint8_t lock[3])
 basic example set dynamic lock
uint8_t ntag21x_basic_set_static_lock (uint8_t lock[2])
 basic example set static lock
uint8_t ntag21x_basic_set_mirror (ntag21x_mirror_t mirror, ntag21x_mirror_byte_t byte, uint8_t page)
 basic example set mirror
uint8_t ntag21x_basic_set_modulation_mode (ntag21x_modulation_mode_t mode)
 basic example set modulation mode
uint8_t ntag21x_basic_set_protect_start_page (uint8_t page)
 basic example set protect start page
uint8_t ntag21x_basic_set_authenticate_limitation (uint8_t limit)
 basic example set the authenticate limitation
uint8_t ntag21x_basic_set_access (ntag21x_access_t access, ntag21x_bool_t enable)
 basic example set access

Detailed Description

driver ntag21x 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.

Version
1.0.0
Author
Shifeng Li
Date
2022-06-30

history

Date Version Author Description
2022/06/30 1.0 Shifeng Li first upload

Definition in file driver_ntag21x_basic.c.