Update Infinitime library to use custom agent

This commit is contained in:
2021-12-16 21:32:06 -08:00
parent dcec9f593b
commit 3d89a03ca7
4 changed files with 37 additions and 5 deletions

View File

@@ -617,7 +617,6 @@ func handleConnection(conn net.Conn, dev *infinitime.Device, fs *blefs.FS) {
go func() {
// For every progress event
for rcvd := range remoteFile.Progress() {
fmt.Println(rcvd)
// Encode event on connection
json.NewEncoder(conn).Encode(types.Response{
Type: req.Type,