Please sign in to comment.
Significant changes based on live testing of the code on the Telit GM…
…862-GPS module: 1. The module does not support floating point and so the gpt2.get() function has been modified to only use integer arithmetic and thus not do conversion of latitude and longitude. This leaves most of the returned elements as strings. Except altitude which is needed for comparisons. 2. The main loop is wrapped in the try/except that will hide any inflight errors (although they will be logged to the log file). I hope this will never be called. 3. The timeout on SMS message sending has been increased from the default to 30 seconds because it can take a while to send the message and this was corrupting the return from the temperature command. 4. Improved handling of timestamps to make it clearer in the SMS messages when a message occurred. 5. Modified the upload script to delete the .pyo files for uploaded .py files so that the module will recompile and not use the previous version.
- Loading branch information...
Showing with 95 additions and 52 deletions.