Commit Graph

419 Commits

Author SHA1 Message Date
Bart Van Der Meerssche 34196cc1f1 [fsync] generate a flukso.service file for avahi 2011-03-06 01:05:15 +01:00
Bart Van Der Meerssche 7b5b64abf8 [fsync] check whether sensor exists and has been enabled when symlinking 2011-03-06 00:25:14 +01:00
Bart Van Der Meerssche 5681ec612f [fsync] update sensor symlinks to cgi-script 2011-03-05 20:02:15 +01:00
Bart Van Der Meerssche 5a2122a0c5 [httpclient] name clash: error is alread used by the basic library in Lua 2011-03-05 10:09:07 +01:00
Bart Van Der Meerssche a826343f6c [luci] allow httpclient to perform peer certificate validation 2011-03-05 00:07:56 +01:00
Bart Van Der Meerssche e5c1cd9f00 [luci] select cyassl as luci crypto library 2011-03-05 00:06:59 +01:00
Bart Van Der Meerssche a00dce9563 [api] add a POST method to sensor/xyz for submitting measurement values 2011-03-04 18:30:58 +00:00
Bart Van Der Meerssche 62b4c7aadf [openwrt] practicing ASCII art 2011-02-26 00:09:24 +01:00
Bart Van Der Meerssche 3bb1345b29 [avr] wrap setup functions in a cli/sei pair 2011-02-17 23:49:54 +01:00
Bart Van Der Meerssche 18d91b024f [avr] throttle back the clock when in power-loss mode 2011-02-17 23:48:31 +01:00
Bart Van Der Meerssche e3de39f026 [fluksod] allow counter to wrap around in WAN branch 2011-02-17 00:11:21 +01:00
Bart Van Der Meerssche 5df1cae92c [avr] subsitute eeprom_write_block for eeprom_update_block so that a byte is written only when it differs from the value stored in EEPROM 2011-02-16 17:33:29 +01:00
Bart Van Der Meerssche acf658dd26 [avr] wrap eeprom_read_blocks in a cli/sei pair 2011-02-16 16:37:16 +01:00
Bart Van Der Meerssche a90b7a8dce [avr] connect the analog comp to the input capture noise canceler for spike suppression 2011-02-15 23:26:54 +01:00
Bart Van Der Meerssche 35e79ca1bf [avr] double-check the ACO to protect against spikes on the sensing circuit 2011-02-15 22:52:46 +01:00
Bart Van Der Meerssche 4fc914558f [avr] enable brown-out counter 2011-02-14 20:53:34 +01:00
Bart Van Der Meerssche efda61d08a [fsync] fix typo 2011-02-12 20:38:23 +01:00
Bart Van Der Meerssche 0878114479 [spid] double Rx/Tx delay to 20ms to accomodate for gd commands 2011-02-12 20:03:29 +01:00
Bart Van Der Meerssche 9deaf89d04 [avr] make fdude default programmer for rprogram target 2011-02-12 19:56:15 +01:00
Bart Van Der Meerssche 7e99548842 [luad] add an Erlang-style supervisior to the daemon 2011-02-12 19:34:10 +01:00
Bart Van Der Meerssche 36746544ee [fdude] wraps avrdude in an spidev resource lock 2011-02-12 15:27:01 +01:00
Bart Van Der Meerssche 7fba026ddb [spid + fsync] add support for commit command 2011-02-12 12:36:53 +01:00
Bart Van Der Meerssche 849c671175 [spid] set SPI_TX_RX_DELAY_NS to 10ms, down from 100ms 2011-02-12 11:47:31 +01:00
Bart Van Der Meerssche cbc7949d95 [openwrt] add init.d script to flukso package 2011-02-03 12:28:36 +01:00
Bart Van Der Meerssche 9e8b7680b6 [restful] port local JSON/REST interface to v2 2011-02-03 12:27:24 +01:00
Bart Van Der Meerssche b69a4d5bdd [fluksod] fix bug in pulse logic 2011-02-03 12:25:52 +01:00
Bart Van Der Meerssche 8b7cc4510a [busybox] enable ip command for use in horst shell script 2011-02-03 12:23:00 +01:00
Bart Van Der Meerssche 8d2ccb8979 [avrdude] patch avrdude to work with inverted logic on RST and SCK lines 2011-02-03 12:21:44 +01:00
Bart Van Der Meerssche a1b981e4f8 [avr] switch avr to SPI mode 2 (inverted SCK) for new level-shifer 2011-02-03 12:20:24 +01:00
Bart Van Der Meerssche f99ea292ff [avr] write sensor data to EEPROM when power-loss is detected 2011-02-03 12:17:33 +01:00
Bart Van Der Meerssche e842040395 [avr + avrdude] switching to m168p hardware 2011-02-03 12:15:41 +01:00
Bart Van Der Meerssche 893cb4f446 [fluksod] port remaining coroutines to v2 2011-01-30 22:57:37 +01:00
Bart Van Der Meerssche 17b8137e3d [fluksod] add wan and lan buffer coroutines 2011-01-30 17:21:31 +01:00
Bart Van Der Meerssche 99aee26dba [fluksod] first commit for the born-again fluksod 2011-01-30 11:52:35 +01:00
Bart Van Der Meerssche 884a7d859a [spid + fsync] change CTRL and DAEMON paths to point to spid 2011-01-30 10:18:19 +01:00
Bart Van Der Meerssche 069a8540b0 [luci] backport json decode/encode string functions from 0.10 2011-01-29 19:53:41 +01:00
Bart Van Der Meerssche 23b47bd955 [avr + fsync] check against MAX_ANALOG_SENSOR 2011-01-28 21:28:43 +01:00
Bart Van Der Meerssche 13fad26051 [avr] add macro ENABLED(x) and STATE_POWER_LOCK 2011-01-28 20:53:18 +01:00
Bart Van Der Meerssche 55ecdd3451 [fsync] enable/disable cmd works on sensors, not on ports 2011-01-28 20:38:19 +01:00
Bart Van Der Meerssche 035bc2d4fe [avr] cmd parameter checking for enable/disable 2011-01-28 16:30:50 +01:00
Bart Van Der Meerssche 3cff549f8c [fsync] print clearly that a config error has occurred 2011-01-28 14:48:56 +01:00
Bart Van Der Meerssche 8ff7770f0a [fsync] add port numbering check for phy_to_log 2011-01-28 14:43:55 +01:00
Bart Van Der Meerssche 688df77ffa [fsync] add an enable option to each sensor in the uci file 2011-01-28 12:51:10 +01:00
Bart Van Der Meerssche cf5af8ec0b [fsync] include copyright header 2011-01-28 11:17:21 +01:00
Bart Van Der Meerssche 62f36ce02d [avr] add cmd check on sensor id 2011-01-28 10:57:26 +01:00
Bart Van Der Meerssche 9fbbb99a88 [avr] check state flags in main loop for all sensors 2011-01-28 10:45:50 +01:00
Bart Van Der Meerssche d870088415 [fluksod] improved message arg checking 2011-01-28 10:41:55 +01:00
Bart Van Der Meerssche fd51388300 [fluksod] create empty table for arg when not called from the Lua interpreter 2011-01-28 10:14:17 +01:00
Bart Van Der Meerssche 4e4f4a8f88 [fsync] first implementation of fsync command: pushes the flukso uci config to the sensor board 2011-01-27 10:46:29 +01:00
Bart Van Der Meerssche 78b1ec3be3 [avr + fluksod] add per-port enable/disable commands 2011-01-26 14:08:46 +01:00