I want to put the mc60 to sleep and set an rtc timer alarm so that after the time expires the mc60 will wake up and get the location and after 5 minutes it will go back to sleep and so on. But I’m having trouble writing the sleep section code and also setting the rtc timer alarm. When I enable sleep mode, the module doesn’t stop working completely and I still see the messages sent by the UART. Also, I didn’t find any function or at command to set rtc alarm. There’s only at+qrtcalm that apparently doesn’t work anymore. please guide me. Thanks in advance.
1.The sleep mode of the MC60 is hardware sleep. The serial port does not power off. You can disable the rx pin of the serial port by using the Ql_UART_RX_Disable function
2.about"I didn’t find any function or at command to set rtc alarm",I’m not sure what you mean, but if you want to set an alarm, you can refer to example_alarm.c