Questions tagged [tcp-ip]

TCP/IP is the suite of protocols used by the Internet and in many other networked systems. Please ensure questions fit within the scope of the site and do not relate to general protocol or networking questions.

Filter by
Sorted by
Tagged with
0 votes
1 answer
181 views

Implementing TCP/UDP servers with multiple connection in a microcontroller paradigm

I'm facing an ethernet project design based on STM32F207 MCU. The firmware runs a server (TCP or UDP servers) that is constantly asked by 1 to 10 clients. Request and answer payload are less than 20 ...
Suvi_Eu's user avatar
  • 787
0 votes
0 answers
66 views

Using TINYGSM Client write function for PubSub's client.publish()

I have an application of data logger done on ESP32 where a JSON string is published to the MQTT server(QOS 0) using PubSub Library via TINYGSM. I am attaching a sample of the packet sent to the MQTT ...
Jash shah's user avatar
0 votes
0 answers
13 views

Connect Fona3G SIM5320 to cloud over MQTT protocol using GPRS/TCP with stm32

I am seeking assistance in connecting the FONA 3G SIM5320 module to the cloud via TCP connect to establish an MQTT connection. I have successfully connected the module using GPRS connectivity by ...
Amal Guibene's user avatar
0 votes
0 answers
62 views

SIM7600 module. Transparent mode issue

I use a SIM7600G communication module. I'm trying to send data in transparent mode via TCP/IP. But after I establish a connection with the TCP/IP server, I get an "error" in response to the <...
Dev. Amir's user avatar
0 votes
0 answers
35 views

I want to get the data from my fraba encoder directly to my pc without using PLC

The Fraba Encoder which I have is OCD-EEA1B-1213-C10S-PRM Ethernet/IP encoder in which we to get the data from the encoder to show to the PC where we will not use PLC and the communication will be TCP/...
Lazlo's user avatar
  • 1
1 vote
1 answer
85 views

MODBUS TCP Read response query - second opinion required

I am having an interoperability problem between a Modbus/TCP driver from one company and a Modbus/TCP device from another. The Modbus driver I am using seems to be able to correctly read all but four ...
dwp321's user avatar
  • 13
0 votes
0 answers
24 views

Transparent mode via LTE (SIM7600G module)

I want to use a SIM7600G module in transparent mode via TCP/IP with LTE. However, the user manual says about the TCP connection that the "TCP/IP application is based on GPRS network; so, ensure ...
Dev. Amir's user avatar
2 votes
1 answer
645 views

Modbus TCP illegal packet (CRC) time-out problem in gateway

I am connecting a Modbus gateway to an RTU acquisition system. I am using a MOXA Gateway MB3480 with a RS485 (2 wires) connector. The thing is that I can't read the data all the time; I receive a time-...
Developing Electronics's user avatar
0 votes
2 answers
335 views

How to read MOXA gate Modbus RTU to Modbus TCP in Python?

I have got some MOXA devices. One of them is an Mgate MB3180. I want to code in a program in Python to read the data using TCP. I don't know if I have to use a regular "TCP reading" or an &...
Developing Electronics's user avatar
1 vote
1 answer
119 views

Modbus gateway and VCOM configuration using Linux

I am connecting a Modbus Gateway (USER-TCP232) to a Linux PC. The thing is that it does not use MODBUS TCP, it just packs the RTU data frame over TCP, so I cannot use MODBUS TCP in the PC, I must use ...
Developing Electronics's user avatar
2 votes
0 answers
1k views

STM32 ethernet and TCP issues with firmware 1.27.0 and cubeide (probably at sending messages)

I would like to use the TCP/IP protocol (with LwIP, HAL library, without freeRTOS) in a project but I face some portability issues. I'm starting with TCP echo client example as in chapter 6.1.1 of ...
Damien LUCAS's user avatar
2 votes
1 answer
247 views

Roll out software update to multiple STM32s from a TCP/IP connection to PC

This is more of an "is this possible" kind of question, I'm not looking for a detailed step by step, more of a go ahead before I pull the trigger on all of the parts. I am in the design ...
Wscott's user avatar
  • 65
1 vote
1 answer
541 views

IPv4 total length exceeds packet length error

I have a problem with the mbedtls server(stm32+lwip) send wrong length message. I am using this code in my project. https://github.com/straight-coding/straight-httpd-lwip-mbedtls-simulator Server ...
gogogo's user avatar
  • 283
0 votes
2 answers
2k views

Minimalistic TCP/IP implementation on FPGA

I know, implementing the TCP/IP stack in hardware on a FPGA is a very difficult task and should be done in software. My goal is, only to implement the necessary parts of the stack on hardware so I can ...
w4tchd0g's user avatar
1 vote
2 answers
120 views

SCADA communication protocol

I am a software engineer by trait and have very little knowledge of communication protocols inside surrounding PLC's. Not even sure I have a PLC at this point. I have bought a battery, a quiet big ...
Daniel Frost's user avatar
0 votes
0 answers
175 views

How to send message in websocket connected to my server from Quectel EC20 through AT Commands?

