Hi

I would like to know a bit more of the state-machines RTnet has been built. Going through the codes, I am not sure whether what i have realised it correctly or not, but please do direct me as i go along. btw this is TDMA v1 i am referring to (to start with).

for the master

what is it that the SOF (start-of-frame) is built up of?, and is suppose to do. To my understanding of Master/slave real-time networking, it is for the global synchronisation event of a new cycle (round). Another purpose is for some sort of current configuration acknowledgement, though this part should have been noted in stage 2 configuration does it have any more other purposes ?

In tdma_task_master function of tdma_task.c file, it shows, after sending the SOF packet it performs a sem_broadcast, what is this intended for ? the kind of RT task required to be unblocked ? followed by dequeue client skb. what kind of packet are their to dequeue ?

for client..

upon on calling of the function
ioctl_rt(tdma, RTMAC_RTIOC_WAITONCYCLE, ..), does this wait till the next fresh cycle before it releases the lock or the closest available cycle?
what is the meaning of heartbeat? for synchronisation purposes?


in the tdma_task_client function of tdma_task.c file, the loop performs a
rtos_event_wait, which blocks until some process release the lock. How does this process relate to the sending of heart beat and ioctl_rt for RTMAC_RTIOC_WAITONCYCLE ? I am assuming it also calculates the next tdma->wakeup time so it may wait till its time to transmit packet across the network after unblock.


Sorry about all these stupid questions, but I am just rather curious how RTnet manages its protocols

Thanks
Bret


------------------------------------------------------- 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