(
timestamp: number,
timezone: string | undefined = undefined
)
| 215 | } |
| 216 | |
| 217 | async configureDeviceTime( |
| 218 | timestamp: number, |
| 219 | timezone: string | undefined = undefined |
| 220 | ) { |
| 221 | deviceLogger.info( |
| 222 | `Configuring system time for device ${this.id} with timestamp ${timestamp} and timezone ${timezone}` |
| 223 | ); |
| 224 | |
| 225 | const message = new ConfigureDeviceTimeMessage({ |
| 226 | timestamp, |
| 227 | timezone, |
| 228 | }); |
| 229 | |
| 230 | await this.sendMessage(message); |
| 231 | return; |
| 232 | } |
| 233 | |
| 234 | async configureMQTTBrokersAndCredentials( |
| 235 | mqtt: string[], |
no test coverage detected