Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding version for .NET nanoFramework #118

Open
josesimoes opened this issue Dec 11, 2024 · 2 comments
Open

Adding version for .NET nanoFramework #118

josesimoes opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@josesimoes
Copy link

Hey!

I'm with the Core Team of .NET nanoFramework.
.NET nanoFramework allows writing C# for resource constrained micro controllers.

We've recently had a request to add support for Sparkplug .
There is already a library for MQTT and we've recently added one for protobuf.

I was wondering if you would consider having a version compatible with .NET nanoFramework, or if we should follow our own path with our own Sparkplug library.
Happy to discuss details! 😃

@SeppPenner SeppPenner self-assigned this Dec 26, 2024
@SeppPenner SeppPenner added the enhancement New feature or request label Dec 26, 2024
@SeppPenner
Copy link
Owner

Hi, I'm honestly not sure what needs to be done to support .Net nano framework but I would be willing to help (If you can guide me or give me hints). The library is not yet working completely as you can see in the issues, however and I wasn't able to do much here in the last months...

@josesimoes
Copy link
Author

Hi @SeppPenner thanks for getting back on this!

Being .NET it means that most (if not all) code can (will?) be used. Apart from generics, which we don't have support for (yet).
The usual approach on similar situations is a mix of using shared projects, linked files and sprinkling compiler defs.
As we can't reference the full .NET nugets we have our own versions and a slightly different project system, so this requires specific projects to be added to an existing SLN file or, in case it's more convenient, a specific solution for the nanoFramework version.
(reading the above may sound a bit more complicated than what actually is 😉)

You can take a look at a similar use case: the AMQP.Net Lite library which is available for various .NET flavors, including nanoFramework.

Of course, I am more than willing to provide all the help you need and split work with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants