From 3780f1f214e58e979a0960541b5d2d4df0b9e0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Ates?= Date: Fri, 24 May 2013 16:59:58 +0200 Subject: [PATCH] Standard commands dictionnary. --- commands_standard.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 commands_standard.py diff --git a/commands_standard.py b/commands_standard.py new file mode 100644 index 0000000..22c0772 --- /dev/null +++ b/commands_standard.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +''' + librfid - RFID EPC Class 1 Gen2 / ISO/IEC 18000-6C compliant library + + Copyright (C) 2013 Entr'ouvert + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + + EPC1 GEN2 / ISO 18000-6C commands +''' + + +COMMANDS = { + 'Inventory': { + 'type': '\x08', + 'code': '\x00\x01', + }, +}