PINE64
PinePhoneCore - .NET5 Library for the PinePhone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: PinePhoneCore - .NET5 Library for the PinePhone (/showthread.php?tid=12995)



PinePhoneCore - .NET5 Library for the PinePhone - Trbl - 02-04-2021

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 Smile