UNPKG

@hangtime/grip-connect

Version:

Griptonite Motherboard, Tindeq Progressor, PitchSix Force Board, WHC-06, Entralpi, Climbro, mySmartBoard: Bluetooth API Force-Sensing strength analysis for climbers

63 lines 2.65 kB
import { Device } from "../device.model.js"; /** * Represents a NSD PB-700BT device. * {@link https://www.nsd.com.tw/} */ export declare class PB700BT extends Device { constructor(); /** * Retrieves battery or voltage information from the device. * @returns {Promise<string | undefined>} A Promise that resolves with the battery or voltage information. */ battery: () => Promise<string | undefined>; /** * Retrieves IEEE 11073-20601 Regulatory Certification from the device. * @returns {Promise<string>} A Promise that resolves with the certification. */ certification: () => Promise<string | undefined>; /** * Retrieves firmware version from the device. * @returns {Promise<string>} A Promise that resolves with the firmware version. */ firmware: () => Promise<string | undefined>; /** * Handles data received from the device, processes weight measurements, * and updates mass data including maximum and average values. * It also handles command responses for retrieving device information. * * @param {DataView} value - The notification event. */ handleNotifications: (value: DataView) => void; /** * Retrieves hardware version from the device. * @returns {Promise<string>} A Promise that resolves with the hardware version. */ hardware: () => Promise<string | undefined>; /** * Retrieves manufacturer information from the device. * @returns {Promise<string>} A Promise that resolves with the manufacturer information. */ manufacturer: () => Promise<string | undefined>; /** * Retrieves model number from the device. * @returns {Promise<string>} A Promise that resolves with the model number. */ model: () => Promise<string | undefined>; /** * Retrieves PnP ID from the device, a set of values that used to create a device ID value that is unique for this device. * Included in the characteristic is a Vendor ID Source field, a Vendor ID field, a Product ID field and a Product Version field * @returns {Promise<string>} A Promise that resolves with the PnP ID. */ pnp: () => Promise<string | undefined>; /** * Retrieves software version from the device. * @returns {Promise<string>} A Promise that resolves with the software version. */ software: () => Promise<string | undefined>; /** * Retrieves system id from the device. * @returns {Promise<string>} A Promise that resolves with the system id. */ system: () => Promise<string | undefined>; } //# sourceMappingURL=pb-700bt.model.d.ts.map