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().


 

236
Online

8.3k
Users

9.2k
Topics

97.3k
Posts