Coverage for src / bluetooth_sig / types / location.py: 100%
7 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
1"""Location and Navigation types and enumerations.
3Provides common types used across location and navigation related characteristics.
4Based on Bluetooth SIG GATT Specification for Location and Navigation Service (0x1819).
5"""
7from __future__ import annotations
9from enum import IntEnum
12class PositionStatus(IntEnum):
13 """Position status enumeration.
15 Used by Navigation and Position Quality characteristics to indicate
16 the status/quality of position data.
18 Per Bluetooth SIG Location and Navigation Service specification.
19 """
21 NO_POSITION = 0
22 POSITION_OK = 1
23 ESTIMATED_POSITION = 2
24 LAST_KNOWN_POSITION = 3