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.1b1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for ws_sim868-0.0.1b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b68c70a4e18847d5e96f94aaea854fc7900e84ff77cc9349496b937f69e455c |
|
MD5 | 277c8ac69f43376972c6b724255f487d |
|
BLAKE2b-256 | cdd4ce3afbd5fd74421ee228fc0e507f6365af889606c3ae32295e3ddcdaebf0 |