mirror of
https://github.com/Civlo85/gsmHat.git
synced 2026-07-16 08:26:57 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13fbd1ba78 | |||
| d4d2878e5e | |||
| 1c63208d2b | |||
| f8e4bf75f2 |
@@ -1,3 +1,6 @@
|
||||
# Update on Thu Apr 4th, 2024
|
||||
Unfortunately, there is no time (and equipment anymore) to maintain this repository. I hope that someone else will find the time to continue with that.
|
||||
|
||||
# gsmHat - Waveshare GSM/GPRS/GNSS HAT for Raspberry Pi with Python
|
||||
|
||||
With gsmHat, you can easily use the functionality of the Waveshare GSM/GPRS/GNSS HAT for Raspberry Pi ([Link to HAT](https://www.waveshare.com/gsm-gprs-gnss-hat.htm)). On this module a SIM868 Controller is doing the job to connect your Raspberry Pi with the world just by using a sim card.
|
||||
@@ -21,7 +24,7 @@ In the following paragraphs, I am going to describe how you can get and use gsmH
|
||||
|
||||
To download gsmHat, either fork this github repo or simply use Pypi via pip.
|
||||
```sh
|
||||
$ pip3 install gsmHat
|
||||
$ python3 -m pip install -U gsmHat
|
||||
```
|
||||
|
||||
### Prepare
|
||||
@@ -205,4 +208,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
contact me: <software@tounsi.de>
|
||||
contact me: <software@tounsi.de>
|
||||
|
||||
+2
-2
@@ -344,7 +344,7 @@ class GSMHat:
|
||||
self.__logger.debug('New GPS Data:')
|
||||
match = re.findall(self.regexGetAllValues, self.__serData)
|
||||
rawData = match[0][1].split(',')
|
||||
if len(rawData) == 21:
|
||||
if len(rawData) >= 21:
|
||||
newGPS = GPS()
|
||||
goodPosition = True
|
||||
|
||||
@@ -773,4 +773,4 @@ class GSMHat:
|
||||
|
||||
# Let other Threads also do their job
|
||||
time.sleep(0.1)
|
||||
self.__logger.info('Worker ended')
|
||||
self.__logger.info('Worker ended')
|
||||
|
||||
Reference in New Issue
Block a user