eLuaWebDevice Project

classic Classic list List threaded Threaded
5 messages Options
Heinz Heinz
Reply | Threaded
Open this post in threaded view
|

eLuaWebDevice Project

Hi eLua folk,

I set up a small project for programming devices via the internet just
using a browser.
I had the idea for a long time. But eLua made it possible.

Thank you guys!

I didn't even had to modify anything in eLua - although I did first, not
realising that there is an 'autoexec.bat' ;-).

Take a look at:
https://github.com/kheinz57/eLuaWebDevice
or watch the screencasts I have just uploaded to youtube:

http://www.youtube.com/watch?v=_jLPY-GeYa0

Comments are welcome of course


Heinz

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: eLuaWebDevice Project

Hi,

On Mon, Nov 21, 2011 at 12:48 AM, heinz <[hidden email]> wrote:
Hi eLua folk,

I set up a small project for programming devices via the internet just using a browser.
I had the idea for a long time. But eLua made it possible.

Thank you guys!

I didn't even had to modify anything in eLua - although I did first, not realising that there is an 'autoexec.bat' ;-).

Take a look at:
https://github.com/kheinz57/eLuaWebDevice
or watch the screencasts I have just uploaded to youtube:

http://www.youtube.com/watch?v=_jLPY-GeYa0

Comments are welcome of course

Very nice idea. I considered a web based development environment for eLua, but I didn't follow that direction. Glad to see someone did. Please let us know if we can help you with anything.

Best,
Bogdan
 


Heinz

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Heinz Heinz
Reply | Threaded
Open this post in threaded view
|

Re: eLuaWebDevice Project

Hi,

These things should be done (orderd by priority, the first would be the
most importend - at least for me)
1. Making TCP/IP fully working to be able to have http get and post work.
     This is important for the server (getting ride of the lua server)
as well as for the application.
     At least I would like to communicate with http/JSON servers
2. attaching a gprs/umts modem including http as well
3. Establish a common log channel into the IDE and lua code by
redirecting print

It took me more then half a year to get to this point. I will not be
much faster now. So any help is welcome

Heinz

Am 21.11.2011 08:53, schrieb Bogdan Marinescu:

> Hi,
>
> On Mon, Nov 21, 2011 at 12:48 AM, heinz <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi eLua folk,
>
>     I set up a small project for programming devices via the internet
>     just using a browser.
>     I had the idea for a long time. But eLua made it possible.
>
>     Thank you guys!
>
>     I didn't even had to modify anything in eLua - although I did
>     first, not realising that there is an 'autoexec.bat' ;-).
>
>     Take a look at:
>     https://github.com/kheinz57/eLuaWebDevice
>     or watch the screencasts I have just uploaded to youtube:
>
>     http://www.youtube.com/watch?v=_jLPY-GeYa0
>
>     Comments are welcome of course
>
>
> Very nice idea. I considered a web based development environment for
> eLua, but I didn't follow that direction. Glad to see someone did.
> Please let us know if we can help you with anything.
>
> Best,
> Bogdan
>
>
>
>     Heinz
>
>     _______________________________________________
>     eLua-dev mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
>
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Ned Konz-2 Ned Konz-2
Reply | Threaded
Open this post in threaded view
|

Re: eLuaWebDevice Project

You might consider an alternative IP stack:

I've just been working with the FNET IP stack, which is currently only available for Freescale devices but is open source:

http://fnet.sf.net

It's very clean code, and includes an HTTP server, DHCP client, telnet server (and client), and much more.

It looks as if it wouldn't be too hard to bend this to use with eLua (or with other ethernet peripherals).

It needs only a callback from timer interrupts and from Ethernet received frames.

On Nov 21, 2011, at 12:46 PM, heinz wrote:

