Commit Graph

60 Commits

Author SHA1 Message Date
f7ac77273e Gracefully shut down each component before exiting 2023-03-26 14:34:29 -07:00
e858c43b5e Switch from zerolog to go.arsenm.dev/logger 2023-01-04 15:06:05 -08:00
4dec1d70b8 Add error handling for RPC registration functions 2023-01-03 16:47:25 -08:00
19a9f64525 Move multiplexing code into separate module 2023-01-03 13:06:38 -08:00
94ec82c4a6 Start separate goroutine for multiplexed stream handling 2023-01-03 01:02:48 -08:00
b656c69350 Add connection multiplexing, fixing itgui 2023-01-03 00:54:00 -08:00
d41872ab64 Switch to autogenerated DRPC framework 2023-01-02 22:30:17 -08:00
9f0ca5a7df Move mpris out of pkg directory and run gofumpt 2022-11-24 17:36:25 -08:00
aefe6a82ff Close channel once resource uploading complete 2022-10-16 12:42:59 -07:00
a04c95b0be Add -r for rm and -p for mkdir 2022-09-03 16:28:25 -07:00
ec6d216346 Add LoadResources() to API 2022-08-30 12:13:22 -07:00
bcf0d33531 Propagate context to lrpc 2022-05-12 17:14:34 -07:00
f5092cd2e1 Create and propagate contexts wherever possible 2022-05-11 13:24:12 -07:00
3689fcf889 Remove debug print 2022-05-01 20:56:14 -07:00
f1a7a87ef8 Remove the no-longer useful none type alias 2022-05-01 20:51:13 -07:00
78e64fe3ed Remove now unnecessary DoneMap 2022-05-01 14:00:31 -07:00
fe00e8bb65 Use default codec 2022-05-01 11:41:16 -07:00
a1ee021675 Switch to lrpc and use context to handle signals 2022-05-01 11:36:28 -07:00
c929635029 Use rpcxlite 2022-04-30 03:25:27 -07:00
c17ba102dd Add comments 2022-04-24 00:58:39 -07:00
0ae40d69bc Support bidirectional requests over gateway 2022-04-24 00:54:04 -07:00
11af134444 Enable RPCX gateway 2022-04-23 11:29:16 -07:00
6dedd187d4 Improve error handling 2022-04-22 18:43:13 -07:00
4caa504db1 Remove old code comment 2022-04-22 17:19:23 -07:00
9990e92f19 Switch from custom socket API to rpcx 2022-04-22 17:12:30 -07:00
597e7dab5f Make sure fs is only updated if dev.FS() succeeds (#11) 2022-03-08 08:32:31 -08:00
65cae3aeab Add update weather command to itctl 2022-02-23 21:22:03 -08:00
57768acb94 Switch from viper to koanf 2022-02-21 11:20:02 -08:00
3d89a03ca7 Update Infinitime library to use custom agent 2021-12-16 21:32:06 -08:00
dcec9f593b Propagate FS errors on read/write and close files when finished writing 2021-12-13 09:58:34 -08:00
8c020f792d Implement file transfer progress 2021-12-12 17:08:48 -08:00
56ed3dda88 Remove debug code 2021-12-11 22:23:01 -08:00
9bfdaef70c Directly read/write files from ITD 2021-12-11 22:11:01 -08:00
9108dbd40b Fix and add error messages to fs operations 2021-11-27 00:03:13 -08:00
d8f4fd8aa5 Ensure that the FS works after a reconnect 2021-11-25 20:35:03 -08:00
50db403614 Add missing responses to some FS operations 2021-11-25 19:46:04 -08:00
eda92e2d62 Get BLE FS once rather than on every connection 2021-11-25 19:41:44 -08:00
fe1ebc40a0 Implement BLE FS 2021-11-22 22:04:09 -08:00
5c8fd72f85 Handle unknown request type 2021-10-24 01:11:57 -07:00
cf7dbd0b9c Use request type for error response type 2021-10-24 01:09:27 -07:00
8d29ece214 Return request type for response type 2021-10-24 00:45:50 -07:00
4b6b2a4581 Disable firmware updating error once progress channel closed 2021-10-23 22:03:33 -07:00
e45bfe3de8 Generalize socket cancellation and update API accordingly 2021-10-23 18:03:17 -07:00
46a891d852 Add responses to cancellation requests 2021-10-22 22:15:35 -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
4b95af905d Implement motion service 2021-10-22 13:21:14 -07:00
0054a0b3cf Update infinitime library version to fix intermittent DFU issues 2021-10-21 20:27:58 -07:00
ce31929a73 Show update file names when selected in itgui 2021-10-07 13:38:13 -07:00
b365fdfcd3 Update variable names and comments for interface-based transliteration 2021-10-04 20:23:54 -07:00