Remote connection interface. More...
Go to the source code of this file.
Functions | |
void | init_remote () |
Initialise the remote connection. More... | |
bool | is_remote_connected () |
Check remote connection. More... | |
void | ep1_init () |
Custom initialisation function for endpoint 1: the bulk endpoint for frame data transfers. | |
Remote connection interface.
When using the remote connection on the hardware, the corrected ports and internal state need to be initialised first with init_remote(). is_remote_connected() can then be used to determine whether there is an active connection. The firmware can use this to switch off any local renderer, and wait for incoming data on the connection.
void init_remote | ( | ) |
Initialise the remote connection.
If this is not called, is_remote_connected() will always return false
bool is_remote_connected | ( | ) |
Check remote connection.
true
if there is an active connection between the display and another device, false
otherwise.