--- pageClass: is-wide-page --- # DeviceInformation (UORB message) Device information. Can be used to uniquely associate a device_id from a sensor topic with a physical device using serial number. as well as tracking of the used firmware versions on the devices. **TOPICS:** device_information ## Fields | 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 | | ------------------------------------- | ---------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | | timestamp | `uint64` | | | time since system start (microseconds) | | device_type | `uint8` | | [DEVICE_TYPE](#DEVICE_TYPE) | Type of the device. Matches MAVLink DEVICE_TYPE enum | | name | `char[80]` | | | Name of device e.g. DroneCAN node name | | `uint32` | | | Unique device ID for the sensor. Does not change between power cycles. (Invalid: 0 if not available) | | | firmware_version | `char[24]` | | | Firmware version. (Invalid: empty if not available) | | hardware_version | `char[24]` | | | Hardware version. (Invalid: empty if not available) | | serial_number | `char[33]` | | | Device serial number or unique identifier. (Invalid: empty if not available) | ## Enums ### DEVICE_TYPE {#DEVICE_TYPE} | 명칭 | 형식 | Value | 설명 | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ----- | ---------------------- | | DEVICE_TYPE_GENERIC | `uint8` | 0 | Generic/unknown sensor | | DEVICE_TYPE_AIRSPEED | `uint8` | 1 | 풍속 센서 | | DEVICE_TYPE_ESC | `uint8` | 2 | ESC | | DEVICE_TYPE_SERVO | `uint8` | 3 | Servo | | DEVICE_TYPE_GPS | `uint8` | 4 | GPS | | DEVICE_TYPE_MAGNETOMETER | `uint8` | 5 | 자기 센서 | | DEVICE_TYPE_PARACHUTE | `uint8` | 6 | 낙하산 | | DEVICE_TYPE_RANGEFINDER | `uint8` | 7 | Rangefinder | | DEVICE_TYPE_WINCH | `uint8` | 8 | Winch | | DEVICE_TYPE_BAROMETER | `uint8` | 9 | 기압계 | | DEVICE_TYPE_OPTICAL_FLOW | `uint8` | 10 | Optical flow | | DEVICE_TYPE_ACCELEROMETER | `uint8` | 11 | Accelerometer | | DEVICE_TYPE_GYROSCOPE | `uint8` | 12 | Gyroscope | | DEVICE_TYPE_DIFFERENTIAL_PRESSURE | `uint8` | 13 | Differential pressure | | DEVICE_TYPE_BATTERY | `uint8` | 14 | Battery | | DEVICE_TYPE_HYGROMETER | `uint8` | 15 | Hygrometer | ## Source Message [Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/DeviceInformation.msg) :::details Click here to see original file ```c # Device information # # Can be used to uniquely associate a device_id from a sensor topic with a physical device using serial number. # as well as tracking of the used firmware versions on the devices. uint64 timestamp # time since system start (microseconds) uint8 device_type # [@enum DEVICE_TYPE] Type of the device. Matches MAVLink DEVICE_TYPE enum uint8 DEVICE_TYPE_GENERIC = 0 # Generic/unknown sensor uint8 DEVICE_TYPE_AIRSPEED = 1 # Airspeed sensor uint8 DEVICE_TYPE_ESC = 2 # ESC uint8 DEVICE_TYPE_SERVO = 3 # Servo uint8 DEVICE_TYPE_GPS = 4 # GPS uint8 DEVICE_TYPE_MAGNETOMETER = 5 # Magnetometer uint8 DEVICE_TYPE_PARACHUTE = 6 # Parachute uint8 DEVICE_TYPE_RANGEFINDER = 7 # Rangefinder uint8 DEVICE_TYPE_WINCH = 8 # Winch uint8 DEVICE_TYPE_BAROMETER = 9 # Barometer uint8 DEVICE_TYPE_OPTICAL_FLOW = 10 # Optical flow uint8 DEVICE_TYPE_ACCELEROMETER = 11 # Accelerometer uint8 DEVICE_TYPE_GYROSCOPE = 12 # Gyroscope uint8 DEVICE_TYPE_DIFFERENTIAL_PRESSURE = 13 # Differential pressure uint8 DEVICE_TYPE_BATTERY = 14 # Battery uint8 DEVICE_TYPE_HYGROMETER = 15 # Hygrometer char[80] name # Name of device e.g. DroneCAN node name uint32 device_id # [-] [@invalid 0 if not available] Unique device ID for the sensor. Does not change between power cycles. char[24] firmware_version # [-] [@invalid empty if not available] Firmware version. char[24] hardware_version # [-] [@invalid empty if not available] Hardware version. char[33] serial_number # [-] [@invalid empty if not available] Device serial number or unique identifier. ``` :::