lib_xtcp change broadcast address ?

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Post Reply
damarco
Member
Posts: 10
Joined: Fri Feb 13, 2015 9:53 pm

lib_xtcp change broadcast address ?

Post by damarco »

Hello,

For a project with Artnet, the broadcast address must be changed. The XTCP responds correctly to 255.255.255.255 broadcast. For Artnet, however, additional addresses are required. Normally, the broadcast is formed by or from the netmask. This does not work with the XTCP this speaks only to the general broadcast 255.255.255.255 and not to 2.255.255.255.


The Artnet Node works for the first time but only with a Poll on 255.255.255.255 and not 2.255.255.255 or 10.255.255.255.

How to set or add broadcast addresses in XTCP ?


User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

I don't think broadcasts and multicasts get a special treatment by xTCP before being passed to uIP, the underlying TCP/IP stack.

You might be able to change the broadcast IP (or MAC) address in uIP, although there is a good chance it will be hardcoded in a couple of places in uIP as well.
Post Reply