Skip to main content

Questions tagged [tcpip]

This should be used when referring to the transmission protocol TCP/IP.

Filter by
Sorted by
Tagged with
3 votes
1 answer
260 views

I am using a SIM868 module with an Arduino Mega, where the SIM868 is connected to Serial1. After establishing a TCP connection, I need to send the following byte stream: {0x60, 0x1A, 0x9D, 0x01, 0x00, ...
Shekhar Saha's user avatar
2 votes
1 answer
529 views

I have an ESP32 board as a client with a static IP address. The client with the static IP address connects to a second ESP32 that is acting as an access point. The connection is established and the ...
Carlos Costa's user avatar
1 vote
0 answers
77 views

I have Arduino MEGA with Ethernet Shield and a SD card connected to a RUT950 GSM router. Then, I also have two sensors connected to the router and they run a TCP server that sends measurements ...
Marcus Barnet's user avatar
1 vote
2 answers
464 views

I have multiple SNMP devices on the same network and I am trying to request, via OID numbers, each SNMP device and assign the response into an array. When I request a single IP, I get the correct ...
Christo Deyzel's user avatar
0 votes
2 answers
156 views

Is there any way to change the TCP send buffer size (TCP_SND_BUF) on this module ? Now it is equal to TCP_SND_BUF = 2 * TCP_MSS = 2 * 1460 = 2920. Editing lwipopts.h doesn't make any difference. The ...
Vassilis Papanikolaou's user avatar
1 vote
1 answer
2k views

how can I recieve udp multicast packets in ESP8266? I have this piece of code: #include <ESP8266WiFi.h> #include <WiFiUdp.h> const char* ssid = "my_wifi_ssid"; const char* ...
Petr Marek's user avatar
0 votes
1 answer
1k views

I need to provide a basic geolocation service for my clients. I built a location service based on the phone geolocation. It works great, not a problem. My problem is that some of my clients don't have ...
rm4's user avatar
  • 103
2 votes
1 answer
684 views

I am using sim 800l with arduino. I am successfully sending AT command from arduino, not in serial monitor but I am unable to catch the response after each successful command execution if its ok or ...
Angkon's user avatar
  • 49
3 votes
0 answers
581 views

I have an ESP32 application that uses a web server as a user interface. For auditing and debugging during development I use Serial; however, that is impractical in the installed system. So, I decided ...
Eric Vortriede's user avatar
5 votes
0 answers
2k views

I have this project where I need a modbus tcp server that will host a series of sensor data for other modbus client devices to read. I use this Library by Andresoarmento This is the code i am using ...
Deadpool's user avatar
1 vote
2 answers
1k views

I'm new to Arduino programming. I want to make my ESP8266 get a static IP address based on the gateway's IP address. I mean if the gateway is at 192.168.0.1 then the ESP8266 should get 192.168.0.15 as ...
Avinash VK's user avatar
1 vote
0 answers
156 views

So I want to have one persistent SSL connection to a cloud server (Azure IoT Hub) to upload telemetry and another SSL connection to a server to perform a simple GET request every 30 minutes. I've ...
Konstantinos P.'s user avatar
1 vote
0 answers
3k views

I have the attached script that reads data from a socket server (it is PHP at the server end). My problem (I think) is that the readStringUntil() needs a test above it, so that it "reads up to \r&...
adrianTNT's user avatar
  • 252
0 votes
1 answer
161 views

I'm a little confused with some Process.h methods. I'm trying to run the command "nc 192.168.1.15 9911" to the Linux processor through a sketch. The appropriate netcat listener is waiting on ...
BrainTrance's user avatar
1 vote
0 answers
311 views

I have developed an application with a SunFounder Mega2560 with a W5100 Ethernet shield that acts as a server and successfully parses TCP message packets from a client sending in updates. I am now ...
Big Owls's user avatar
1 vote
1 answer
2k views

I'm implementing a WiFi HTML web server using the WiFiNINA library, an Adafruit Airlift ESP32 coprocessor, and a Teensy 3.5. It's starting to work, but I have a couple of questions. This simplified ...
Len Shustek's user avatar
1 vote
0 answers
189 views

I have been having a heck of a time getting my Arduino Uno Rev2 application to work as intended, which is to parse commands from multiple clients sending in ASCII-based commands over WiFi in order to ...
Big Owls's user avatar
1 vote
2 answers
2k views

I have a Keyes Espressif ESP8266 NodeMCU, I have two LEDs that I want to control which are connected to the ESP. When I open the webpage http://10.0.0.5/5 after uploading the sketch it works fine. If ...
Brandon Pillay's user avatar
0 votes
1 answer
1k views

Project goals Send data over GSM to firebase Fast sampling - need to send 16 bytes every half second to firebase Send data using GET or POST to server with PHP script, that redirect data to firebase ...
Piotr Lewandowski's user avatar
2 votes
0 answers
328 views

I'm having problems with my Arduino UNO and the ESP8266 module. I need to send values from Arduino to my PHP web page in this way: http://www.server.com/km/db.php?id=53 the ESP8266 module is working ...
Marcus Barnet's user avatar
1 vote
0 answers
545 views

I'm trying to set up an Arduino Mega with a SIM800L module and trying to get Modbus TCP running on said Mega. I've set Modbus TCP over wifi and serial before but I used libraries for those. The ...
Deniz Yörüten's user avatar
2 votes
0 answers
121 views

I'm trying to print out the temperature from a DS18B20 sensor to my app via a tpc connection. Because I have two sensors connected I will need to call the one needed by an Index. This index comes from ...
Janik's user avatar
  • 41
0 votes
1 answer
303 views

I'm trying to send data from my ESP8266 to a NodeJS TCP server, the connection and basic charakters (48-90) are working fine, but if I use others like ASCII-Code (0,1,2,3...) I don't get any usefull ...
Ribisl's user avatar
  • 25
-1 votes
1 answer
214 views

Im trying to get html response from server via esp01 module when using the serial monitor in arduino studio everything works fine here is the serial monitor output AT+CIPSTART="TCP","aaaa.aaaa",...
KoSMoS's user avatar
  • 99
2 votes
1 answer
2k views

Libraries NTPClient Board Olimex ESP32-POE board Behaviour I have written a code that connects the board to a local NTP Server (which is an embedded board). I tried assigning the IP Address of the ...
Shan-Desai's user avatar
1 vote
1 answer
2k views

I recently bought a 'TinySine 3G shield (SIM5320E) 900/2100Mhz' based on Adafruit_FONA libraries to use with Arduino Mega 2560 R3. It successfully registered with Vodafone AU. Other functionality ...
SajithP's user avatar
  • 121
1 vote
0 answers
838 views

We're trying to use an ESP8266/Arduino Uno as a TCP server, which connects to a wireless AP and then receives commands from other devices on the same network. Currently we got the "connect to AP" part ...
SeriousLee's user avatar
-1 votes
1 answer
2k views

My question is connected with the issue as linked: Is there any good working MODBUS TCP master library available for Arduino? An example of Modbus TCP master library as suggested in the post above. A ...
dskorupinski's user avatar
0 votes
1 answer
2k views

Hi with ESP8266WiFi library, I usually check for connection of a TCP client with client.connected(). But it seems to still return true if my TCP client in an unexpected way (like disconnect to WiFi/ ...
MoonFan's user avatar
  • 43
4 votes
1 answer
5k views

I'm using WeMos D1 R2. I'm trying to listen to both ports 1992 and 1993. This is my current code: #include WiFiServer server_1992(1992); WiFiServer server_1993(1993); void setup() { Serial....
MoonFan's user avatar
  • 43
0 votes
1 answer
1k views

EDIT: I have created an issue about this here: https://github.com/esp8266/Arduino/issues/4593 I have this server: 185.205.210.197 (Check that it works: http://185.205.210.197/) And I have this code ...
nemewsys's user avatar
  • 225
0 votes
1 answer
1k views

I am trying to send MFRC522 data to a C# application through a NodeMCU acting as an access point for the C# app. I have modified the code I got from this site. #include ESP8266WiFi.h> #include SPI....
Venkatesh Shiga's user avatar
1 vote
2 answers
1k views

I'm trying to implement a full-duplex communication between my ESP8266 and a socketserver running on my laptop. In concrete I need each of the devices to initiate communication whenever it needs to. ...
Sim Son's user avatar
  • 1,878
0 votes
1 answer
2k views

Good day community, I have a project which is VEHICLE GPS Tracker and I'm using Arduino Mega, NEO GPS6MV2 and SIM900. I'm using SIM900 to send the GPS coordinates on a web server. I'm using the POST ...
Ericka Leonardo Gregorio's user avatar
0 votes
1 answer
8k views

I'm building a remote for my WiFi-RGB Lights. I have an ESP8266, which should send one TCP packet with 4 chars. My code: #include <ESP8266WiFi.h> const char* ssid = "Wifi"; const char* ...
Bonar Scripta's user avatar
1 vote
1 answer
381 views

I am sending a message to a web api call every xx seconds. I could not get it to work at all until I changed the header from HTTP 1.1 which is what I was using to HTTP 1.0. Then, it started working. ...
Michael Bedford's user avatar
2 votes
1 answer
295 views

I am having small project where I want to read couple of analog inputs from Arduino UNO, send it via software serial to ESP8266-01 and from that to python server using TCP. Data is sent to ESP using ...
Austris's user avatar
  • 119
3 votes
1 answer
5k views

I am trying to send numeric data using ESP8266 to local network python server. Before that I am collecting data from sensors using Arduino UNO and then send it to ESP using hardware serial. ESP8266 ...
Austris's user avatar
  • 119
2 votes
2 answers
10k views

I am using ESP8266 01 board to send some data via TCP to server on local network. My code is: #include <ESP8266WiFi.h> const char* ssid = "ssid"; const char* password = "pas"; const char* ...
Austris's user avatar
  • 119
1 vote
0 answers
583 views

I currently have a working connection to my ESP8266 module. However, I can only connect to a server using the port 80, is it possible to choose a different port? I can connect using AT+CIPSTART="TCP"...
Mason's user avatar
  • 227
3 votes
1 answer
12k views

I would like to connect with Fronius solar inverter through MODBUS TCP with Arduino to READ and WRITE register values only. I want to set the Arduino as master and the Inverter as slave. I want to use ...
Prayuktibid's user avatar
3 votes
1 answer
10k views

2017-03-23 update I still don't know why it works so well on Yún. Maybe it has a better antenna? Anyway, I've returned Uno WiFi and got a SparkFun ESP32 Thing. Unfortunately, it has the same problem ...
Maciej Konieczny's user avatar
0 votes
2 answers
5k views

I'm currently trying to make my Arduino UNO WiFi work as a TCP host, so I can send him a TCP message and it sends a response. I had no problem doing this on the Arduino Galileo Gen 2 using the ...
Mason's user avatar
  • 227
1 vote
2 answers
4k views

I am new to ESP programming on Arduino, as before I was developing on eLua. There were some memory problems in Lua, so I decided to move to Arduino. After looking at some examples, I found a library ...
mansoor's user avatar
  • 11
3 votes
4 answers
7k views

I am working on a project in which, the mobile app/browser sends HTTP command to ESP8266 in AP mode. The default IP address of ESP is 192.168.4.1. Therefore in order to connect the ESP to WiFi, the ...
MICRO's user avatar
  • 500
5 votes
3 answers
28k views

Trying to setup a server on Arduino to support multiple clients, I am able to support one but I don't want to flush that client to make another connection. #include <ESP8266WiFi.h> const char* ...
user28203's user avatar
2 votes
1 answer
940 views

For a school project I want to make a little project with the Arduino Uno. I want to make a project that does something when a client connects to the WiFi shield. My first thought was to print out ...
Daan Heijmans's user avatar
0 votes
3 answers
2k views

I'm using an Arduino Uno with an Ethernet Shield and the arduino.cc Ethernet library for a custom TCP-based message-exchanging chat-like protocol. Specifically I'm using the Client class with its ...
Plap's user avatar
  • 101
1 vote
1 answer
2k views

I recently bought a W5100 Ethernet shield and I'm trying to run this simple example, which is a little improvement of the basic WebServer sketch provided by Arduino.cc #include <SPI.h> #include ...
FabioEnne's user avatar
  • 233
0 votes
1 answer
1k views

I am having a strange issue where if I try and create a TCP connection to my service, it doesn't work. But any other website, such as google, works fine. The serial monitor output is also slightly ...
Calco's user avatar
  • 163