Python Stanag 4586 VSM implementation
Project description
About
Minimal implementation of a STANAG 4586 Vehicle Specific Module (VSM) which uses a lower level library python-stanag-4586-EDA-v1 to exchange STANAG messages with a remote CUCS.
This library uses asyncio to create two UDP mulicast sockets, one for sending and other for receiving STANG 4586 messages.
Basic operations such as answering to discover broadcast messages from CUCS, granting control and monitor requests or responding with appropriate levels of interoperability statuses is taken care of by this library.
This is one of the libraries which supports the larger project of Surveillance Simulator.
Usage example
import asyncio
import logging
from stanag4586vsm.stanag_server import *
FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
logging.basicConfig(format=FORMAT)
logger = logging.getLogger("main")
logger.setLevel(logging.DEBUG)
async def main():
loop = asyncio.get_running_loop()
server = StanagServer(logging.DEBUG)
logger.debug("Creating server")
await server.setup_service(loop)
logger.info("Listening, press Ctrl+C to terminate")
await asyncio.sleep(3600*100)
logger.info("Server exiting")
asyncio.run(main())
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
File details
Details for the file stanag4586vsm-0.0.1.tar.gz.
File metadata
- Download URL: stanag4586vsm-0.0.1.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ede0f53ee34dc11017b48687cbc11be417970ba3c342545268f8f3dabc2e1d5
|
|
| MD5 |
b913bdba3940ee50e2168d922f63d080
|
|
| BLAKE2b-256 |
ebd7a166b281e111573919292af585424926e5377bae60cd3bb116ac810f31db
|