  | 
  
   
    RSeries astromech firmware 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef WifiSerialBridge_h 
    2 #define WifiSerialBridge_h 
    8 #include <WiFiClient.h> 
   35 template<
unsigned maxClients = 1>
 
   77         for (
unsigned i = 0; i < maxClients; i++)
 
   97             for (i = 0; i < maxClients; i++)
 
  120         for (i = 0; i < maxClients; i++)
 
  146     HardwareSerial& fSerial;
 
  147     bool fStarted = 
false;
 
  148     bool fEnabled = 
true;
 
 
 
virtual void wifiConnected(WifiAccess &access) override
Definition: WifiSerialBridge.h:64
 
Definition: WifiAccess.h:25
 
#define DEBUG_PRINT(s)
Definition: ReelTwo.h:189
 
Base template of automatic forwarder from i2c to CommandEvent.
Definition: WifiSerialBridge.h:36
 
Base class for all animated devices. AnimatedEvent::animate() is called for each device once through ...
Definition: AnimatedEvent.h:18
 
Definition: WifiAccess.h:166
 
#define DEBUG_PRINTLN(s)
Definition: ReelTwo.h:188
 
bool enabled()
Definition: WifiSerialBridge.h:59
 
virtual void animate() override
Dispatch any received i2c event to CommandEvent.
Definition: WifiSerialBridge.h:89
 
void setEnabled(bool enabled)
Definition: WifiSerialBridge.h:54
 
void addNotify(WifiAccess::Notify *client)
Definition: WifiAccess.h:173
 
virtual void wifiDisconnected(WifiAccess &access) override
Definition: WifiSerialBridge.h:74
 
WifiSerialBridgeBase(HardwareSerial &serial, WifiAccess &wifiAccess, uint16_t port=2000)
Constructor.
Definition: WifiSerialBridge.h:47
 
WiFiClient fClients[maxClients]
Definition: WifiSerialBridge.h:39
 
WifiSerialBridgeBase WifiSerialBridge
Definition: WifiSerialBridge.h:167