Project

General

Profile

Revision 52

Updated libwireless to include new token ring functions.

View differences:

wl_token_ring.h
31 31
void wl_token_ring_leave(void);
32 32
/**@brief Request a BOM flash from the specified robot **/
33 33
void wl_token_request(int robot);
34

  
35
/**@brief Return the number of robots in the token ring **/
36
int wl_token_get_robots_in_ring(void);
37
/**@brief Return whether a given robot is in the token ring **/
38
int wl_token_is_robot_in_ring(int robot);
39

  
40
/**@brief Begin iterating through robots in the token ring **/
41
void wl_token_iterator_begin(void);
42
/**@brief Returns whether there are more robots to iterate through **/
43
int wl_token_iterator_has_next(void);
44
/**@brief Returns the ID of the next robot in the token ring **/
45
int wl_token_iterator_next(void);
46

  
34 47
/**@brief Return the latest BOM reading between two robots **/
35 48
int wl_token_get_sensor_reading(int source, int dest);
36 49
/**@brief Return the latest BOM reading between us and another robot **/

Also available in: Unified diff