Commit Graph

59 Commits

Author SHA1 Message Date
520c23b75b Switch from zerolog to go.arsenm.dev/logger 2023-01-04 15:06:05 -08:00
0aa89e18b6 Add error handling for RPC registration functions 2023-01-03 16:47:25 -08:00
c3a61b5893 Move multiplexing code into separate module 2023-01-03 13:06:38 -08:00
1cbc2f86fa Start separate goroutine for multiplexed stream handling 2023-01-03 01:02:48 -08:00
87fdb7a30a Add connection multiplexing, fixing itgui 2023-01-03 00:54:00 -08:00
b757af7fed Switch to autogenerated DRPC framework 2023-01-02 22:30:17 -08:00
73a679d10b Move mpris out of pkg directory and run gofumpt 2022-11-24 17:36:25 -08:00
2d0db1dcf1 Close channel once resource uploading complete 2022-10-16 12:42:59 -07:00
4efa4380c4 Add -r for rm and -p for mkdir 2022-09-03 16:28:25 -07:00
851f1975d6 Add LoadResources() to API 2022-08-30 12:13:22 -07:00
958f2af516 Propagate context to lrpc 2022-05-12 17:14:34 -07:00
60f1eedc9a Create and propagate contexts wherever possible 2022-05-11 13:24:12 -07:00
4c27f424b2 Remove debug print 2022-05-01 20:56:14 -07:00
86fbef2e8a Remove the no-longer useful none type alias 2022-05-01 20:51:13 -07:00
b0c4574481 Remove now unnecessary DoneMap 2022-05-01 14:00:31 -07:00
428e7967c1 Use default codec 2022-05-01 11:41:16 -07:00
56dbf0540e Switch to lrpc and use context to handle signals 2022-05-01 11:36:28 -07:00
240e7a5ee4 Use rpcxlite 2022-04-30 03:25:27 -07:00
625805fe96 Add comments 2022-04-24 00:58:39 -07:00
4b6f7d408e Support bidirectional requests over gateway 2022-04-24 00:54:04 -07:00
8dce33f7b1 Enable RPCX gateway 2022-04-23 11:29:16 -07:00
d4a8a9f8c9 Improve error handling 2022-04-22 18:43:13 -07:00
7fd9af3288 Remove old code comment 2022-04-22 17:19:23 -07:00
0cdf8a4bed Switch from custom socket API to rpcx 2022-04-22 17:12:30 -07:00
553709ce8d Make sure fs is only updated if dev.FS() succeeds (#11) 2022-03-08 08:32:31 -08:00
9e63401db3 Add update weather command to itctl 2022-02-23 21:22:03 -08:00
4b2694ee0d Switch from viper to koanf 2022-02-21 11:20:02 -08:00
23b9cfe8a3 Update Infinitime library to use custom agent 2021-12-16 21:32:06 -08:00
518fe74e96 Propagate FS errors on read/write and close files when finished writing 2021-12-13 09:58:34 -08:00
c019d7523b Implement file transfer progress 2021-12-12 17:08:48 -08:00
03c3c6b22f Remove debug code 2021-12-11 22:23:01 -08:00
873df67d1f Directly read/write files from ITD 2021-12-11 22:11:01 -08:00
24cfda82d7 Fix and add error messages to fs operations 2021-11-27 00:03:13 -08:00
655af5c446 Ensure that the FS works after a reconnect 2021-11-25 20:35:03 -08:00
f5d326124d Add missing responses to some FS operations 2021-11-25 19:46:04 -08:00
38119435f1 Get BLE FS once rather than on every connection 2021-11-25 19:41:44 -08:00
7b870950d1 Implement BLE FS 2021-11-22 22:04:09 -08:00
0d0db949af Handle unknown request type 2021-10-24 01:11:57 -07:00
0d164aef3d Use request type for error response type 2021-10-24 01:09:27 -07:00
dff34b484d Return request type for response type 2021-10-24 00:45:50 -07:00
2ea9f99db6 Disable firmware updating error once progress channel closed 2021-10-23 22:03:33 -07:00
e198b769f9 Generalize socket cancellation and update API accordingly 2021-10-23 18:03:17 -07:00
f20fdcb161 Add responses to cancellation requests 2021-10-22 22:15:35 -07:00
eeba9b2964 Add cancellation to watchable values 2021-10-22 22:14:01 -07:00
80a5867d6b Send response types in socket responses and create api package 2021-10-22 20:47:57 -07:00
1492db7566 Implement motion service 2021-10-22 13:21:14 -07:00
e7de7bd7bb Update infinitime library version to fix intermittent DFU issues 2021-10-21 20:27:58 -07:00
b15cbb6349 Show update file names when selected in itgui 2021-10-07 13:38:13 -07:00
c56c0ae198 Update variable names and comments for interface-based transliteration 2021-10-04 20:23:54 -07:00
2bbd722ecd Add korean transliteration 2021-10-04 19:07:54 -07:00