Hey All,
I am using a CR1000 with a Raven 4G cellular gateway on batteries with solar offshore. Obviously conserving power is of the utmost importance.
In the past we have just turned on the modem on top of the hour, then Loggernet did the collection a couple of minutes past the hour then we shut down the modem at 10 minutes past the hour.
I want to power on the modem, then do a callback to start data collection via Loggernet, then once I have confirmation (at CR1000) I want to turn the modem off. Is there a way to get confirmation at the logger via a call of some sort so I know the data collection has been successful so I can turn off the modem?
Thank you,
Richard
Richard
Have a look at the instruction "ComPortIsActive" in CRBasic. It returns True or False. This should give you what you need. With this you can then decide whether to close down the modem.