26 bool local_is_synchronized() { o2_send_clocksync_proc(
this);
27 return IS_SYNCED(
this); }
28 virtual O2status status(
const char **process) {
30 *process = get_proc_name();
35 virtual O2err send(
bool block);
37 void show(
int indent) {
46extern bool o2_mqtt_waiting_for_public_ip;
48O2err o2_mqtt_send_disc();
50O2err o2_mqtt_initialize();
52O2err o2_mqtt_finish();
54void o2_mqtt_disc_handler(
char *payload,
int payload_len);
56O2err o2_mqtt_can_send();
Definition: o2network.h:147
bool o2_clock_is_synchronized
A variable indicating that the clock is the reference or is synchronized to the reference.
Definition: clock.cpp:26
O2time o2_local_time()
Get the real time using the local O2 clock.
Definition: clock.cpp:644
double O2time
O2 timestamps are doubles representing seconds since the approximate start time of the ensemble.
Definition: o2.h:625
O2status
Status return codes for the o2_status function.
Definition: o2.h:435
O2err
return values used generally by O2 functions
Definition: o2.h:329
@ O2_REMOTE_NOTIME
remote service but no clock sync yet
Definition: o2.h:453
@ O2_REMOTE
remote service with clock sync.
Definition: o2.h:502
@ O2_SUCCESS
function was successful
Definition: o2.h:332
@ O2_FAIL
a non-specific error occurred.
Definition: o2.h:339
Definition: o2network.h:57