55 Commits

Author SHA1 Message Date
mame82
b7d0885fd6 Changed some HIDScripts 2018-07-06 23:26:05 +00:00
mame82
3a1ebdcb97 Fix crash when Keyboard/Mouse isn't up and HIDScript commands are issued anyway 2018-07-06 23:23:39 +00:00
mame82
03ac3bcbe1 Added boot bash script on service start; additional HID job control functions for gRPC-server; minor fixes 2018-07-06 22:40:08 +00:00
mame82
d297240020 Fixed job management (abort/remove HIDScripts); added waitLED(ANY_OR_NONE) flag for USB re-attach detection 2018-06-30 05:31:55 +00:00
mame82
ae87064ae9 Added HIDScript background jobs to CLI; Added test scripts for HIDScript 2018-06-29 20:42:55 +00:00
mame82
1c7389f77f HIDScript JS callbacks to go are now reacting to Otto's IRQ channel 2018-06-29 14:17:41 +00:00
mame82
5a7a0b352d Introduced context cancellation + propagation to HIDScript controller;Global management for background jobs for HIDScript;Updated ToDo; Updated hid tests 2018-06-29 12:29:19 +00:00
mame82
26f436a607 Updated TDo 2018-06-29 00:49:27 +00:00
mame82
cd21a165bb MILESTONE: Added file upload and foreground (blocking) HIDScripts to CLI client, server and gRPC proto. ToDo: HIDScript background jobs 2018-06-29 00:46:09 +00:00
mame82
e9d268d89d Updated Makefiel with keymaps; updated HIDController reinit (accounting for otto memory leak); added HIDController to P4wnP1_Service; 2018-06-27 05:38:47 +00:00
mame82
513bbabbad Rewritten HIDController to allow reinitialization while reusing otto VM pool (avoid memory leak) 2018-06-26 19:59:17 +00:00
mame82
c77752fd05 Change initialization of Otto VMs (no cloning). Memory leak fix in Unmarshal 2018-06-26 16:34:32 +00:00
mame82
aa31a1f0f8 USB: Save path to device files for HID functions 2018-06-26 16:33:19 +00:00
mame82
353c16dc39 Reworked keyboard LED monitoring, for better GO channel usage 2018-06-16 11:27:56 +00:00
mame82
4154a82def Update service to reinitialize USB network interface after changes to USB gadget 2018-06-15 16:28:28 +00:00
mame82
0c7a9f6bf1 Refined Async Otto VM to rely on GO channel for signaling 2018-06-15 16:26:40 +00:00
mame82
9fc612932a Added mouse functionality to HID scripting engine + test from external (modifyable) script file 2018-06-15 13:26:58 +00:00
mame82
84867d2ef6 Added HIDScript method 'waitLEDRepeat' 2018-06-11 15:34:47 +00:00
mame82
be7a039c0e Added waitLED() + layout() to HIDScript. ToDo: waitRepeatLED() 2018-06-08 16:09:12 +00:00
mame82
9a2d2f9464 Reorganiced HID tests, tested congruent LED triggers (background job) 2018-06-08 13:09:57 +00:00
mame82
c683dd95b9 Added EN-US layout (included in common layout, too), renamed HID controller methods 2018-06-08 12:49:45 +00:00
mame82
8db6b0d179 Added combos for HID keyboard, added common keyboard map, added HIDscript function for combos 2018-06-08 12:03:24 +00:00
mame82
d580cc7627 Started implementing key2report mapping for combos 2018-06-07 17:25:07 +00:00
mame82
1e14a80482 Common keymap 2018-06-07 17:23:56 +00:00
mame82
3a4a46e30e Added 'repeated LED trigger', refined+fixed LED code. ToDo: test multiple goroutines with triggers 2018-06-07 14:38:33 +00:00
mame82
293aab4853 Refined some Keyboard LED code 2018-06-07 12:43:15 +00:00
mame82
055cb4e254 Fixed LED state watcher to consider unknown initial state 2018-06-07 08:36:23 +00:00
mame82
4116893913 Started Keyboard LED state watcher + added testfile testhid.go 2018-06-07 08:14:37 +00:00
mame82
1236e927d8 Implemented asyncronous JavaScript VM pool for HIDScripts based on JS 2018-06-05 21:12:35 +00:00
mame82
45395e761b First HID keyboard tests 2018-05-29 20:26:30 +00:00
mame82
69ee0c4769 Added USB HID keyboard mapping data 2018-05-28 21:47:56 +00:00
mame82
72abf19252 Added station mode to CLI wifi settings, bugfixes 2018-05-28 17:19:17 +00:00
mame82
848fd50815 Fix cli DHCP options, started WiFi config for CLI, wrapped wpa_supplicant into service 2018-05-28 14:34:59 +00:00
mame82
19d352fb37 Started HID implementatio + wifi client functionality 2018-05-27 23:33:41 +00:00
mame82
0ac4c706e5 Added in gRPC-web support and boilerplate code for a client 2018-05-13 20:50:55 +00:00
mame82
690397468a Added some more CLI examples 2018-05-11 23:41:41 +00:00
mame82
c3771a5069 CLI client supports setting up DHCP server or client on an interface 2018-05-11 23:25:06 +00:00
mame82
604e7d7073 Fixed usb gadget interface activation 2018-05-11 15:18:30 +00:00
mame82
9553686940 Added DHCP server and client support for service. ToDo: CLI implementation for DHCP modes 2018-05-11 13:57:39 +00:00
mame82
ef57825312 Added manual network configuration RPC+CLI, ToDo: DHCP server + client config 2018-05-09 20:49:42 +00:00
mame82
103b22a060 Incorporated and modified netlink, due to missing functionality 2018-05-09 15:22:07 +00:00
mame82
eef028f24d Started implementing network setup 2018-05-08 22:43:28 +00:00
mame82
7d6b934560 Started with dnsmasq config RPC, Makefile, systemd service file 2018-05-08 15:57:12 +00:00
mame82
24e862bf75 gRPC cli Configurable UMS (including CDRom emulation and changing of backing file) 2018-05-07 20:08:02 +00:00
mame82
45c590f6ee Fixes in USB backend, added gadget autodeploy to CLI 2018-05-04 22:20:44 +00:00
mame82
b7092ebf6b Added USB gadget configuration to CLI, ToDo: validation (avoid kernel panic by consuming too many endpoints); auto-deploy by default 2018-05-04 21:02:58 +00:00
mame82
064ac0edb7 Started CLI implementation of USB gadget settings 2018-05-04 13:44:04 +00:00
mame82
796a5e5ba8 Added missing folders 2018-05-04 12:18:31 +00:00
mame82
3a777c42a1 restuctred project layout, updated cobra on cli client, updated gRPC proto 2018-05-04 12:17:12 +00:00
mame82
e2873af144 Started testing cobra based arg parser for cli_client 2018-05-03 20:50:13 +00:00