Brmdoor control software; Software for handling (un)locking brmlab door using RFID cards, ringing the bell and announcing state of the door and video broadcast
Find a file
2014-08-06 09:22:00 +02:00
brmd Changed default board ID since the board was physically changed 2014-03-25 23:50:00 +01:00
brmdoor Melody played when access denied by Jenda. 2014-08-05 22:48:51 +02:00
brmdoor-rpi Don't flood NFC errors 2014-06-27 12:39:59 +02:00
.gitignore Added gitignore 2014-03-25 12:40:54 +01:00
debian.init debian startup script 2013-06-18 03:20:08 +02:00
README Howto for adding new card numbers in README 2014-03-26 15:05:46 +01:00
README.raspberry README.raspberry added 2013-06-18 01:52:57 +02:00
TODO brmd::Alphasign: Manage serial directly, no external helper 2011-05-13 00:03:23 +02:00

=== Brmdoor control software ===

brmd/ - integration hub that collects data from various sources and provides
unified reporting on IRC and web etc.

brmdoor/ - Arduino software


Project webpage: http://brmlab.cz/project/brmdoor

Note for PN532 version: if you want brmdoor to add card UID after "CARD"
message (not just nick), set printFullUID to true in brmdoor/brmdoor.ino.


==== Adding new UIDs to the database ====

There are two lists - the new proper and the old deperecated with truncated UIDs.
When adding, the new list is better place.

The new proper list is searched for UIDs first.

===== Using the new proper list - recommended =====

Edit the cardids_proper.h file and add your UID and nick to a new line, which
will become part of the ACLproper array. E.g. to add UID 04c24ce9ad2780 that is
7 bytes long and adding nick "voyeur1", add line:

  { 7, {0x04, 0xc2  0x4c, 0xe9, 0xad, 0x27, 0x80}, "voyeur1" },


===== Using the old broken truncated list - not recommended =====

Edit the cardids.h file. If the new card UID is 4 bytes long, e.g. 35b018d4,
compute BCC, which is xor of these four bytes (0x49 in this case). Then add

  { {0x00, 0x00, 0x35, 0xb0, 0x18, 0xd4, 0x49}, "mifare_classic_1" },

The first two bytes are magic bytes that originate in the old reader, just use
two zero bytes as above. The last byte is BCC we computed before. But you can
use zero, the software doesn't need it.

If the card UID is longer than 4 bytes (7 or 10 bytes), e.g. 04c24ce9ad2780,
discard last four bytes of the UID and prepend 0x88. Use this "newly" created
UID as if the card had only 4 byte UID, just like above.

  { {0x00, 0x00, 0x88, 0x04, 0xc2, 0x4c, 0x02}, "truncated_voyeur1" },

The old reader didn't support ISO14443 SELECT cascade 2 and 3. Hence the broken
UIDs.