(boardId: BoardIds)
| 689 | } |
| 690 | |
| 691 | public static getBoardPresets(boardId: BoardIds): number[] |
| 692 | { |
| 693 | const len = [0]; |
| 694 | const presets = [...new Array (512).fill(0)]; |
| 695 | const res = BoardControllerDLL.getInstance().getBoardPresets(boardId, presets, len); |
| 696 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 697 | { |
| 698 | throw new BrainFlowError (res, 'Could not get board info'); |
| 699 | } |
| 700 | return presets.slice(0, len[0]); |
| 701 | } |
| 702 | |
| 703 | public static getDeviceName(boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): string |
| 704 | { |
nothing calls this directly
no test coverage detected