|
Monado OpenXR Runtime
|
Status report, sent every 50ms while VP2_FEATURE_EVENT_STATUS_REPORT is enabled. More...
#include <vp2/vp2_protocol.h>

Data Fields | |
| uint8_t | id |
| VP2_REPORT_ID_STATUS | |
| __le16 | sub_id |
| VP2_COMMAND_STATUS_REPORT | |
| uint8_t | size |
| Size of the rest of the report. | |
| __le32 | ipd_adc |
| Raw IPD slider position, only the low 16 bits are used. | |
| uint8_t | system_button |
| 1 while pressed | |
| uint8_t | audio_button |
| enum vp2_audio_button | |
| uint8_t | audio_route_mode |
| vp2_feature_event::audio_route_mode | |
| uint8_t | audio_profile_index |
| vp2_feature_event::audio_profile_index | |
| __le16 | proximity_trend |
| enum vp2_proximity_trend | |
| __le16 | proximity |
| See VP2_PROXIMITY_THRESHOLD. | |
| __le16 | ipd |
| See VP2_IPD_UNIT_METERS, clamped to 5700..7050. | |
| uint8_t | reserved [38] |
| Always 0. | |
| uint8_t | earphone |
| 1 in the codec's earphone mode, always 0 on most boards | |
| __le32 | thermal_adc |
| Only the low 16 bits are used, see VP2_FEATURE_EVENT_THERMAL_WATCHDOG. | |
| uint8_t | wireless_auth |
| 1 while wireless authentication is active, always 0 on a cable | |
| __be16 | nonce |
| Low 16 bits of thermal_adc times the MCU uptime in ms, see VP2_FEATURE_EVENT_WIRELESS_AUTH. | |
Status report, sent every 50ms while VP2_FEATURE_EVENT_STATUS_REPORT is enabled.
| uint8_t vp2_status_report::audio_button |
enum vp2_audio_button
Referenced by get_raw_buttons().
| uint8_t vp2_status_report::audio_profile_index |
| uint8_t vp2_status_report::audio_route_mode |
| uint8_t vp2_status_report::earphone |
1 in the codec's earphone mode, always 0 on most boards
| uint8_t vp2_status_report::id |
Referenced by ipcproto.common.Call::__init__(), and status_thread_runner().
| __le16 vp2_status_report::ipd |
See VP2_IPD_UNIT_METERS, clamped to 5700..7050.
Referenced by status_thread_runner().
| __le32 vp2_status_report::ipd_adc |
Raw IPD slider position, only the low 16 bits are used.
| __be16 vp2_status_report::nonce |
Low 16 bits of thermal_adc times the MCU uptime in ms, see VP2_FEATURE_EVENT_WIRELESS_AUTH.
| __le16 vp2_status_report::proximity |
| __le16 vp2_status_report::proximity_trend |
enum vp2_proximity_trend
| uint8_t vp2_status_report::reserved[38] |
Always 0.
| uint8_t vp2_status_report::size |
Size of the rest of the report.
| __le16 vp2_status_report::sub_id |
Referenced by status_thread_runner().
| uint8_t vp2_status_report::system_button |
1 while pressed
Referenced by get_raw_buttons().
| __le32 vp2_status_report::thermal_adc |
Only the low 16 bits are used, see VP2_FEATURE_EVENT_THERMAL_WATCHDOG.
| uint8_t vp2_status_report::wireless_auth |
1 while wireless authentication is active, always 0 on a cable