(config: string)
| 277 | } |
| 278 | |
| 279 | public configBoard(config: string): string |
| 280 | { |
| 281 | const len = [0]; |
| 282 | let out = ['\0'.repeat(4096)]; |
| 283 | const res = BoardControllerDLL.getInstance().configBoard( |
| 284 | config, out, len, out[0].length, this.boardId, this.inputJson); |
| 285 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 286 | { |
| 287 | throw new BrainFlowError (res, 'Could not config board'); |
| 288 | } |
| 289 | return out[0].substring(0, len[0]); |
| 290 | } |
| 291 | |
| 292 | public configBoardWithBytes(config: string, len: number): void |
| 293 | { |
nothing calls this directly
no test coverage detected