MPortLink is designed to track connected USB modems and create permanent symbolic links to ports
This repository has been archived on 2024-06-12. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Alexander Zhirov 36a71e51b9 init mportlink 2023-12-21 00:18:00 +03:00
.vscode init mportlink 2023-12-21 00:18:00 +03:00
services init mportlink 2023-12-21 00:18:00 +03:00
src init mportlink 2023-12-21 00:18:00 +03:00
.gitignore init mportlink 2023-12-21 00:18:00 +03:00
CHANGELOG.md init mportlink 2023-12-21 00:18:00 +03:00
CMakeLists.txt init mportlink 2023-12-21 00:18:00 +03:00
LICENSE init mportlink 2023-12-21 00:18:00 +03:00
README.md init mportlink 2023-12-21 00:18:00 +03:00
build.sh init mportlink 2023-12-21 00:18:00 +03:00

README.md

MPortLink

MPortLink (modem port link) is designed to track connected USB modems and create permanent symbolic links to ports.

MPortLink was developed for direct use of several USB modems when connected to Asterisk telephony, the ports of which were randomly determined by the operating system. The utility allows you to create permanent symbolic links to devices, regardless of the order in which the ports of the USB modem device were defined.

Based on ModemManager.

Dependency

The installed modemmanager is required for use.

Build

libmm-glib library is required for the build. It is called differently in different distributions, for example: libmm-glib-dev or libmm-glib-devel.

After installing the dependencies, you just need to run the script build.sh and mportlink will be built in the build project directory.

Manually

gcc -Werror -Wall -Os src/*.c `pkg-config --libs --cflags mm-glib` -o mportlink