Aruna
comm.h File Reference
Include dependency graph for comm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 aruna
 
 aruna::comm
 

Functions

err_t aruna::comm::start ()
 Start new communication. More...
 
err_t aruna::comm::start (Link *driver)
 Start new communication. More...
 
err_t aruna::comm::stop ()
 Stop the communication, free all queue's, channels and buffers. More...
 
err_t aruna::comm::register_channel (channel_t *channel)
 Register a new communication endpoint. More...
 
err_t aruna::comm::unregister_channel (channel_t &channel)
 unregister an endpoint More...
 
err_t aruna::comm::send (channel_t *channel, port_t to_port, uint8_t *data, size_t data_size, bool wait_for_ack=false)
 Send data. More...
 
err_t aruna::comm::pause ()
 pause all communication. More...
 
err_t aruna::comm::resume ()
 resume all communication. More...
 
bool aruna::comm::is_connected ()
 Get the status of the comm link. More...
 
status_t aruna::comm::get_status ()
 Get the running status of com. More...
 
link_t aruna::comm::get_link_type ()
 Get connection hardware type. More...
 
err_t aruna::comm::get_channels (char *buffer)
 get all names of the channels currently registered More...
 
unsigned int aruna::comm::get_speed ()
 Get the speed of the link to the other hosts in bits per second. More...
 
err_t aruna::comm::register_candidate_driver (Link *driver)
 register a driver to be a comm driver candidate. More...
 
err_t aruna::comm::unregister_candidate_driver (Link *driver)
 unregister a driver to be a comdiver candidate More...
 
void aruna::comm::get_candidate_drivers (char *buffer[])
 get all the comm driver candidates More...
 
err_t aruna::comm::incoming_connection (uint8_t *package, uint8_t package_size)
 Interrupt incomming connection handeler. More...