Skip to content

webServer()

f4cib edited this page Mar 21, 2021 · 1 revision

void webServer()

While client is connected and if a connection is available:

  • request string & check if the command was "Set" or "Get" if isTxMode is false, that means we are on Rx (either inRxModeSet or inTxModeSet, we don't care), this is to prevent any hot switch
  • call getStringPartByNr() to parse the 8 bits of the 3 function arrays (0:Rx ; 1:Tx ; 2:Beverage)

For each function:

Called by:

  • loop()