1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS on ESP32 |
From: | Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov> |
To: | Ralph Lange <ralph.lange at gmx.de>, EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Wed, 31 Aug 2022 10:41:14 +0200 |
Hey Ralph,
yeah you are right, if I had to implement it myself I would go
for UDP just like we do on our FPGAs.
But Espressif ships its own version of the Lightweight TCP/IP
Stack so for me using TCP is just one line.
A common usage of those chips seems to be running a webserver
(http(s)) on the chip to access data and control from the outside
(at least this was a common thing in most example applications I
had a look at)
Cheers,
Florian
On Wed, 31 Aug 2022 at 09:50, Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov> wrote:
Btw Eric, why do you think UDP would be more appropriate than TCP?
While not being Eric, I would argue that UDP is much simpler. Fire-and-forget instead of connection handling, buffering, re-transmitting, ...For embedded applications on a limited OS or without OS (think FPGA et al.) that don't have huge amounts of data, periodically sending a UDP message to a configurable address/port is about the most simple and robust thing you can do.
Cheers,
~Ralph
-- Ruhr-Universität Bochum AG der Experimentalphysik I Dr. Florian Feldbauer NB 2/131 / Fach 125 Universitätsstr. 150 D-44801 Bochum Office: NB 2/134 Phone: (+49)234 / 32-23563 Fax: (+49)234 / 32-14170 https://paluma.ruhr-uni-bochum.de