> Hi,
>
> These things should be done (orderd by priority, the first would be the most importend - at least for me)
> 1. Making TCP/IP fully working to be able to have http get and post work.
>    This is important for the server (getting ride of the lua server) as well as for the application.
>    At least I would like to communicate with http/JSON servers
> 2. attaching a gprs/umts modem including http as well
> 3. Establish a common log channel into the IDE and lua code by redirecting print
>
> It took me more then half a year to get to this point. I will not be much faster now. So any help is welcome
>
> Heinz
>
> Am 21.11.2011 08:53, schrieb Bogdan Marinescu:
>> Hi,
>>
>> On Mon, Nov 21, 2011 at 12:48 AM, heinz <[hidden email] <mailto:[hidden email]>> wrote:
>>
>>    Hi eLua folk,
>>
>>    I set up a small project for programming devices via the internet
>>    just using a browser.
>>    I had the idea for a long time. But eLua made it possible.
>>
>>    Thank you guys!
>>
>>    I didn't even had to modify anything in eLua - although I did
>>    first, not realising that there is an 'autoexec.bat' ;-).
>>
>>    Take a look at:
>>    https://github.com/kheinz57/eLuaWebDevice
>>    or watch the screencasts I have just uploaded to youtube:
>>
>>    http://www.youtube.com/watch?v=_jLPY-GeYa0
>>
>>    Comments are welcome of course
>>
>>
>> Very nice idea. I considered a web based development environment for eLua, but I didn't follow that direction. Glad to see someone did. Please let us know if we can help you with anything.
>>
>> Best,
>> Bogdan
>>
>>
>>
>>    Heinz
>>
>>    _______________________________________________
>>    eLua-dev mailing list
>>    [hidden email] <mailto:[hidden email]>
>>    https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>>
>>
>>
>> _______________________________________________
>> eLua-dev mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: eLuaWebDevice Project

On Mon, Nov 21, 2011 at 3:19 PM, Ned Konz <[hidden email]> wrote:
> You might consider an alternative IP stack:
>
> I've just been working with the FNET IP stack, which is currently only available for Freescale devices but is open source:
>
> http://fnet.sf.net
>
> It's very clean code, and includes an HTTP server, DHCP client, telnet server (and client), and much more.

Very interesting.  This one hadn't popped up on my radar.  One
potential issue is that it is GPL v3 / LGPL v3 and we're currently MIT
licensed with most included code using some sort of permissive
license.

>
> It looks as if it wouldn't be too hard to bend this to use with eLua (or with other ethernet peripherals).
>
> It needs only a callback from timer interrupts and from Ethernet received frames.

Nice.  I wonder how it might compare to some of the other alternatives
that have been around for a bit like lwIP?

Thanks for the heads-up.

-jsnyder

>
> On Nov 21, 2011, at 12:46 PM, heinz wrote:
>
>> Hi,
>>
>> These things should be done (orderd by priority, the first would be the most importend - at least for me)
>> 1. Making TCP/IP fully working to be able to have http get and post work.
>>    This is important for the server (getting ride of the lua server) as well as for the application.
>>    At least I would like to communicate with http/JSON servers
>> 2. attaching a gprs/umts modem including http as well
>> 3. Establish a common log channel into the IDE and lua code by redirecting print
>>
>> It took me more then half a year to get to this point. I will not be much faster now. So any help is welcome
>>
>> Heinz
>>
>> Am 21.11.2011 08:53, schrieb Bogdan Marinescu:
>>> Hi,
>>>
>>> On Mon, Nov 21, 2011 at 12:48 AM, heinz <[hidden email] <mailto:[hidden email]>> wrote:
>>>
>>>    Hi eLua folk,
>>>
>>>    I set up a small project for programming devices via the internet
>>>    just using a browser.
>>>    I had the idea for a long time. But eLua made it possible.
>>>
>>>    Thank you guys!
>>>
>>>    I didn't even had to modify anything in eLua - although I did
>>>    first, not realising that there is an 'autoexec.bat' ;-).
>>>
>>>    Take a look at:
>>>    https://github.com/kheinz57/eLuaWebDevice
>>>    or watch the screencasts I have just uploaded to youtube:
>>>
>>>    http://www.youtube.com/watch?v=_jLPY-GeYa0
>>>
>>>    Comments are welcome of course
>>>
>>>
>>> Very nice idea. I considered a web based development environment for eLua, but I didn't follow that direction. Glad to see someone did. Please let us know if we can help you with anything.
>>>
>>> Best,
>>> Bogdan
>>>
>>>
>>>
>>>    Heinz
>>>
>>>    _______________________________________________
>>>    eLua-dev mailing list
>>>    [hidden email] <mailto:[hidden email]>
>>>    https://lists.berlios.de/mailman/listinfo/elua-dev
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> eLua-dev mailing list
>>> [hidden email]
>>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
>> _______________________________________________
>> eLua-dev mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev