Metadata-Version: 2.1
Name: ws_sim868
Version: 0.0.1b3
Summary: Python package to control the Waveshare GSM/GPRS/GNSS Pi HAT
Home-page: https://github.com/matthewnaruzny/ws_sim868
Author: Matthew Naruzny
Author-email: matthewnaruzny@gmail.com
Project-URL: Bug Tracker, https://github.com/matthewnaruzny/ws_sim868/issues
Project-URL: Repository, https://github.com/matthewnaruzny/ws_sim868
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# 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

```python
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
