Questions tagged [tcpip]
This should be used when referring to the transmission protocol TCP/IP.
64 questions
3
votes
1
answer
260
views
How to send 0x1A as data via TCP on SIM8xx?
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, ...
2
votes
1
answer
529
views
ESP32 with static IP address acting as client connecting to ESP32 acting as access point
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 ...
1
vote
0
answers
77
views
Arduino MEGA crashes with Ethernet shield to connect to two TCP servers
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 ...
1
vote
2
answers
464
views
SNMP Manager - Multiple IP address -issue
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 ...
0
votes
2
answers
156
views
ESP8266 Wemos D1 min pro - how to change TCP_SND_BUF?
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 ...
1
vote
1
answer
2k
views
ESP8266 - How to recieve UDP multicast packet?
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* ...
0
votes
1
answer
1k
views
How to access GPS location without internet
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 ...
2
votes
1
answer
684
views
Is there any way to catch the response of SIM800L after sending the at command?
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 ...
3
votes
0
answers
581
views
ESP32 HTTP Server request interrupts Telnet session
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 ...
5
votes
0
answers
2k
views
Modbus TCP/IP using Arduino uno and ENC28J60 module
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 ...
1
vote
2
answers
1k
views
Static IP for ESP8266 based on gateway
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 ...
1
vote
0
answers
156
views
Two SSL connections at the same time on Uno WiFi rev 2
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 ...
1
vote
0
answers
3k
views
TCP client readStringUntil only when data exists
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&...
0
votes
1
answer
161
views
I can't run shell commands on Linux through AVR sketch (Arduino Yun)
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 ...
1
vote
0
answers
311
views
Arduino Mega failing to connect to XAMPP database/php server to send HTTP requests
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 ...