mirror of
https://github.com/Civlo85/gsmHat.git
synced 2026-07-16 08:26:57 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13fbd1ba78 | |||
| d4d2878e5e | |||
| 1c63208d2b | |||
| f8e4bf75f2 | |||
| 94558e35fc |
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
with open('README.md') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'gsmHat',
|
name = 'gsmHat',
|
||||||
packages = ['gsmHat'],
|
packages = ['gsmHat'],
|
||||||
version = '0.4',
|
version = '0.4.2',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
description = 'Using the Waveshare GSM/GPRS/GNSS Hat for Raspberry Pi with Python',
|
description = 'Using the Waveshare GSM/GPRS/GNSS Hat for Raspberry Pi with Python',
|
||||||
|
long_description = long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author = 'Tarek Tounsi',
|
author = 'Tarek Tounsi',
|
||||||
author_email = 'software@tounsi.de',
|
author_email = 'software@tounsi.de',
|
||||||
url = 'https://github.com/Civlo85/gsmHat',
|
url = 'https://github.com/Civlo85/gsmHat',
|
||||||
|
|||||||
Reference in New Issue
Block a user