@mfalkvidd This question is rised because of this message:
"I_GATEWAY_READY - Send by gateway to controller when startup is complete."
It generated only after startup is completed, so, who is a target of such message? Gateway do not know, is anybody listening the connection or not, controller also do not know about gateway - is it listening, restarted or do something else. It looks like useles, except the controller know's, what after he opened the connection to gateway, gateway must do reset and emmit this "I Ready" message. This is possible by RTS or DTR lines of Serial connection on some Arduino boards and some Serials on board, but not any. So, the question about this message (I_READY) - is developer of MySensor had such behavior (autoreset of Arduino board after Serial connection made and using the RTS/DTR lines) in mind, or not?
MaximumSU
@MaximumSU
Best posts made by MaximumSU
-
RE: When Serial connection is made should the Serial gateway do reset itself?
Latest posts made by MaximumSU
-
RE: When Serial connection is made should the Serial gateway do reset itself?
Ok. So, answer will be "for some cases he can, but not must". Thanks for participations.
-
RE: When Serial connection is made should the Serial gateway do reset itself?
@mfalkvidd This question is rised because of this message:
"I_GATEWAY_READY - Send by gateway to controller when startup is complete."
It generated only after startup is completed, so, who is a target of such message? Gateway do not know, is anybody listening the connection or not, controller also do not know about gateway - is it listening, restarted or do something else. It looks like useles, except the controller know's, what after he opened the connection to gateway, gateway must do reset and emmit this "I Ready" message. This is possible by RTS or DTR lines of Serial connection on some Arduino boards and some Serials on board, but not any. So, the question about this message (I_READY) - is developer of MySensor had such behavior (autoreset of Arduino board after Serial connection made and using the RTS/DTR lines) in mind, or not? -
When Serial connection is made should the Serial gateway do reset itself?
This is the question to developers of MySensors: when Serial connection is made should the Serial gateway do reset itself always in any case? We have the discussion about in this thread. One part is sure, it must, i'm not thinking the same. Who is right? The docs say nothing about this.
Thanks.