The Light Sensor can't be discoverd



  • I put a LightSensor and a SerialGateway in my sensor network,when i send Discover request (255;255;3;0;20;0) the SerialGateway don't send the response.but when i put a DimmableLight and the Same SerialGateway in my sensor network,i send the Discover request ,the response is 99;255;3;0;21;0.So,Why the Light Sensor can't be discoverd?


  • Mod

    @Magic-W the light sensor sleeps most of the time, so it is not likely to see incoming messages. Try replacing sleep() with wait().


 

268
Online

7.8k
Users

8.7k
Topics

93.0k
Posts