|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Classes | |
| struct | EthernetPins |
| struct | EthernetConfig |
Functions | |
| void | EthernetInit (const EthernetConfig &config) |
| void | sendPacket (const uint8_t *data, size_t len) |
| void | sendPacket (const String &data) |
| IPAddress | getLocalIP () |
| bool | ethernetReady () |
| void EthernetInit | ( | const EthernetConfig & | config | ) |
Definition at line 19 of file EthernetHandler.cpp.
References config, anonymous_namespace{EthernetHandler.cpp}::currentConfig, ESP, ETH, Ethernet, anonymous_namespace{EthernetHandler.cpp}::initialized, mac, anonymous_namespace{EthernetHandler.cpp}::nativeUdp, anonymous_namespace{EthernetHandler.cpp}::spiUdp, and anonymous_namespace{EthernetHandler.cpp}::usingNative.
Referenced by setup().
| bool ethernetReady | ( | ) |
Definition at line 84 of file EthernetHandler.cpp.
References anonymous_namespace{EthernetHandler.cpp}::initialized.
Referenced by loop().
| IPAddress getLocalIP | ( | ) |
Definition at line 77 of file EthernetHandler.cpp.
References ETH, Ethernet, and anonymous_namespace{EthernetHandler.cpp}::usingNative.
Referenced by setup().
| void sendPacket | ( | const String & | data | ) |
Definition at line 69 of file EthernetHandler.cpp.
References anonymous_namespace{EthernetHandler.cpp}::initialized, and sendPacket().
| void sendPacket | ( | const uint8_t * | data, |
| size_t | len ) |
Definition at line 53 of file EthernetHandler.cpp.
References anonymous_namespace{EthernetHandler.cpp}::currentConfig, anonymous_namespace{EthernetHandler.cpp}::initialized, anonymous_namespace{EthernetHandler.cpp}::nativeUdp, EthernetConfig::receiverIP, EthernetConfig::receiverPort, anonymous_namespace{EthernetHandler.cpp}::spiUdp, and anonymous_namespace{EthernetHandler.cpp}::usingNative.
Referenced by loop(), and sendPacket().