Commit Graph

4 Commits

Author SHA1 Message Date
Elara 947ab7fbcb Use EINVAL for Invalid Offset error in FUSE 2023-03-26 13:01:25 -07:00
Elara 948678790a Use type switch for syscallErr 2023-03-25 16:03:56 -07:00
Elara ee4f563b05 Run formatter 2023-03-25 15:24:46 -07:00
yannickulrich 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