Python package to control the Waveshare GSM/GPRS/GNSS Pi HAT
Project description
ws_sim868
Interface module for the Waveshare GSM/GPRS/GNSS Pi Hat
Features
- HTTP GET and POST requests
- Automatically start Modem if turned off
Overview
Examples:
HTTP Get Request
from ws_sim868.modemUnit import ModemUnit
import time
if __name__ == "__main__":
m = ModemUnit()
m.apn_config('super', '', '')
m.network_start()
res = m.http_get("http://example.com")
print(res)
while True:
time.sleep(0.5)
Planned Enhancements
- Receive GNSS Location
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ws_sim868-0.0.1b3.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for ws_sim868-0.0.1b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2fa8bd3fc3ff9d24dea47d751d21d1720ae9029079e74954e67c0f3bb66556 |
|
MD5 | 7d306e40caed11a5063c2216e091b08d |
|
BLAKE2b-256 | eae82cd0fe687dfb9cb4d3f5c9002f70fea24aa478f2febfaba63da5bd1fcfc0 |