Skip to main content

NarrowBand library

Project description

# NarrowBand Lib for Python 3

This is an easy-to-use library for Narrowband IoT applications.

It communicates via UART with your target device.

It simplifies the setup and use, you don't have to manually send AT commands.

For beginners, use the Narrowband class with it's pre-defined methods.
If you want more freedom, feel free to check out the NarrowbandCore class.


## Requirements:

- Python >= 3
- PySerial >= 3.4

## Example:

If you use a supported board, the lib will auto-detect it:

```python
import narrowband

nb = narrowband.Narrowband()
nb.attach()
while 1:
time.sleep(1)
```

For any other, defined the device and it's values (port, baudrate and timeout):

```
import narrowband

nb = narrowband.Narrowband("COM1", 9600, 1)
nb.attach()
while 1:
time.sleep(1)
```

## Testing

Tested & verified Narrowband chips:

* Quectel BC68
* Quectel BC95-B8


## License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NarrowBand-0.2.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

NarrowBand-0.2.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page