I made a Websocket connection from Quectel EC20 after opening TCP connection by giving IP and PORT and after that I sent GET req where header upgrade to websocket through AT Commands but I am not able ...
Sushant Verma's user avatar
0 votes
2 answers
93 views

Sending data to FPGA [closed]

If I send 160bit message to an FPGA using TCP/IP Do I need to store the message in BRAM first ? Not sure how the FPGA receives data and gets to work on it yet.
Jay's user avatar
  • 5
2 votes
1 answer
2k views

W5500 with POE functionality Link status ON with nothing plugged in?

I am working on a design that uses a W5500 for networking. I followed a reference schematic and believe all my connections are correct, however I am facing issues with the network connectivity. ...
Punchki's user avatar
  • 143
0 votes
0 answers
112 views

ENC28J60 Circuit Connected With 2 Magjack in Parallel

I'm using ethernet controller chip ENC28J60 and I need to have it connected to 2 magjack in parallel, but I'm unsure if I made a correct circuit, is this can work? Please advise me, thank you very ...
Qrenz's user avatar
  • 37
1 vote
1 answer
450 views

PIC Microchip TCP IP Lite Stack on 8bit Microcontroller

I'm trying to learn about ethernet communication on a PIC micro following application note AN1921 however I'm getting compilation errors which seem to imply that the Microchip TCP/IP Lite Stack ...
Dan Twining's user avatar
0 votes
0 answers
88 views

HMI lost connectivity to TCP ip network

I need help with an ASEM HMI130TF with a SCADA program on it works on Windows 7. it is connected with LAN network TCP/ip with a PLC and another HMI, and it has a static ip. the problem is it ...
mr.Arrow's user avatar
0 votes
0 answers
67 views

Why enc28j60 is not responding to another enc28j60?

I interfaced enc28j60 with atmega328p. Then I connected the enc28j60 board1 using ethernet cable to my laptop. I have checked the transmission and reception over the ethernet and it worked. I can sent ...
vishnu m c's user avatar
40 votes
9 answers
11k views

Why is wired Ethernet losing its speed advantage over wireless?

This has been bugging me for a while now. I did a couple wireless transmission courses back in my university days and it's a known fact that wireless transmission is hard. Partly because it's a shared ...
Francois's user avatar
  • 567
0 votes
2 answers
170 views

Troubles communicating with Pathfinder DVL without TRDI Toolz

Recently my team and I have acquired a Teledyne Pathfinder Doppler Velocity Log (DVL) that we are using for an AUV project. In the guide (found here: https://www.manualslib.com/manual/1447288/Teledyne-...
mmanohara's user avatar
0 votes
2 answers
729 views

TCP data vs HTTP data over GSM modem

I am using M95 GSM Modem for remote data communication with the server. The server-end persons want me to use HTTP data connection. Another embedded guy has suggested to use sockets and TCP data for ...
alt-rose's user avatar
  • 1,461
2 votes
1 answer
327 views

Mbed Cortex-m hardfault when sending data via TCP

I have a TCPSocket* object which holds a connection to a client. This object is passed to another object to send data back to the client: ...
19172281's user avatar
  • 685
1 vote
1 answer
70 views

Unable to use wifi in MPLAB Harmony v3

I just got started with PIC32MZ curiosity development board with MRF24WN0MA Wi-Fi Module and MPLAB Harmony v3. I am unable to find drivers for wi-fi module (including ATWIN1500c) in harmony v3. ...
karanbanthia's user avatar
-1 votes
2 answers
120 views

how to find GSM service level of a IP-connection?

I am using a GSM modem to send data to a remote server over TCP/IP connection. I am using STM32F103 for the software. I want to connect 3 LED's with the 'F103 to indicate which connectivity and ...
alt-rose's user avatar
  • 1,461
0 votes
1 answer
245 views

JSON for GSM Comm on STM32

I am making a remote monitoring system using STM32F1 MCU in which there are few digital and analog sensors attached and I would send their readings to a remote server periodically. Can I use JSON ...
jackly's user avatar
  • 11
0 votes
0 answers
118 views

No connection between host PC and mbed via Ethernet

...
19172281's user avatar
  • 685
1 vote
1 answer
835 views

mbed OS 5 TCP Socket

I have a few question regarding mbed OS 5's new TCP API: Some background: I will have multiple mbeds linked via Ethernet to a PC. The PC, whose IP address is fixed and known by each mbed, initiates ...
19172281's user avatar
  • 685
0 votes
1 answer
272 views

Is it possible to install `tcpdump` on an Arduino 101?

Currently architecting a side-project idea I have that requires tcpdump on an Arduino 101. This will be my first project and just wondering if this is possible or ...
Elijah Lynn's user avatar
0 votes
0 answers
57 views

Timer interrupt priority over TCPSocket Callbacks

I have a Timer Interrupt Routine which runs periodically (1000/sec). I plan on using mbed's TCPSocket to receive incoming messages. For obvious reasons, this should not block. It is essential that ...
19172281's user avatar
  • 685
1 vote
1 answer
394 views

Why is there no reponse from ModbusRTU slave using converter?

There are two devices: Eaton EM20/M (~like Northern Design Cube 400) Volison ADM-5850G Connected them like: Trying to get data from EM20/M which supports ...
Artfaith's user avatar
  • 121
0 votes
1 answer
113 views

Interrupt during packet transfer

I'm using the mbed TCP/IP Socket library to receive incoming messages via ethernet. Currently, the incoming data is read in an infinite while(1) loop (i.e. as fast as possible). I will also be ...
19172281's user avatar
  • 685
0 votes
0 answers
2k views

SIM800C - CME ERROR: 15 SIM wrong & CME ERROR: 10 SIM not inserted

I am making a GSM Tracker with SIM800C module. After deploying it into vehicles.. It works fine.. but after some days, it starts responding as CME ERROR: 15 SIM wrong for command AT+CPIN? & CME ...
bandejiya's user avatar
  • 133
0 votes
1 answer
289 views

AT-CIPSEND Number of Characters SIM Tech GSM modules

I am succeeding in sending an update string via a SIM800L to ThingSpeak but the channel is not updating the channel. I know the string is correct since it is provided by the site that I am posting to....
David R Tucker's user avatar
2 votes
1 answer
2k views

What is problem with NRZ and how manchester line coding handles out of sync tx and rx clocks.?

I am reading about physical layer of the OSI model. Specifically the different ways in which digital bits can be represented as voltage levels, among the multiple types are: NRZ. Manchester encoding. ...
Vivek Maran's user avatar
0 votes
1 answer
582 views

How can I test TCP/IP AT-Commands with server?

I'm currently using SIM868 to make a GPS tracker, I wanted to know how to test tcp/ip protocol with a server. I do not have a server but got a website and a wifi connection(DIR-600M Router) , Is ...
Arun Joe Cheriyan's user avatar
0 votes
0 answers
634 views

Problem in connecting to a server waiting for a TCP request using ESP8266

I'm using ESP8266 for connecting to a appspot-preview.l.google.com server which listens for TCP request and answers back a number (it's for training purposes). ...
Zeta.Investigator's user avatar
0 votes
0 answers
563 views

