Web Interface for edge Jetson device

A bit of context. I am currently in the process of reworking how I do wireless communication between an Android phone and a Jetson Tx2. As it is I am using the “Serial Bluetooth” app on android to send text to the Tx2. This works OK, but it would require that I develop my own app in the future for better control. In addition, I have had issues with spotty connections and Bluetooth doesn’t have the bandwidth to do video streaming. Which is something that I want to add.

So I wanted to switch over to using WiFi instead. Now i have looked around an the best approach seems to be to use WiFi-Direct. I did consider if it would be possible to use some other form of ad hoc network, but then I read that android devices don’t list ad hoc networks normally. As a side note, if anyone has any recommendations for network configurations that work with android and iOS I would appreciate it.

So on to the main question, creating a web interface for interacting with the app on the Tx2. My current application is currently written in C++ and C++ generally isn’t a programming language associated with web interfaces. Now the only library that I am heavily locked into is deep-streamer. Given that deep-streamer is C/C++ and Python bindings I feel like the back end is more or less locked into either of these. Most of the other libraries I use also have a python library so its not that big of an issue to switch. As it currently stands I was thinking about either sticking with C++ and using something like Wt or changing to python and using a web framework like Django. So I was wondering if anyone else has been down this particular rabbit hole and might have some insight and what might work the best and if there are any major pitfalls?

Maybe you can check those projects shared at Latest Jetson & Embedded Systems/Jetson Projects topics - NVIDIA Developer Forums to see ifcan gain some ideas.

1 Like

Thanks, seems like a good place to start. I also looked at separate back-end and front-end implementations. As of right now I was thinking of maybe using boost::beast for the back-end to keep everything C++. Then see if I cant find a web framework that uses WebSocket for the front-end.

Will add another reply with other projects that does something similar, if I find any.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.