Overview
Pinecil devices advertise themselves on BLE asPinecil-XXXXXXX and include the UUID 9eae1000-9d0d-48c5-AA55-33e27f9bc533 in the advertisement packet for filtering.
All data is sent and received as Little-Endian format.
Implementation Guidelines
When developing a BLE integration for IronOS, follow these recommended practices:- Device Filtering: Filter by UUID
9eae1000-9d0d-48c5-AA55-33e27f9bc533rather than device name when possible - Service Validation: Upon first connection, verify that the three expected services exist to confirm correct device selection
- Efficient Reading: Use the bulk endpoint for reading multiple data points (one read vs ~15 individual reads)
- Unknown Settings: Handle settings you don’t recognize gracefully, as new firmware versions may add new settings
- Version Checking: Read the device firmware revision to handle version differences cleanly
- Stay Updated: Monitor the IronOS repository for release notifications about BLE changes
BLE Services
The BLE interface provides three main services for accessing device data and settings.Live Service
UUID:d85ef000-168e-4a71-AA55-33e27f9bc533
Provides real-time telemetry data with one characteristic per reading. All values are encoded as unsigned 32-bit numbers.
| Reading | Description |
|---|---|
| 1 | Live temperature (°C) |
| 2 | Live set point |
| 3 | DC input voltage |
| 4 | Handle temperature (°C) |
| 5 | Power level |
| 6 | Power source |
| 7 | Tip resistance |
| 8 | Uptime |
| 9 | Time of last movement |
| 10 | Maximum temperature settable |
| 11 | Raw tip reading |
| 12 | Hall sensor |
| 13 | Operating mode |
| 14 | Estimated wattage |
Settings Service
UUID:f6d80000-5a10-4eba-AA55-33e27f9bc533
Provides access to device settings with read/write capabilities. All settings use the UUID format:
ZZZZ is the setting number from Settings.h.
All data is read and written as fixed unsigned 16-bit numbers.
Save Settings
To save settings to flash memory:Reset Settings
To reset all settings to factory defaults:Bulk Service
UUID:9eae1000-9d0d-48c5-AA55-33e27f9bc533
Provides efficient access to large data sets through single-read operations.
Live Data Bulk Endpoint
Returns all live service data as a single binary blob, ideal for applications displaying multiple data points simultaneously.Build ID
Encodes the current firmware build ID to allow version detection and handling when the BLE format changes.Device Serial Number
Provides the device CPU serial number (or MAC address on Pinecil V2) for unique device identification.Device Unique ID
Pinecil V2 Only: A random factory-burned ID used by the online authenticity checker tool.
Code References
For detailed implementation information, refer to:Example Applications
The BLE interface enables various use cases:- Real-time temperature monitoring dashboards
- Remote settings adjustment tools
- Data logging and analysis applications
- Mobile companion apps for device control
- Integration with automation systems