Package: pynimomodem
pynimomodemA Python implementation of theViasatNIMO modem interface for satellite IoT.NIMO stands forNon-IP Modem Orbcommwaveform
and represents a family of low cost satellite data modems that use network
protocols developed byORBCOMMincludingIsatData Proand its successor, OGx.These ORBCOMM protocols can operate over the Viasat L-band global network in
cooperation with a varietry of authorized Viasat IoT service partners, and
are intended for event-based remote data collection and device control.Example NIMO modems available:ORBCOMM ST2100Quectel CC200A-LBuBlox UBX-S52Additional InformationAPI Documentation[!NOTE]
Obsoletes/replaces the Inmarsatidpmodemproject, when combined with thepynimcodeclibrary.InstallationExample using pip, on a Linux-based platform includingPySerialdependency:pip install 'pynimomodem'BackgroundOverviewIsatData Pro(IDP)is a store-and-forward satellite messaging technology
with flexible message sizes:up to 6400 bytes Mobile-Originated (akaMO, From-Terminal,Return)up to 10000 bytes Mobile-Terminated (akaMT, To-Terminal,Forward)Messages are sent to or collected from aMobileusing its globally
uniqueMobile ID,
transacted through aMailboxthat provides authentication, encryption and
data segregation for cloud-based or enterprise client applications via a
RESTMessaging API.Data sources and controls in the field are interfaced to a modem using a serial
interface withAT commandsto send and receive messages, check network status,
and optionally use the built-inGlobal Navigation Satellite System(GNSS)
receiver to determine location-based information.The first byte of the message is referred to as theService Identification Number(SIN) where values below 16 are reserved
for system use.  SIN is intended to capture the concept of embedded
microservices used by an application.The second byte of the message can optionally be defined as theMessage Identifier Number(MIN) intended to support remote operations
within each embedded microservice with defined binary formatting.
The MIN concept also supports the optionalMessage Definition Filefeature
allowing an XML file to be applied which presents a JSON-tagged message
structure on the network API.Modem Concept of OperationUpon power-up or reset, the modem first acquires its location using
Global Navigation Satellite Systems (GNSS).After getting its location, the modem tunes to the correct frequency, then
registers on the network.  Once registered it can communicate on the
network.MO messages are submitted by a microcontroller or IoT Edge device, which
then must monitor progress until the message is complete (either delivered or
timed out/failed due to blockage). Completed messages must be cleared from the
modem transmit queue by querying state(s) either periodically or when prompted
by the modem's event notification pin if configured.MT messages that arrive are stored in the receive queue and the Edge device
queries forNewMT messages periodically or when prompted by the modem's
event notification pin if configured.Network acquisition status can also be queried using AT commands.If the modem cannot find the target frequency it begins to search for other
frequencies from a configuration map in its non-volatile memory. It will cycle
through beam acquisition attempts for a period of time before falling back to
a globally-accessibleBulletin Boardfrequency where it may need to download
a new network configuration before re-attempting. Bulletin board downloads
typically take less than 15 minutes but can take longer in low signal or high
interference locations. A modem should not be powered off during Bulletin
Board download.Prolonged obstruction of satellite signal will put the modem intoblockagestate from which it will automatically try to recover based on an algorithm
influenced by itspower modesetting.