LepuCommand
The commands every Lepu device understands.
These are the generic opcodes, shared across the whole family. Device-specific opcodes live below 0x40 and belong with their driver, because the same number means different things on different hardware - 0x08 polls realtime data on a BP2 and starts a measurement on others. That collision is why this module holds only the opcodes that are genuinely common, and why a driver must never assume a low opcode is safe to send to an unidentified device.
Kind: Constant or variable
Package: @ovok/native
Import
import { LepuCommand } from '@ovok/native/bt-management';
TypeScript shape
{ readonly ECHO: 224; readonly GET_INFO: 225; readonly SET_TIME: 236; readonly GET_BATTERY: 228; readonly GET_FILE_LIST: 241; readonly READ_FILE_START: 242; readonly READ_FILE_DATA: 243; readonly READ_FILE_END: 244; }
This symbol has no call parameters.
Learn the workflow
Continue with Bluetooth for the workflow context and examples.