Hello!
I'm sure this is easy when you know how, but i can't figure it out so...
Everything works fine for a few hours. Then the connection is lost.
If I do something externally (like trigger a pin with a button) OR force communication with the 'X' i get comms again.
Polling is like this:
What am I doing wrong? Do i need to periodically send data from the Z-Uno with the sketch or can this be handled in some better way?
Best regards,
Eric
Z-Uno and HC2 loses communication
Re: Z-Uno and HC2 loses communication
Is your Z-Uno sleeping? It is better to use unsolicited reports from the device rather than poll it
Re: Z-Uno and HC2 loses communication
I haven't changed any settings regarding sleep so default should be never sleeping.
Unsolicited reports; how do I do that? Where can I read about it?
Thanks
Edit: I noticed I shouldn't have multi command enabled with HC2, but I do. Would this give that symptom though?
Unsolicited reports; how do I do that? Where can I read about it?
Thanks
Edit: I noticed I shouldn't have multi command enabled with HC2, but I do. Would this give that symptom though?
Re: Z-Uno and HC2 loses communication
I would suggest to first remove all features like Security and MultiCmd (in the IDE Tools menu) and check if the problem persists.
Read about zunoSendReport for unsolicited reports
Read about zunoSendReport for unsolicited reports