@hangtime/grip-connect
Version:
Griptonite Motherboard, Tindeq Progressor, PitchSix Force Board, WHC-06, Entralpi, Climbro, mySmartBoard: Bluetooth API Force-Sensing strength analysis for climbers
13 lines (12 loc) • 670 B
text/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>
}