MechaLib
The robust, all-in-one software library for MechaLeague Robots
Loading...
Searching...
No Matches
comms.hpp File Reference
#include <Arduino.h>
#include <WiFi.h>
#include <ESPmDNS.h>
#include <WiFiUdp.h>

Go to the source code of this file.

Data Structures

class  Comms

Macros

#define COMMS_H
#define TEAM_ID   0

Enumerations

enum  COMMS_CONN_ERR { COMMS_SUCCESS = 0 , COMMS_FAILURE = 1 , COMMS_NO_TEAM_ID = 2 , COMMS_INVALID_TEAM_ID = 3 }
enum  COMMS_MDNS_ERR { MDNS_SUCCESS = 0 , MDNS_FAILURE = 1 }
enum  COMMS_CONN_TYPE { CONN_FIELD = 0 , CONN_BRIDGE = 1 , CONN_AP = 2 }

Macro Definition Documentation

◆ COMMS_H

#define COMMS_H

◆ TEAM_ID

#define TEAM_ID   0

Enumeration Type Documentation

◆ COMMS_CONN_ERR

Enumerator
COMMS_SUCCESS 
COMMS_FAILURE 
COMMS_NO_TEAM_ID 
COMMS_INVALID_TEAM_ID 

◆ COMMS_CONN_TYPE

Enumerator
CONN_FIELD 
CONN_BRIDGE 
CONN_AP 

◆ COMMS_MDNS_ERR

Enumerator
MDNS_SUCCESS 
MDNS_FAILURE