()
| 176 | |
| 177 | // logging methods |
| 178 | public static getVersion(): string |
| 179 | { |
| 180 | const len = [0]; |
| 181 | let out = ['\0'.repeat(512)]; |
| 182 | const res = BoardControllerDLL.getInstance().getVersionBoardController(out, len, 512); |
| 183 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 184 | { |
| 185 | throw new BrainFlowError (res, 'Could not get version info'); |
| 186 | } |
| 187 | return out[0].substring(0, len[0]); |
| 188 | } |
| 189 | |
| 190 | public static setLogLevel(logLevel: LogLevels): void |
| 191 | { |
nothing calls this directly
no test coverage detected