libartnet Migrate in lwip stack use in stm32f4

190 views
Skip to first unread message

Parth Sanepara

unread,
Jun 23, 2022, 7:52:19 AM6/23/22
to open-lighting
Hello,

I am not sure libartnet is compatable with lwip stack but right now I am implement libartnet in lwip stack. all files compiles successfully but network.c file is most of related to linux/win networking socket apis. so I need help in those migration in lwip stack.

Thanks 

Peter Newman

unread,
Jun 23, 2022, 7:55:50 AM6/23/22
to open-lighting
You might like to just look at https://github.com/OpenLightingProject/rp2040-dmxsun which uses lwIP and supports Art-Net.

Although it doesn't look like it supports all of the Art-Net functionality...

Parth Sanepara

unread,
Jun 28, 2022, 7:59:31 AM6/28/22
to open-lighting
Hello,

Yes, most probably the same as this. I am developing like Artnet Node. which can receive data from DMX-workshop to my device connected to dmx application. 
device based on stm32f4 +RTOS + Lwip (Ethernet TCP/IP stack). if you have any suggestions for that it might be helpful.
I tested with the rp2040-dmxsun Artnet file in my project. I am importing in stm32 Project top of lwip stack. I got the Artnet poll and Arnetpoll-reply. device found in DMX-Workshop. but I'm not able to properly get dmxout data. I tested with DMX-Workshop. when I connect and test with software. in software preset Chanel value update only once in a device after I change the value in of Chanel it's not reflected in a device.
if you have Artnet library with lwip or any other references code/Documents and suggestions please provide them, it could be most helpful for me. 

Thanks
Parth


Jannis Achstetter

unread,
Jun 30, 2022, 5:48:32 PM6/30/22
to open-l...@googlegroups.com
Hi, chiming in a bit late on this one ;)

Indeed, rp2040-dmxsun implements ArtNet but it's a custom
implementation, not really to be used as a library.

Are you using NO_SYS=1 for lwIP (meant for microcontrollers without an
OS, so you don't rely on any Linux/Unix socket behaviors) or do you have
the NO_SYS=0 where it is assumed that you have an OS that takes care of
many parts?

In the NO_SYS=1-case, make sure you regularly call the lwIP-functions it
needs to to it's job.

Jannis

Am 28.06.22 um 13:03 schrieb Parth Sanepara:
> --
> The Open Lighting Project: open-l...@googlegroups.com, #openlighting
> (irc.freenode.org)
> To unsubscribe from this group, send email to
> open-lightin...@googlegroups.com
> For more options, visit https://groups.google.com/groups/opt_out?hl=en
> <https://groups.google.com/groups/opt_out?hl=en>
> ---
> You received this message because you are subscribed to the Google
> Groups "open-lighting" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to open-lightin...@googlegroups.com
> <mailto:open-lightin...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/open-lighting/de05d451-b307-460e-a5ad-7e437388163dn%40googlegroups.com
> <https://groups.google.com/d/msgid/open-lighting/de05d451-b307-460e-a5ad-7e437388163dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages