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


Log in to reply
 

Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts