mirror of
https://github.com/Civlo85/gsmHat.git
synced 2026-07-17 08:36: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
|
# 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.
|
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.
|
To download gsmHat, either fork this github repo or simply use Pypi via pip.
|
||||||
```sh
|
```sh
|
||||||
$ pip3 install gsmHat
|
$ python3 -m pip install -U gsmHat
|
||||||
```
|
```
|
||||||
|
|
||||||
### Prepare
|
### Prepare
|
||||||
|
|||||||
+1
-1
@@ -344,7 +344,7 @@ class GSMHat:
|
|||||||
self.__logger.debug('New GPS Data:')
|
self.__logger.debug('New GPS Data:')
|
||||||
match = re.findall(self.regexGetAllValues, self.__serData)
|
match = re.findall(self.regexGetAllValues, self.__serData)
|
||||||
rawData = match[0][1].split(',')
|
rawData = match[0][1].split(',')
|
||||||
if len(rawData) == 21:
|
if len(rawData) >= 21:
|
||||||
newGPS = GPS()
|
newGPS = GPS()
|
||||||
goodPosition = True
|
goodPosition = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user