Commit Graph

25 Commits

Author SHA1 Message Date
9998915959 Update domain 2023-04-20 19:54:58 -07:00
5ce83902a4 Use EINVAL for Invalid Offset error in FUSE 2023-03-26 13:01:25 -07:00
ee5cb174fb Use type switch for syscallErr 2023-03-25 16:03:56 -07:00
6667ba576c Set some log levels to Debug 2023-03-25 15:53:46 -07:00
92acdee152 Removed unreachable code 2023-03-25 15:52:46 -07:00
a90069999d Create new type for node kinds 2023-03-25 15:52:13 -07:00
510f183db2 Run formatter 2023-03-25 15:24:46 -07:00
77680704e1 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
d41872ab64 Switch to autogenerated DRPC framework 2023-01-02 22:30:17 -08:00
razorkitty
5699375b2a copy mpris implementation from infinitime library to itd, where it really belongs
moved dbus.go to an internal utils package
added context function parameter to initMusicCtrl and updated main.go to pass it
updated calls.go, maps.go, music.go, and notifs.go to use utils package for getting a dus connection
2022-11-21 19:59:54 +00:00
9990e92f19 Switch from custom socket API to rpcx 2022-04-22 17:12:30 -07:00
65cae3aeab Add update weather command to itctl 2022-02-23 21:22:03 -08:00
8c020f792d Implement file transfer progress 2021-12-12 17:08:48 -08:00
fcb5bcd967 Add BLE FS to API package 2021-11-23 11:12:16 -08:00
fe1ebc40a0 Implement BLE FS 2021-11-22 22:04:09 -08:00
8d29ece214 Return request type for response type 2021-10-24 00:45:50 -07:00
37c4fe5577 Use sent bytes to check if transfer complete 2021-10-23 19:36:23 -07:00
e45bfe3de8 Generalize socket cancellation and update API accordingly 2021-10-23 18:03:17 -07:00
ff8ce1b2a5 Add cancellation to watchable values 2021-10-22 22:14:01 -07:00
a235903583 Send response types in socket responses and create api package 2021-10-22 20:47:57 -07:00
869f487456 Add MotionValues type 2021-10-22 13:42:33 -07:00
4b95af905d Implement motion service 2021-10-22 13:21:14 -07:00
ea63f43638 Add GUI frontend 2021-08-25 21:18:24 -07:00
36b683204d Switch to iota for request types and move to types package 2021-08-24 20:32:17 -07:00
203224ed4a Initial Commit 2021-08-21 01:19:49 -07:00