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
2 votes
0 answers
303 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 ...
user avatar
2 votes
1 answer
101 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 ...
user avatar
  • 45
1 vote
1 answer
245 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 ...
user avatar
  • 283
0 votes
2 answers
726 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 ...
user avatar
0 votes
0 answers
115 views

Basics TCP communication with Siemens S7-1200 CPU

this is a vary basic question, but I am struggling to understand what I need to do to set up a TCP communication with a S7-1200 CPU. I want to use the TSEND_C and TRCV_C. I know the PLC's and the ...
user avatar
  • 41
1 vote
2 answers
79 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 ...
user avatar
0 votes
0 answers
78 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 ...
user avatar
0 votes
2 answers
84 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.
user avatar
  • 5
2 votes
1 answer
860 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. ...
user avatar
  • 115
0 votes
0 answers
62 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 ...
user avatar
  • 37
1 vote
1 answer
299 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 ...
user avatar
0 votes
0 answers
51 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 ...
user avatar
0 votes
0 answers
51 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 ...
user avatar
39 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 ...
user avatar
  • 553
0 votes
2 answers
130 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-...
user avatar
0 votes
2 answers
473 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 ...
user avatar
  • 1,381
2 votes
1 answer
310 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: ...
user avatar
  • 591
1 vote
1 answer
66 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. ...
user avatar
-1 votes
2 answers
104 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 ...
user avatar
  • 1,381
0 votes
1 answer
196 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 ...
user avatar
  • 11
0 votes
0 answers
114 views

No connection between host PC and mbed via Ethernet

...
user avatar
  • 591
1 vote
1 answer
717 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 ...
user avatar
  • 591
0 votes
1 answer
246 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 ...
user avatar
0 votes
0 answers
48 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 ...
user avatar
  • 591
1 vote
1 answer
355 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 ...
user avatar
  • 111
0 votes
1 answer
80 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 ...
user avatar
  • 591
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 ...
user avatar
0 votes
1 answer
249 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....
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. ...
user avatar
0 votes
1 answer
500 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 ...
user avatar
0 votes
0 answers
552 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). ...
user avatar
0 votes
0 answers
437 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
  • 103
0 votes
0 answers
486 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 ...
user avatar
  • 196
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 ...
user avatar
  • 1,106
6 votes
1 answer
8k 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 ...
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 ...
user avatar
  • 796
-1 votes
2 answers
845 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 ...
user avatar
  • 29
2 votes
1 answer
405 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 ...
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 ...
user avatar
  • 516
2 votes
3 answers
659 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.
user avatar
0 votes
2 answers
253 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). ...
user avatar
11 votes
1 answer
3k views

AT Commands to transmit data through TCP/IP stack with LTE network

I need to design an embedded sotfware that will drive a LTE cellular device (like u-Blox TOBY L2 Series) and its TCP/IP stack to transmit some data toward a distant server. I'm waiting for the device ...
user avatar
  • 211
-2 votes
1 answer
69 views

Ethernet Generic Controller [closed]

I am a Software engineer and I need to make some program (TCP/IP client) that connect to Ethernet with more than one Ethernet controller devices (TCP/IP Server) that control some electrical components ...
user avatar
1 vote
2 answers
4k views

Is it possible to send AT commands through TCP?

I have a SIM900 GSM/GPRS device, I can send AT commands through HyperTerminal and everything is fine. I can configure GPRS connection through AT commands: ...
user avatar
  • 845
2 votes
2 answers
422 views

Modem to Modem via GPRS

I am working on a GPRS communication design. What I want to do to connects two modems together via GPRS. But I found that i could not connect. I was able to connect both modems to the internet using ...
user avatar
  • 1,040
0 votes
2 answers
2k views

TCP/IP stack for wifi module

I keep reading about TCP/IP stack for wifi module. I am having bit difficulty to understand that. I am working on hobby project in IoT and need to choose wifi module for Atmega328P. I heard about ...
user avatar
-1 votes
1 answer
2k views

LWiP Web Server: Running website using html files

Is there any way to run web server site on lwip library without conversion html to hex, but directly using html files?
user avatar
  • 329
0 votes
2 answers
2k views

lwIP - Best way to send data from microcontroller

Currently, I am using Server Side Includes to transfer data from my microcontroller to my webpage. The issue with this approach is that if I want to graph the data I have to store the SSI value in a ...
user avatar
  • 19
0 votes
3 answers
2k views

Serial Over IP or USB over IP?

Need to connect remotely to a device using cellular GPRS gateway. Device supports RS-232 and USB. It boils done to two options: 1.- Serial Over TCP/IP (Serial to Ethernet - to GPRS, or Serial to ...
user avatar
2 votes
1 answer
1k views

AVR Embedded Webserver + Time

I have the task of implementing an embedded webserver (using ATMega328). Broadly, the system would provide the following functionality Allow user to change system parameters using the web interface ...
user avatar
  • 1,711