MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / getVersion

Method getVersion

nodejs_package/brainflow/board_shim.ts:178–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected