@hangtime/grip-connect
Version:
Griptonite Motherboard, Tindeq Progressor, PitchSix Force Board, WHC-06, Entralpi, Climbro, mySmartBoard: Bluetooth API Force-Sensing strength analysis for climbers
16 lines • 756 B
TypeScript
import type { IDevice } from "../device.interface.js";
/**
* Interface representing the KilterBoard device, extending the base Device interface.
*/
export interface IKilterBoard extends IDevice {
/**
* Configures the LEDs based on an array of climb placements.
* @param {{ position: number; role_id: number }[]} config - Array of climb placements for the LEDs.
* @returns {Promise<number[] | undefined>} A promise that resolves with the payload array for the Kilter Board if LED settings were applied, or `undefined` if no action was taken or for the Motherboard.
*/
led(config: {
position: number;
role_id: number;
}[]): Promise<number[] | undefined>;
}
//# sourceMappingURL=kilterboard.interface.d.ts.map