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
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
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
NarrowBand-0.2.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for NarrowBand-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a37ad2a4f562fdce36c70cfbe65ee08f05e38b88987d54c8f3de58521130981b |
|
MD5 | 5fc5a71bcd7c3e4574ce6fe987f0e8fa |
|
BLAKE2b-256 | eee049e59a5f70c35ae0a12709f5956e7367623c304a3c5203441c47f4490b44 |