Bret Yen-Ting Lin wrote:
Hi

TDMA is itself a broadcast protocl, is there any function that allows multiple station applications to receive the packet sent by the transmitting station i.e. transfering the packet to its upper layers?


To clarify: TDMA is not part of the payload transportation process, it just manages when a normal UDP/IP or a raw Ethernet packet can be exchanged - as unicast or broadcast.


How would it be done if i would like to send a packet to all nodes on the RTnet network? My understanding is currently, i would need to wait till the succeeding cycles?


If you want to transmit a packet from one node to all others and there is only a single application listening on the destination protocol/port, you can do it the standard way: create a raw Ethernet packet with broadcast destination address or a UDP/IP packet with a broadcast IP. And current TDMA will allow you to send one of such packets per station per cycle, thus when every station does it, all will receive a packet from eachother in a single cycle.


What you cannot do, due to the real-time optimised design of RTnet, is to listen with several applications on a single destination port or raw Ethernet protocol. RTnet implements a strict buffer budgeting for incoming and outgoing packets. This budgeting works fine by exchanging a full with an empty buffer between the owners, it will become much more complicated (and slower) with multiple receivers of a single data buffer. This is also one reason why multicasting is not yet implemented - it typically also requires a shared reception of messages on the same host.

Jan


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to