Skip to content

Developer Documentation

This section contains technical documentation from reverse engineering the Huepar S120R-BT laser distance meter. The protocol was decoded by analyzing the official Android app and live device captures.

This documentation follows the Diátaxis framework:

AspectDetails
ProtocolLDMv1 (Laser Distance Meter v1)
TransportBLE GATT over custom service 0xAE30
Command FormatF1 prefix + command + checksum
Checksumsum(bytes[1:]) % 256
OEMLongshuo Technology (龙硕科技)
App FrameworkReact Native / Hermes
SourceDescription
com.pairlink.futian.huepar v2.6.004Decompiled Android APK
btsnoop capturesLive BLE packet analysis
Device testingS120R-BT hardware validation

The core protocol is fully decoded:

  • Device discovery and connection
  • All measurement commands
  • Settings and configuration
  • History synchronization
  • Continuous measurement mode
  • Backend API endpoints