Time-services Daemon to sync time from Modem to APPS and maintain time across reboots (even if the modem is not network camped).
Follow the instructions from the repository to compile and install qmi-framework:
https://github.com/quic/qmi-framework/cd time-servicesautoreconf --install
./configure --with_qmi_prefix <absolute path to qmi-framework>
make
make installBy default, ./configure command will configure the project to install compiled libraries and
binaires in system's /usr/bin directory.
To install libraries and binaries in custom directory, you can specify the directory by passing
--prefix flag.
For example: ./configure --with-qmif-prefix=<absolute path to qmi-framework> --prefix=$(pwd)/install
Alternatively, you can also run the below script, passing the required compiler as an argument:
./build_script.sh --with_qmi_prefix <absolute path to qmi-framework>For, ARM based targets:
./build_script.sh --host aarch64-linux-gnu --with_qmi_prefix <absolute path to qmi-framework>By default, it will compile for X86 target.
Time-services is licensed under the BSD 3-clause "New" or "Revised" License.