Closed MattCummings0517 closed 1 year ago
Thanks Peter, I will run testing - may not get to it until next week.
It turns out that it is not possible to use the pigpio with two services simultaneously. So...rather than do it this way (separate services for capture and battery monitor), will revert to one service (capture) and build in a new mode that allows an operator to suspend data acquisition while the tag is being offloaded and/or charged. The operating will instructions will need to change from "stop the ceti-tag-data-capture-service" to "put the tag into data upload/charging mode". A new pipe command will be created for this method. Closing this issue and making a new one for the different approach
I rewrote the battery monitor service to not use pigpio. But this needs testing https://github.com/Project-CETI/whale-tag-embedded/commit/d3d050a25d33b9d4e7f47b8ea7e6c9ef526d9118
Merged fix into main 3/13/23
Because the data-capture service may be stopped by a user during download, the battery monitoring should be made distinct and be run from its own service. We have seen cases where the battery was inadvertently run down because the service was stopped during download.