usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Web server on E310

SR
Steve Ringwald
Mon, Jul 17, 2017 3:48 PM

Hi,

I’m currently running a C++ application on the E310 which sends/receives
some data to a client through TCP. Instead, I’d like to run a web server on
the E310 so that a client could connect with a browser to a site with a
basic GUI, and the C++ program would interact with the server instead of a
TCP connection. Typically, only one client will connect at a time.

If anyone has done something similar, could you tell me what software
you’ve had success with? I’m new to web development and I’d benefit from
any general tips.

Hi, I’m currently running a C++ application on the E310 which sends/receives some data to a client through TCP. Instead, I’d like to run a web server on the E310 so that a client could connect with a browser to a site with a basic GUI, and the C++ program would interact with the server instead of a TCP connection. Typically, only one client will connect at a time. If anyone has done something similar, could you tell me what software you’ve had success with? I’m new to web development and I’d benefit from any general tips.
MB
Martin Braun
Tue, Jul 18, 2017 8:47 PM

It's pretty raw, but there's fosphor code in gr-ettus that displays
stuff via browser. See here:
https://github.com/EttusResearch/gr-ettus/tree/master/web

Don't ask me any questions about it :)

-- M

On 07/17/2017 08:48 AM, Steve Ringwald via USRP-users wrote:

Hi,

I’m currently running a C++ application on the E310 which sends/receives
some data to a client through TCP. Instead, I’d like to run a web server
on the E310 so that a client could connect with a browser to a site with
a basic GUI, and the C++ program would interact with the server instead
of a TCP connection. Typically, only one client will connect at a time.

If anyone has done something similar, could you tell me what software
you’ve had success with? I’m new to web development and I’d benefit from
any general tips.


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

It's pretty raw, but there's fosphor code in gr-ettus that displays stuff via browser. See here: https://github.com/EttusResearch/gr-ettus/tree/master/web Don't ask me any questions about it :) -- M On 07/17/2017 08:48 AM, Steve Ringwald via USRP-users wrote: > Hi, > > > > I’m currently running a C++ application on the E310 which sends/receives > some data to a client through TCP. Instead, I’d like to run a web server > on the E310 so that a client could connect with a browser to a site with > a basic GUI, and the C++ program would interact with the server instead > of a TCP connection. Typically, only one client will connect at a time. > > If anyone has done something similar, could you tell me what software > you’ve had success with? I’m new to web development and I’d benefit from > any general tips. > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >
SR
Steve Ringwald
Thu, Jul 20, 2017 2:13 PM

I wasn't aware of that code; it sounds useful but I don't see much
documentation on it concerning the web interface.
I was thinking about using apache2 as disk space isn't much of a concern
for my application, or maybe Nginx as it seems better suited for embedded
devices, but I'm really just looking for the easiest solution that will
interface with my C++ application, without having to rebuild the OS if
possible.

On Tue, Jul 18, 2017 at 4:47 PM, Martin Braun via USRP-users <
usrp-users@lists.ettus.com> wrote:

It's pretty raw, but there's fosphor code in gr-ettus that displays
stuff via browser. See here:
https://github.com/EttusResearch/gr-ettus/tree/master/web

Don't ask me any questions about it :)

-- M

On 07/17/2017 08:48 AM, Steve Ringwald via USRP-users wrote:

Hi,

I’m currently running a C++ application on the E310 which sends/receives
some data to a client through TCP. Instead, I’d like to run a web server
on the E310 so that a client could connect with a browser to a site with
a basic GUI, and the C++ program would interact with the server instead
of a TCP connection. Typically, only one client will connect at a time.

If anyone has done something similar, could you tell me what software
you’ve had success with? I’m new to web development and I’d benefit from
any general tips.


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

I wasn't aware of that code; it sounds useful but I don't see much documentation on it concerning the web interface. I was thinking about using apache2 as disk space isn't much of a concern for my application, or maybe Nginx as it seems better suited for embedded devices, but I'm really just looking for the easiest solution that will interface with my C++ application, without having to rebuild the OS if possible. On Tue, Jul 18, 2017 at 4:47 PM, Martin Braun via USRP-users < usrp-users@lists.ettus.com> wrote: > It's pretty raw, but there's fosphor code in gr-ettus that displays > stuff via browser. See here: > https://github.com/EttusResearch/gr-ettus/tree/master/web > > Don't ask me any questions about it :) > > -- M > > On 07/17/2017 08:48 AM, Steve Ringwald via USRP-users wrote: > > Hi, > > > > > > > > I’m currently running a C++ application on the E310 which sends/receives > > some data to a client through TCP. Instead, I’d like to run a web server > > on the E310 so that a client could connect with a browser to a site with > > a basic GUI, and the C++ program would interact with the server instead > > of a TCP connection. Typically, only one client will connect at a time. > > > > If anyone has done something similar, could you tell me what software > > you’ve had success with? I’m new to web development and I’d benefit from > > any general tips. > > > > > > > > _______________________________________________ > > USRP-users mailing list > > USRP-users@lists.ettus.com > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >