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

Method configBoard

nodejs_package/brainflow/board_shim.ts:279–290  ·  view source on GitHub ↗
(config: string)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected