Skip to content

UUID Reference

ServiceUUIDNotes
SAF Tehnika (NEW)0000fce0-0000-1000-8000-00805f9b34fbFirmware v1.2.0+
SAF Tehnika (OLD)f0cd1400-95da-4f4b-9ac8-aa55d312af0cPre-v1.2.0
GAP Service00001800-0000-1000-8000-00805f9b34fbStandard BLE
Device Information0000180a-0000-1000-8000-00805f9b34fbStandard BLE
Battery Service0000180f-0000-1000-8000-00805f9b34fbStandard BLE
Nordic DFU0000fe59-0000-1000-8000-00805f9b34fbFirmware updates
CharacteristicUUIDType
Device Name00002a00-0000-1000-8000-00805f9b34fbString
Appearance00002a01-0000-1000-8000-00805f9b34fbu16
CharacteristicShort UUIDType
System ID0x2a23raw
Model Number0x2a24String
Serial Number0x2a25String
Firmware Revision0x2a26String
Hardware Revision0x2a27String
Software Revision0x2a28String
Manufacturer Name0x2a29String
CharacteristicShort UUIDType
Battery Level0x2a19u8 (0-100%)
CharacteristicUUIDPurpose
Sensor Settings Statef0cd1401-95da-4f4b-9ac8-aa55d312af0cDevice settings
Calibration Dataf0cd1502-95da-4f4b-9ac8-aa55d312af0cCalibration values
Current Readings (Basic)f0cd1503-95da-4f4b-9ac8-aa55d312af0cBasic readings
Current Readings (Aranet2)f0cd1504-95da-4f4b-9ac8-aa55d312af0cAranet2/Radiation
Total Readingsf0cd2001-95da-4f4b-9ac8-aa55d312af0cHistory count
Read Intervalf0cd2002-95da-4f4b-9ac8-aa55d312af0cInterval in seconds
History V1f0cd2003-95da-4f4b-9ac8-aa55d312af0cHistory (notify)
Seconds Since Updatef0cd2004-95da-4f4b-9ac8-aa55d312af0cLast update age
History V2f0cd2005-95da-4f4b-9ac8-aa55d312af0cHistory (read)
Current Readings (Detail)f0cd3001-95da-4f4b-9ac8-aa55d312af0cExtended readings
Current Readings Af0cd3002-95da-4f4b-9ac8-aa55d312af0cAlternative format
Current Readings A (Aranet2)f0cd3003-95da-4f4b-9ac8-aa55d312af0cAranet2 only
CharacteristicUUIDPurpose
Commandf0cd1402-95da-4f4b-9ac8-aa55d312af0cWrite commands
CharacteristicUUIDPurpose
Secure DFU8ec90003-f315-4f60-9fb8-838830daea50Firmware update
use uuid::{uuid, Uuid};
// Convert 16-bit short UUID to full 128-bit UUID
fn normalize_uuid_16(short: u16) -> Uuid {
Uuid::from_u128(
(short as u128) << 96 | 0x0000_1000_8000_00805f9b34fb
)
}
// Define UUIDs as constants
const SERVICE_SAF_TEHNIKA: Uuid = uuid!("0000fce0-0000-1000-8000-00805f9b34fb");
const CHAR_CURRENT_READINGS: Uuid = uuid!("f0cd3001-95da-4f4b-9ac8-aa55d312af0c");

Made with ❤️ by Cameron Rye