4 Commits

Author SHA1 Message Date
Civlo85 13fbd1ba78 Merge pull request #5 from ThinkTransit/master
Update gsmHat.py
Some Waveshare devices return more than 21 data items for GPS data
2024-05-27 07:21:23 +02:00
Civlo85 d4d2878e5e Update README.md 2024-04-04 23:49:04 +02:00
Patrick Joy 1c63208d2b Update gsmHat.py
Some Waveshare devices return more than 21 data items for GPS data
2021-04-17 15:48:04 +10:00
Civlo85 f8e4bf75f2 Update README.md
Update of the pip command
2020-10-22 11:50:09 +02:00
2 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -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
+1 -1
View File
@@ -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