Library for interfacing to Narrowband Non-Terrestrial Network modems using AT commands.
Project description
NB-NTN Modem Interface
A generic model for interfacing to a NB-IoT modem compatible with 3GPP R17 Non-Terrestrial Network.
Provides a generic class NbntnModem that abstracts specific AT commands to
common functional operations used for communicating using NB-IoT over satellite.
The class is intended to be subclassed and extended for specific modem variants
from various manufacturers.
Modem Subclassing
Since modem implementations differ across make/model, this library is intended
to be used to create NbntnModem subclasses with specific AT commands and
responses.
Initialization Sequence
The ntninit submodule describes the format and an example template for the
AT command sequence required by a particular modem variant.
The ntn_init list of dictionaries may be customized and included at the top of
a specific modem subclass.
MODEM_SUBCLASS
To allow for automatic selection between different subclassed modems, use the
MODEM_SUBCLASS declaration at the bottom of your subclass template.
Common Workflow
connect()using either.envvariables, default or programmatic values forSERIAL_PORT/portandSERIAL_BAUDRATE/baudrate.initialize_ntn()to run the modem-specific configuration sequence- Run a loop that continually runs
check_urc(), queues and then processes eachget_urc_type()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynbntnmodem-0.2.2.tar.gz.
File metadata
- Download URL: pynbntnmodem-0.2.2.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-126-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d40963b3cfabd5de0cd684b2e6b6c4dd36822c101d5ce7c96b99fa88b6fdc5
|
|
| MD5 |
9225bd3083e2c8cd7a3afa75534a6993
|
|
| BLAKE2b-256 |
a20ea9a956e97cadd286792974960d3a05c5e21b995a53a6d17c088bc35243d5
|
File details
Details for the file pynbntnmodem-0.2.2-py3-none-any.whl.
File metadata
- Download URL: pynbntnmodem-0.2.2-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-126-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8edddf6cfc53209bda62259e72596206ebe71a5f6ca37c24aa5f1cb1db20065f
|
|
| MD5 |
68c6e71ae576d8761a05f3a193066728
|
|
| BLAKE2b-256 |
438ea28913a119f58509a9fe6174af73817a03dd65f56553aa9f9fae4df15474
|