It is quite a heavy task to implement an open-source version. There is one in development for the PinePhone though, https://github.com/Biktorgj/pinephone_modem_sdk, but I don’t know how far they have gotten. A lot of the modem code should be reusable since it deals with different protocols.