Skip to content

Commit f7cce8c

Browse files
author
Stefania
committed
updated readme
1 parent 8d08d08 commit f7cce8c

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,24 @@ daemon.writeSerial('port-name', 'message');
4646
// Close serial monitor
4747
daemon.closeSerialMonitor('port-name');
4848

49+
// Upload hex
50+
daemon.upload(target, data);
51+
52+
// Upload progress
53+
daemon.uploading.subscribe(upload => {
54+
console.log(status);
55+
});
56+
57+
// Download tool
58+
daemon.downloadTool('toolname', 'toolversion' 'packageName', 'replacement');
59+
60+
// Download status
61+
daemon.downloading.subscribe(download => {
62+
console.log(download);
63+
});
64+
4965
```
50-
## Development
66+
## Development and test features
5167
Just run `npm run dev` and open your browser on http://localhost:8000
5268

5369
## Agent communication

0 commit comments

Comments
 (0)