Example #1
0
void mongoose_schedule_poll(bool from_isr) {
  (void) from_isr;
  mg_broadcast(mgos_get_mgr(), dummy_handler, NULL, 0);
}
Example #2
0
static void broadcast(struct mg_mgr *mgr, char *str)
{
	mg_broadcast(mgr, broadcast_callback, str, strlen(str) + 1);
}