forked from Elara6331/itd
1
0
Fork 0
Commit Graph

24 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 8fb430a359 Set some log levels to Debug 2023-03-25 15:53:46 -07:00
Elara 6ac4ab9f4d Removed unreachable code 2023-03-25 15:52:46 -07:00
Elara f25a893475 Create new type for node kinds 2023-03-25 15:52:13 -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
Elara b757af7fed Switch to autogenerated DRPC framework 2023-01-02 22:30:17 -08:00
razorkitty 1e8c9484d2 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
Elara 0cdf8a4bed Switch from custom socket API to rpcx 2022-04-22 17:12:30 -07:00
Elara 9e63401db3 Add update weather command to itctl 2022-02-23 21:22:03 -08:00
Elara c019d7523b Implement file transfer progress 2021-12-12 17:08:48 -08:00
Elara 2e8c825fff Add BLE FS to API package 2021-11-23 11:12:16 -08:00
Elara 7b870950d1 Implement BLE FS 2021-11-22 22:04:09 -08:00
Elara dff34b484d Return request type for response type 2021-10-24 00:45:50 -07:00
Elara 44dc5f8e47 Use sent bytes to check if transfer complete 2021-10-23 19:36:23 -07:00
Elara e198b769f9 Generalize socket cancellation and update API accordingly 2021-10-23 18:03:17 -07:00
Elara eeba9b2964 Add cancellation to watchable values 2021-10-22 22:14:01 -07:00
Elara 80a5867d6b Send response types in socket responses and create api package 2021-10-22 20:47:57 -07:00
Elara b87586ef15 Add MotionValues type 2021-10-22 13:42:33 -07:00
Elara 1492db7566 Implement motion service 2021-10-22 13:21:14 -07:00
Elara b7bd385c43 Add GUI frontend 2021-08-25 21:18:24 -07:00
Elara cb8d207249 Switch to iota for request types and move to types package 2021-08-24 20:32:17 -07:00
Elara 407a6cb3d7 Initial Commit 2021-08-21 01:19:49 -07:00