We cannot seem to solve it and get passed this.
The problem we have is when we put the HL7800 to sleep, and then wake it up again, We always have errors or no responses back from the module.
From my developer, here is the process we go through:
At firmware startup, I send a lot of configuration AT commands. But I think the relevant one, is about sleep/hibernate mode:
- AT+CEDRXS=0 and I check for OK
- AT+CPSMS=1 and I check for OK
- AT+CEDRXS=1,4,5 and I check for OK
- AT+KSLEEP=1,2 and I check for OK
After I send some other commands that pertain to the application. After the application is all done , I put the HL7800 to sleep with the WAKE pin. Then I wait for some seconds to simulate a period of nonuse.
After this period of non use, I will then wake the HL7800 with the WAKE pin
After it is awake (I wait for about 5 seconds) I then send an AT command, just to check if the modem is awake, but I got no answer at all..
And that is the problem we are having. Once we put the HL7800 to sleep, it will not respond properly when it wakes up.
note: all the commands are ended with “\n”.
If I comment out the sleep pin functionality, everything seems to work
Any ideas on how to solve this?
Is there a minimum time that the module needs to stay asleep before we can wake it up?
Any other ideas? Thanks.