Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Cellular modem callback with confirmation of data collection?


burright May 26, 2017 01:01 AM

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


nsw May 26, 2017 03:39 PM

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.

Log in or register to post/reply in the forum.