Mark paul
08-10-2009, 04:22 AM
our client have a Street Lights Project,we use SNAP on it,every node has a distance of 10m ,currently we have 43 point per network,and we use the follow protocol:
the master send a broadcast packet with a light number,The light with the corresponding number will respond,and we use a polling mechanism to avoid collision,and retransmit if the light didn't respond in certain(3 seconds) times.
and we receive un-sequence data like "123456ABCDEF78",so our main controller broadcast again and again,once the lights controller receive command,it will turn on and turn off in 500ms,and we saw the light flash(which means receive packet again and again).
so we thought the broadcast way didn't work well,and we try to store the MAC address in our main controller,by the way of sending a broadcast packet ,and wait the lights respond,we store the light number and corresponding MAC address,but in the process of this operation,it's work well about 10 node ,but suddenly none of them respond,we can only power down all the street lights.and it work again.
The project is going on,our client is a little weary,and we don't have too many chance to test,but i like to record every situation here,and the action we take,and the result,and upload the finally scrip
the master send a broadcast packet with a light number,The light with the corresponding number will respond,and we use a polling mechanism to avoid collision,and retransmit if the light didn't respond in certain(3 seconds) times.
and we receive un-sequence data like "123456ABCDEF78",so our main controller broadcast again and again,once the lights controller receive command,it will turn on and turn off in 500ms,and we saw the light flash(which means receive packet again and again).
so we thought the broadcast way didn't work well,and we try to store the MAC address in our main controller,by the way of sending a broadcast packet ,and wait the lights respond,we store the light number and corresponding MAC address,but in the process of this operation,it's work well about 10 node ,but suddenly none of them respond,we can only power down all the street lights.and it work again.
The project is going on,our client is a little weary,and we don't have too many chance to test,but i like to record every situation here,and the action we take,and the result,and upload the finally scrip