Protocol Specifications
Technical Documentation
Framing formats, GATT services, RFCOMM channels, and integration patterns for developers.
1. Configurable Bluetooth Weighing Protocols
VirtualScale can be configured to stream standard ASCII weight frames over SPP and BLE characteristic notifications:
// Typical Continuous Transmission Format
STX [0x02] + POLARITY [+/-] + WEIGHT [6 digits] + UNIT [kg/lb] + STATUS [ST/US] + CR [0x0D] + LF [0x0A]
// Example 25.450 kg Net Stable Packet:
02 2B 30 32 35 2E 34 35 30 20 6B 67 20 53 54 0D 0A
STX [0x02] + POLARITY [+/-] + WEIGHT [6 digits] + UNIT [kg/lb] + STATUS [ST/US] + CR [0x0D] + LF [0x0A]
// Example 25.450 kg Net Stable Packet:
02 2B 30 32 35 2E 34 35 30 20 6B 67 20 53 54 0D 0A
2. Licensing Tier Entitlements
The license administrator can customize which functional modules are unlocked for each deployed tablet or smartphone:
| Feature Identifier | Module Description | Supported Tiers |
|---|---|---|
| BLE_SCALE | Bluetooth Low Energy Peripheral GATT broadcast | Standard / Enterprise |
| CLASSIC_SPP | Classic Bluetooth RFCOMM serial emulation | Standard / Enterprise |
| POS_EMULATOR | Continuous POS cash-register stream emulator | Retail / Enterprise |
| PACKET_LOGS | Real-time hexadecimal byte inspection console | Diagnostic / Enterprise |
| HARDWARE_DIAGNOSTICS | Radio transceiver stress testing and antenna checks | Enterprise Only |
| PROTOCOL_CONFIGURATION | Custom framing, command scripts, and baud tuning | Enterprise Only |