(boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET)
| 714 | } |
| 715 | |
| 716 | public static getEegNames(boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): string[] |
| 717 | { |
| 718 | const len = [0]; |
| 719 | let out = ['\0'.repeat(4096)]; |
| 720 | const res = |
| 721 | BoardControllerDLL.getInstance().getEegNames(boardId, preset, out, len, out[0].length); |
| 722 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 723 | { |
| 724 | throw new BrainFlowError (res, 'Could not get device info'); |
| 725 | } |
| 726 | return out[0].substring(0, len[0]).split(","); |
| 727 | } |
| 728 | |
| 729 | public static getBoardDescr(boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): Object |
| 730 | { |
nothing calls this directly
no test coverage detected