02-04-2021, 12:37 PM
I've spent a couple of days building a library for the pinephone.
Its early in development, some things are still a bit wonky but all in all it works and I've written two services that run on my pinephone.
There's a nuget package available, however its not up to date, I recommend cloning the repo and adding a Project Reference if you want to use it.
The only things missing is the Vibrator and the Modem. All other Sensors are wrapped.
If you don't use the WiFi classes, there's zero dependencies, all of it works using the kernel filesystem and input events - if you do use the WiFi classes, there's multiple implementations for most methods, NMCLI, IFCONIG, IWCONFIG,... more about that in the Readme on the repo.
Getting .net5 setup on the pp is easy, the repo contains a wiki with a install instructions
https://github.com/Alumniminium/PinePhoneCore
I'm trying to attract other .net/C# developers to contribute / work together, feel free to reply here, message me privately or talk to me on Matrix
Its early in development, some things are still a bit wonky but all in all it works and I've written two services that run on my pinephone.
There's a nuget package available, however its not up to date, I recommend cloning the repo and adding a Project Reference if you want to use it.
The only things missing is the Vibrator and the Modem. All other Sensors are wrapped.
If you don't use the WiFi classes, there's zero dependencies, all of it works using the kernel filesystem and input events - if you do use the WiFi classes, there's multiple implementations for most methods, NMCLI, IFCONIG, IWCONFIG,... more about that in the Readme on the repo.
Getting .net5 setup on the pp is easy, the repo contains a wiki with a install instructions
https://github.com/Alumniminium/PinePhoneCore
I'm trying to attract other .net/C# developers to contribute / work together, feel free to reply here, message me privately or talk to me on Matrix