Monado OpenXR Runtime
Remote debugging driver

Driver for creating remote debugging devices. More...

Collaboration diagram for Remote debugging driver:

Files

file  r_device.c
 Controller remote driver.
 
file  r_hmd.c
 HMD remote driver.
 
file  r_hub.c
 Main hub of the remote driver.
 
file  r_interface.h
 Interface to remote driver.
 
file  r_internal.h
 Internal stuff in remote driver.
 

Data Structures

struct  r_remote_data
 Remote data sent from the debugger to the hub. More...
 
struct  r_remote_connection
 Shared connection. More...
 
struct  r_hub
 Central object remote object. More...
 
struct  r_hmd
 HMD. More...
 
struct  r_device
 Device. More...
 

Macros

#define R_HEADER_VALUE   (*(uint64_t *)"mndrmt3\0")
 Header value to be set in the packet. More...
 

Functions

xrt_result_t r_create_devices (uint16_t port, uint32_t view_count, struct xrt_session_event_sink *broadcast, struct xrt_system_devices **out_xsysd, struct xrt_space_overseer **out_xso)
 Creates the remote system devices. More...
 
r_socket_t r_remote_connection_init (struct r_remote_connection *rc, const char *addr, uint16_t port)
 Initializes and connects the connection. More...
 

Detailed Description

Driver for creating remote debugging devices.

Macro Definition Documentation

◆ R_HEADER_VALUE

#define R_HEADER_VALUE   (*(uint64_t *)"mndrmt3\0")

#include <drivers/remote/r_interface.h>

Header value to be set in the packet.

Function Documentation

◆ r_create_devices()

xrt_result_t r_create_devices ( uint16_t  port,
uint32_t  view_count,
struct xrt_session_event_sink broadcast,
struct xrt_system_devices **  out_xsysd,
struct xrt_space_overseer **  out_xso 
)

#include <drivers/remote/r_interface.h>

Creates the remote system devices.

References xrt_system_devices::destroy, and U_TYPED_CALLOC.

◆ r_remote_connection_init()

r_socket_t r_remote_connection_init ( struct r_remote_connection rc,
const char *  addr,
uint16_t  port 
)

#include <drivers/remote/r_interface.h>

Initializes and connects the connection.

References r_remote_connection::log_level.