rsunicast/rsunicast.h
/**
 * Prints some information about the state of rsunicast.
 */
Prints some information about the state of rsunicast.
Prints some information about the state of rsunicast .
void rsunicast_print_state()
{
	printf("RSUNICAST: Port=(%u/%u), Parent=%u, Messages in queue=%u", MESSAGING_PORT, ACKNOWLEDGEMENT_PORT, rsu_parent, rsu_messages_in_queue);
	if(rsu_is_online == 0){
		printf(", offline\n");
	} else {
		printf(", online\n");
	}
}
void rsunicast_print_state ( ) { printf ( " " , MESSAGING_PORT , ACKNOWLEDGEMENT_PORT , rsu_parent , rsu_messages_in_queue ) ; if ( rsu_is_online == 0 ) { printf ( " \n " ) ; } else { printf ( " \n " ) ; } }
Prints some information about the state of rsunicast.
Prints some information about the state of rsunicast .