Module link

Module link 

Source

Constants§

E_LINK_RX
E_LINK_TRANSMITTER
E_LINK_TX

Functions§

link_clear_receive_buf
Clear the receive buffer of the link, and discarding the data.
link_connected
Checks if a radio link on a port is active or not.
link_init
Initializes a link on a radio port, with an indicated type. There might be a 1 to 2 second delay from when this function is called to when the link is initializes. PROS currently only supports the use of one radio per brain.
link_init_override
Initializes a link on a radio port, with an indicated type and the ability for vexlink to override the controller radio. There might be a 1 to 2 second delay from when this function is called to when the link is initializes. PROS currently only supports the use of one radio per brain.
link_raw_receivable_size
Returns the bytes of data available to be read
link_raw_transmittable_size
Returns the bytes of data available in transmission buffer.
link_receive
Receive packeted message through vexlink, with a checksum and start byte.
link_receive_raw
Receive raw serial data through vexlink.
link_transmit
Send packeted message through vexlink, with a checksum and start byte.
link_transmit_raw
Send raw serial data through vexlink.

Type Aliases§

link_type_e_t