Commit Graph

76 Commits

Author SHA1 Message Date
6113ac019e Gracefully shut down each component before exiting 2023-03-26 14:34:29 -07:00
9ecd45dadd Added FUSE support (#55)
This exposes the watches' file system over FUSE. This way, we can access files on the watch without having to go through `itctl` or developing 3rd party tools.

**Features**

- [x] read/write access to the file system
- [x] read access to momentary sensor data
- [x] live access to sensor data (i.e. WatchMotion rather than Motion)
- [x] configuration of mount point

Co-authored-by: Yannick Ulrich <yannick.ulrich@durham.ac.uk>
Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/55
Co-authored-by: yannickulrich <yannick.ulrich@protonmail.com>
Co-committed-by: yannickulrich <yannick.ulrich@protonmail.com>
2023-03-25 22:23:51 +00:00
4cdd47311f Switch from zerolog to go.arsenm.dev/logger in itctl 2023-01-04 15:17:14 -08:00
520c23b75b Switch from zerolog to go.arsenm.dev/logger 2023-01-04 15:06:05 -08:00
81840d411d Upgrade go.arsenm.dev/drpc 2023-01-04 14:25:58 -08:00
c3a61b5893 Move multiplexing code into separate module 2023-01-03 13:06:38 -08:00
87fdb7a30a Add connection multiplexing, fixing itgui 2023-01-03 00:54:00 -08:00
b757af7fed Switch to autogenerated DRPC framework 2023-01-02 22:30:17 -08:00
e97c1fef48 Remove pactl dependencies (Arsen6331/infinitime#6) 2022-11-19 15:29:10 -08:00
908bd7d5f3 Add resource loading to ITD FS tab 2022-11-15 19:20:34 -08:00
992eb2e085 Add navigation support via PureMaps 2022-11-07 12:22:14 -08:00
f33b3d2b56 Update infinitime library 2022-10-25 12:38:02 -07:00
03f3968fe1 Update infinitime library 2022-10-20 01:42:23 -07:00
dea92c6404 Update infinitime library 2022-10-17 12:50:51 -07:00
d232340edd Update infinitime library 2022-10-17 12:24:17 -07:00
2d0db1dcf1 Close channel once resource uploading complete 2022-10-16 12:42:59 -07:00
6f87980d4b Add resource loading to itctl 2022-08-30 13:01:36 -07:00
851f1975d6 Add LoadResources() to API 2022-08-30 12:13:22 -07:00
645541e079 Update infinitime library and bluetooth library (Fixes #22) 2022-08-19 14:05:30 -07:00
5973290d6c Temporary bandaid fix for #22 2022-08-14 00:05:56 -07:00
958f2af516 Propagate context to lrpc 2022-05-12 17:14:34 -07:00
60f1eedc9a Create and propagate contexts wherever possible 2022-05-11 13:24:12 -07:00
422f844943 Add metrics graphs to itgui 2022-05-10 23:37:58 -07:00
66618e5bf0 Add metrics collection via sqlite 2022-05-10 18:03:37 -07:00
0c2e57ced0 Update lrpc 2022-05-10 02:12:52 -07:00
b614138f6b Update lrpc library 2022-05-07 15:12:29 -07:00
093a5632c7 Rewrite itgui and add new screenshots 2022-05-05 14:00:49 -07:00
91662e6f38 Update infinitime library 2022-05-05 12:41:51 -07:00
931966bf1e Update lrpc for data race fixes 2022-05-04 16:16:28 -07:00
ed01700e26 Update lrpc 2022-05-03 18:55:37 -07:00
e9269e8eb8 Update infinitime library 2022-05-02 20:21:47 -07:00
52b85ab361 Allow changing bluetooth adapter ID 2022-05-02 20:17:38 -07:00
bc45943bdc Update lrpc 2022-05-02 16:28:25 -07:00
0f22d67395 Update lrpc 2022-05-01 21:39:58 -07:00
73c46cfa66 Remove replace directive and fix firmware upgrade error 2022-05-01 20:40:30 -07:00
78b5ca1de8 Add context support and update lrpc 2022-05-01 15:22:28 -07:00
01975f207c Upgrade lrpc version 2022-05-01 13:59:40 -07:00
56dbf0540e Switch to lrpc and use context to handle signals 2022-05-01 11:36:28 -07:00
240e7a5ee4 Use rpcxlite 2022-04-30 03:25:27 -07:00
9034ef7c6b Add debug logs 2022-04-23 20:20:13 -07:00
9939f724c4 Re-add watch commands to itctl 2022-04-23 18:46:49 -07:00
0cdf8a4bed Switch from custom socket API to rpcx 2022-04-22 17:12:30 -07:00
d318c584da Use new changes in infinitime library to stop removing InfiniTime devices (Fixes #10) 2022-04-16 04:28:53 -07:00
2ded0d36b1 Update infinitime library for #9 fix 2022-03-04 12:05:58 -08:00
a885eacc70 Rewrite itctl to use urfave/cli instead of spf13/cobra 2022-02-24 21:26:40 -08:00
4b2694ee0d Switch from viper to koanf 2022-02-21 11:20:02 -08:00
4c36144b0b Update version of infinitime library for rewritten connection code 2022-02-21 02:47:48 -08:00
23b9cfe8a3 Update Infinitime library to use custom agent 2021-12-16 21:32:06 -08:00
518fe74e96 Propagate FS errors on read/write and close files when finished writing 2021-12-13 09:58:34 -08:00
c019d7523b Implement file transfer progress 2021-12-12 17:08:48 -08:00