Commit Graph

61 Commits

Author SHA1 Message Date
xdrm-brackets a689696a2b [Update] Used relation between 'global state' <=> 'chip state' to manage chips 2017-02-23 15:24:05 +01:00
xdrm-brackets 88cd366077 [Fix] min 2017-02-23 14:57:50 +01:00
xdrm-brackets 02404a3b16 [Fix] min 2017-02-23 14:56:11 +01:00
xdrm-brackets 2effad4611 [Fix] file constants 2017-02-23 14:50:54 +01:00
xdrm-brackets cd2ae5fd9c [Fix] 2017-02-23 14:47:25 +01:00
xdrm-brackets 07b61d2167 [Update] Renames \lib\chip to \lib\global-state and implemented 'update' that updated all chips according to the STATE file and the CHIPS list 2017-02-22 10:40:43 +01:00
xdrm-brackets 1500d616a9 [Update] Implemented the whole mfrc522:loop script[Todo] Rename \lib\chip to \lib\global-state and create 'update' which updated the whole chips according to the STATE file 2017-02-22 10:26:24 +01:00
xdrm-brackets f698fe389a [Update] Loop -> implemented information cache (action/current state/states) + loop minimum"
[Todo] Implement loop function using actions/states
[Done] Implemented first auth verification (if in list but no action check)
2017-02-21 18:50:37 +01:00
xdrm-brackets aa7377ede2 [Fixed] Set to low (because not set to OUT mode if already so doesn't set to LOW by default) 2017-02-21 16:35:39 +01:00
xdrm-brackets ed3f8eb835 [Upgrade] Updated new Permission management (SMMP all in header)History sync works 2017-02-21 15:59:04 +01:00
xdrm-brackets d886a8cd01 [Done] Implemented default `api/fetcher` 2017-02-21 10:23:34 +01:00
xdrm-brackets 7762f3d4c8 in/out /lib/gpio optimization (not if already good mode) 2017-02-20 23:22:17 +01:00
xdrm-brackets 3378985937 Not set to LOW (only HIGH if not 0) because mode OUT set automatically to LOW 2017-02-20 23:18:36 +01:00
xdrm-brackets b8f7051285 Update 2017-02-20 23:05:35 +01:00
xdrm-brackets 012a46da61 [Update] Optimized /lib/gpio methods to use shell only 2017-02-20 22:50:21 +01:00
xdrm-brackets 006955229c [Fixme] Check only first argument (before space if space) for syscall() 2017-02-20 22:26:26 +01:00
xdrm-brackets bbd4c717c5 Little fix (wrong syscall() links) 2017-02-20 22:17:48 +01:00
xdrm-brackets 291190475d [Done] Implemented chip state management 2017-02-20 21:58:29 +01:00
xdrm-brackets ee177181f8 [Done] Deploy management + updated configuration files (fetched by init/sync) 2017-02-20 21:22:42 +01:00
xdrm-brackets dba451e93e [Done] Gestion de init|sync fonctionnelle[Todo] Fetcher
[Todo] Deploy
2017-02-19 15:44:59 +01:00
xdrm-brackets 5ff68d5c42 [Done] init|sync works[Todo] Fetcher
[Todo] Deployer
2017-02-19 12:31:36 +01:00
xdrm-brackets a3ff6b9cbe added sync+init (with new system for init a machine : unlock code) 2017-02-19 11:19:40 +01:00
xdrm-brackets 0642e51e1b [Fixed] const paths + /lib/gpio bugfix 2017-02-18 18:49:04 +01:00
xdrm-brackets 4bd6ce33f8 Added gpio lib in /lib/gpio 2017-02-18 18:38:55 +01:00
xdrm-brackets 09c0251389 Update local paths 2017-02-18 13:04:20 +01:00
xdrm-brackets afad55cc5c [Fixed] mfrc522/loop code 2017-02-18 11:09:49 +01:00
xdrm-brackets 14ecec0289 [Done] Usage of /usr/bin/env instead of shortcuts 2017-02-18 11:07:56 +01:00
xdrm-brackets 919ccb363f [Fixed] const log files (were in conf dir) 2017-02-18 11:05:20 +01:00
xdrm-brackets 04edbf7458 Updated 'update' 2017-02-17 19:40:52 +01:00
xdrm-brackets 9d6382d1f2 [Fixed] Return value of python card reader 2017-02-17 18:02:16 +01:00
xdrm-brackets da967943a2 Added python script to read MFRC522 rfid 2017-02-17 16:47:19 +01:00
xdrm-brackets ab9cf81909 update path 2017-02-17 16:00:45 +01:00
xdrm-brackets 166fbd3797 Fixed curl trouble (linebreak in url file) 2017-01-31 19:26:32 +01:00
xdrm-brackets 74e7d85da9 Updated loop (not functional yet) 2017-01-30 11:41:25 +01:00
xdrm-brackets 68d82b9218 Fixed log flag for api/cyclic-hash 2017-01-30 10:59:52 +01:00
xdrm-brackets 390312ad41 Updated log function/bash (default values) + use in update 2017-01-30 10:54:57 +01:00
xdrm-brackets d4b14c1d02 Bash/Php const+func with source -> update bootloader 2017-01-30 10:39:45 +01:00
xdrm-brackets 3a9b6b8d5e added mfrc522 reader (with temporary buffer replacement) 2017-01-29 23:02:29 +01:00
xdrm-brackets 3427d07580 Updated 'update' script exit code 2017-01-28 19:26:19 +01:00
xdrm-brackets 3e1257417f release fix 2017-01-28 19:02:52 +01:00
xdrm-brackets c8e0cf2108 Propagated hash fix (new management) to api 2017-01-28 19:00:50 +01:00
xdrm-brackets 542d7384d4 New hash management (prepared next secret) : cyclic-hash/* 2017-01-28 18:58:49 +01:00
xdrm-brackets 1b17ab8d38 fixed array instead of raw form-data 2017-01-28 17:59:54 +01:00
xdrm-brackets 94685a0210 Fixed the way that curl sends post data with multipart content-type 2017-01-28 13:00:49 +01:00
xdrm-brackets dbfd0662ea minmod 2017-01-28 12:55:14 +01:00
xdrm-brackets 1b9ea58e3a boot fix 2017-01-28 12:19:40 +01:00
xdrm-brackets 9a1a8a683f Fixed 'lib/api/sync' path 2017-01-28 12:10:00 +01:00
xdrm-brackets 528184c418 release #1 2017-01-28 11:46:22 +01:00
xdrm-brackets ef4b7b7605 pre-Fix 2017-01-28 11:45:09 +01:00
xdrm-brackets 70fd711003 Fixed log (.log at the end) + fetch management to do 2017-01-27 21:00:06 +01:00