Skip to content

Latest commit

 

History

History
40 lines (39 loc) · 1.72 KB

how-2.md

File metadata and controls

40 lines (39 loc) · 1.72 KB
                   +-------------+
                   |    Start    |
                   +-------------+
                          |
                          v
                +------------------+
                |   ESP32 Pinging  |
                +------------------+
                          |
                          |                  
                          v                  
                    +-----+-----+           
                    |   Send    |  
                    |  Request  |
                    |  to API   |     
                    +-----+-----+ 
                          |
                          v
            +----+----+----+----+----+
            |                        |
        "Success"                 "Error"
            |                        |
            v                        v
       +----+----+          +----+----+---+----+
       |   API    |         |   Save Error in  |
       | Handling |         |   Local Storage  |
       +----+----+          +----+----+---+----+
            |                         |
            v                         v       
       +-----------+          +--------------------+
       | Add Item  |          | Send Errors to API |
       | to DB     |          | (when connected)   |
       +-----------+          +--------------------+
           |                            |
           |                            |
           v                            v
      +----+----+                  +----+----+
      |   End   |                  |   End   |
      +----+----+                  +----+----+