python - Creating a website to communicate with an embedded device -


i'm working on project i'm trying control embedded device through internet facing website. idea is user can go website , tell device preform kind of action. action on website translated series of cli commands , sent device. communication potentially go both ways in future, right i'm focusing on server-to-device.

the web server lamp stack using python (django) , device i'm trying communicate beagle board running elinux. there 1 device existing @ time communicating server.

i have functional parts written on server , device side, i'm having bit of trouble figuring out how write communication layer. 1 of big issues device mobile , moving locations every few days. so, can't guarantee static ip address device. networking programming knowledge pretty minimal don't have great idea on start.

does have ideas/resources on how can start developing kind of communication?

thanks!

you can register dynamic host name using provider dyndns , have device update it's ip on website dynamic hostname points device ip - there plenty of clients, scripts etc. available linux that.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -