()
| 119 | } |
| 120 | } |
| 121 | async reset() { |
| 122 | if (!this.#serial) |
| 123 | await this.buildSerial(this.#baud); |
| 124 | |
| 125 | this.#serial.set({DTR: false, RTS: true}); |
| 126 | |
| 127 | this.#serial.purge(true, false); |
| 128 | await delay(50); |
| 129 | |
| 130 | this.#serial.set({DTR: false, RTS: false}); |
| 131 | } |
| 132 | async getInfo() { |
| 133 | const result = {}; |
| 134 |
no test coverage detected