semvec/pypi-packages huggingface dataset:
idppnpdongle 1.0.4
Module for interfacing with Inmarsat's IDP Plug-N-Play device.
License: Apache-2.0
Requires Python: >=3.7,<4.0
Keywords: satellite,iot,idp,isatdata pro

# Inmarsat IDP Plug-N-Play Dongle

The Plug-N-Play dongle is a small programmable single board computer in a
black box intended to be able to quickly demonstrate and prototype 
Internet-of-Things use cases enabled by satellite messaging connectivity.

The dongle connects directly to an [**ST2100**]()
satellite modem manufactured by
[ORBCOMM](https://www.orbcomm.com/)
and provides access to:

  * Serial communications using **AT commands**
  * Modem **event notification** via discrete output pin to a callback function
  * Modem reset via **modem reset** input pin
  * Microcontroller reset event via **external reset** output pin
  * 1 pulse-per-second (**PPS**) from GNSS timing via discrete output pin

The dongle supports connection to an external customer-supplied microcontroller
using RS-232 via the **developer breakout cable**.

The dongle `mode` can be configured as:

1. `transparent` pass through serial commands to a separate third party 
microcontroller (default hardware configuration)
2. `master` act as the application microcontroller 
*(default when using this Python module)*
3. `proxy` act as a proxy intercepting responses from the modem to a third 
party microcontroller

## Installation

```
pip install idppnpdongle
```

## Example Usage

```
import asyncio

from idppnpdongle import PnpDongle

dongle = PnpDongle()
modem = dongle.modem
response = asyncio.run(modem.command('AT'))
```