libmodbus modbus_read_bits() returns illegal function

It is all okay when it comes to read registers with: modbus_read_registers(ctx,0,32,destination); It gives me values of 32 different registers. But when it comes ...
user avatar
0 votes
0 answers
526 views

Internet access to LoPy (ESP32) using its GPIO pins

LoPy is a LoRa module which uses ESP32 chipset. It has WiFi and Bluetooth connectivity for Internet. In my setup, I have certain interference issues, so I can't use WiFi nor Bluetooth to connect my ...
shivams's user avatar
  • 186
1 vote
2 answers
4k views

Testing a connection to a TCP socket through SIM5320A cellular module

I'm using a SIMCOM 5320A module like this one to try to establish a TCP connection. I'm going through SIMCOM's application note on TCP/IP as a reference. The AT commands I'm using may very well be ...
Joel Wigton's user avatar
  • 1,126
6 votes
1 answer
9k views

How does the TCP/IP stack interact with Wifi components?

I'm trying to transition beyond Arduino and I'm trying to learn how to use an RTOS (like FreeRTOS) to connect to the web via Wifi. It seems that FreeRTOS and ZentriOS and other RTOS supply TCP/IP ...
Inc1982's user avatar
  • 239
4 votes
2 answers
15k views

Posting to php server using SIM900 GPRS with AT commands

I am using a SIMCOM SIM900 GSM/GPRS module in an embedded hardware application. Rather than sending device data to a server by SMS (what I've been doing so far) I want to switch and start using GPRS ...
LShaver's user avatar
  • 841
-1 votes
2 answers
894 views

ADC/DAC module with TCP/IP communication [closed]

I have a project: conception and realization of a module that converts Analog to digital signals (A/D converter) and digital to analog signals (D/A converter). To communicate with this module, I will ...
oussama's user avatar
  • 29
2 votes
1 answer
413 views

Adding Wi-Fi to a TCP/IP application that is already running with Ethernet

What to do if you have an Ethernet application that is already up and running with TCP/IP functionality and now you want to add Wi-Fi. Most of the Wi-Fi modules available have embedded TCP/IP stacks ...
ZooS's user avatar
  • 21
2 votes
1 answer
3k views

SIM800 - HTTP Get request time out

I've been working on a weather station project, and I used a SIM 900 module to upload the data to a web server. Recently I started using a SIM800-DS for the same purpose and I had to rewrite the code ...
chamod's user avatar
  • 516
2 votes
3 answers
730 views

FPGA TCP Connection

Is it possible to have a TCP connection with an FPGA? I need a low power device that can control relays based on Ethernet packets that are received and send back confirmation packets.
Eric Johnson's user avatar
0 votes
2 answers
259 views

Switching AC or DC signal via TCP/IP [closed]

What is the cheapest/easiest way to switch an AC or DC signal of at least 10 V via TCP/IP? I have 5 measurement devices which can be triggered over an 0-250 V AC/DC input (switching threshold 10 V). ...
blade_runner's user avatar