From 6f38f6017e53f37ec3d5b6804edb33a0b205a378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Ates?= Date: Mon, 7 Oct 2013 16:55:47 +0200 Subject: [PATCH] Add declaration if STID reader commands. --- stid_readers/commands_basic.py | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/stid_readers/commands_basic.py b/stid_readers/commands_basic.py index 8ee45a4..c5fce48 100644 --- a/stid_readers/commands_basic.py +++ b/stid_readers/commands_basic.py @@ -36,6 +36,10 @@ COMMANDS = { 'EEProm. Il est nécessaire de redémarrer le lecteur afin que cette ' 'commande soit prise en compte.', }, + 'Set_RFSettings_Saved': { + 'type': '\x00', + 'code': '\x00\x22', + }, 'Get_RFSettings': { 'type': '\x00', 'code': '\x00\x20', @@ -44,10 +48,42 @@ COMMANDS = { 'type': '\x00', 'code': '\x00\x24', }, + 'Autonomous_Start': { + 'type': '\x00', + 'code': '\x00\x10', + }, + 'Autonomous_Stop': { + 'type': '\x00', + 'code': '\x00\x11', + }, + 'Autonomous_Output': { + 'type': '\x00', + 'code': '\x00\x12', + }, + 'SetOptoOutputParam': { + 'type': '\x00', + 'code': '\x00\x25', + }, + 'ChangeRegulation': { + 'type': '\x00', + 'code': '\x00\x26', + }, 'GetInfos': { 'type': '\x00', 'code': '\x00\x08', }, + 'SetBaudRate': { + 'type': '\x00', + 'code': '\x00\x05', + }, + 'Set485Address': { + 'type': '\x00', + 'code': '\x00\x06', + }, + 'Set_RF_Param': { + 'type': '\x00', + 'code': '\x00\x27', + }, 'Retrieve_RF_Params': { 'type': '\x00', 'code': '\x00\x28',