Commit Graph

7 Commits

Author SHA1 Message Date
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