Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples for receive and send TCP packages #1317

Open
wants to merge 40 commits into
base: master
Choose a base branch
from

Conversation

martinmmi
Copy link

Hello, iam martin from germany and i like to develop a tcp interface for an esp32 application.

I have this tcp sequences from a incoming tcp server:

OFF:
80 30 41 42 43 44 45 46 47 20 20 20 20 20 20 20 20 20

GREEN:
80 31 41 42 43 44 45 46 47 20 20 20 20 20 20 20 20 20

RED:
80 33 41 42 43 44 45 46 47 20 20 20 20 20 20 20 20 20

How can I evaluate this sequences in a tcp client? Are some examples availble?

Many thanks
Martin

OttoWinter and others added 30 commits October 14, 2019 12:53
.piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
.piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:832:29: error: call of overloaded 'IPAddress(long unsigned int)' is ambiguous
         return IPAddress(0UL);
                             ^
In file included from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:163,
                 from .piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:21:
/root/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
     IPAddress(const uint8_t *address);
     ^~~~~~~~~
/root/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
     IPAddress(uint32_t address);
     ^~~~~~~~~
@jesserockz jesserockz deleted the branch me-no-dev:master May 6, 2024 22:11
@jesserockz jesserockz deleted the master branch May 6, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.