[riot-notifications] [RIOT-OS/RIOT] drivers/mfrc522: add new driver (#16782)

Hendrik van Essen notifications at github.com
Tue Sep 14 17:32:58 CEST 2021


Here is some shell output:

```
2021-09-14 17:20:14,977 # help
2021-09-14 17:20:14,980 # Command              Description
2021-09-14 17:20:14,983 # ---------------------------------------
2021-09-14 17:20:14,986 # reset                Reset the device.
2021-09-14 17:20:14,989 # antenna_on           Turn the antenna on.
2021-09-14 17:20:14,993 # antenna_off          Turn the antenna off.
2021-09-14 17:20:14,996 # set_antenna_gain     Set antenna gain.
2021-09-14 17:20:15,000 # get_antenna_gain     Get antenna gain.
2021-09-14 17:20:15,004 # firmware_version     Print the firmware version.
2021-09-14 17:20:15,009 # picc_dump            Dumps debug info about a scanned PICC.
2021-09-14 17:20:15,015 # scan_uid             Scan repeatedly until a PICC's UID is scanned.
2021-09-14 17:20:15,020 # set_uid              Set the UID of a scanned PICC.
2021-09-14 17:20:15,023 # self_test            Run the self test.
> firmware_version
2021-09-14 17:20:22,460 # firmware_version
2021-09-14 17:20:22,461 # 0x92 = v2.0
> scan_uid
2021-09-14 17:20:30,443 # scan_uid
2021-09-14 17:20:30,467 # No card detected ...
2021-09-14 17:20:30,968 # Repeat scan (2/20) ...
2021-09-14 17:20:30,993 # No card detected ...
2021-09-14 17:20:31,493 # Repeat scan (3/20) ...
2021-09-14 17:20:31,519 # No card detected ...
2021-09-14 17:20:32,019 # Repeat scan (4/20) ...
2021-09-14 17:20:32,022 # Card detected. Read card serial ...
2021-09-14 17:20:32,025 # Scanned PICC's UID: da4ad347
> picc_dump
2021-09-14 17:20:41,805 # picc_dump
2021-09-14 17:20:41,807 # Card detected. Read card serial ...
2021-09-14 17:20:41,810 # Scanned PICC's UID: da4ad347
2021-09-14 17:20:41,812 # Card UID: da 4a d3 47
2021-09-14 17:20:41,813 # Card SAK: 08
2021-09-14 17:20:41,815 # PICC type: MIFARE 1KB
2021-09-14 17:20:41,822 # Sector Block   0  1  2  3   4  5  6  7   8  9 10 11  12 13 14 15  AccessBits
2021-09-14 17:20:41,829 #   15     63   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,835 #          62   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,842 #          61   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,849 #          60   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,855 #   14     59   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,861 #          58   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,869 #          57   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,875 #          56   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,882 #   13     55   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,889 #          54   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,895 #          53   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,902 #          52   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,909 #   12     51   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,915 #          50   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,922 #          49   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,929 #          48   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,935 #   11     47   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,942 #          46   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,949 #          45   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,955 #          44   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,962 #   10     43   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,969 #          42   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,976 #          41   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,982 #          40   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:41,989 #    9     39   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:41,996 #          38   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,002 #          37   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,009 #          36   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,016 #    8     35   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,022 #          34   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,029 #          33   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,036 #          32   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,043 #    7     31   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,049 #          30   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,056 #          29   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,062 #          28   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,069 #    6     27   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,076 #          26   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,083 #          25   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,089 #          24   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,096 #    5     23   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,103 #          22   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,109 #          21   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,116 #          20   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,123 #    4     19   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,129 #          18   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,136 #          17   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,143 #          16   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,149 #    3     15   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,156 #          14   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,163 #          13   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,169 #          12   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,176 #    2     11   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,182 #          10   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,190 #           9   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,196 #           8   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,203 #    1      7   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,210 #           6   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,216 #           5   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,223 #           4   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,230 #    0      3   00 00 00 00  00 00 ff 07  80 69 ff ff  ff ff ff ff  [ 0 0 1 ] 
2021-09-14 17:20:42,236 #           2   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,243 #           1   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ] 
2021-09-14 17:20:42,249 #           0   da 4a d3 47  04 08 04 00  62 63 64 65  66 67 68 69  [ 0 0 0 ] 
2021-09-14 17:20:42,264 # 
> self_test
2021-09-14 17:20:48,808 # self_test
2021-09-14 17:20:48,859 # SUCCESS
scan_uid
2021-09-14 17:21:22,557 # scan_uid
2021-09-14 17:21:22,560 # Card detected. Read card serial ...
2021-09-14 17:21:22,562 # Scanned PICC's UID: 880ae4b
> scan_uid
2021-09-14 17:21:25,611 # scan_uid
2021-09-14 17:21:25,614 # Card detected. Read card serial ...
2021-09-14 17:21:25,617 # Scanned PICC's UID: da4ad347
> scan_uid
2021-09-14 17:21:29,644 # scan_uid
2021-09-14 17:21:29,647 # Card detected. Read card serial ...
2021-09-14 17:21:29,650 # Scanned PICC's UID: 25c6f52a
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16782#issuecomment-919265289
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210914/b17d2765/attachment-0001.htm>


More information about the notifications mailing list