Comments (1)
Hi,
Sorry that we haven't run CoAP.NET on .NET CF yet. I think these following points might be the reasons that make your app stop working:
- Use of System.Timers.Timer, which is said not being supported in .NET CF.
- Dependency on Remoting. An internal HTTP server of CoAP.NET is built on .NET Remoting, which is neither supported. See http://msdn.microsoft.com/en-us/library/2weec7k5%28v=vs.90%29.aspx.
- The required Common.Logging library is not built for .NET CF.
As for a solution, you may try these steps:
- Replace System.Timers.Timer with System.Windows.Forms.Timer (suggested in MSDN)
- Remove the dependency on System.Runtime.Remoting, implement a new CoAP.HTTP.WebServer, or just remove the whole CoAP.Proxy and CoAP.HTTP namespace, . It won't affect the functionality of CoAP protocol.
- Rebuild Common.Logging, targeting .NET CF, or remove it.
However, I'm not quite sure it will work or not. You may try the CoAPSharp (http://www.coapsharp.com/) lib for alternative.
from coap.net.
Related Issues (20)
- CoAP.NET.Core memory leak
- response with request HOT 1
- Unable to send acknowledgement from CoAP server to CoAP client HOT 1
- Question on Root Resource
- Reject an exchange doesn't generate a RST paquet
- Identity and Key
- Setting MaxRetransmit in config has no effect HOT 1
- Multicast not working on the specified interface/IP
- Discover not Multicast Ready HOT 3
- CoapServer Crashes after some works
- Can we have source code of nuget CoAP.NET.Core HOT 2
- Unity Integration HOT 1
- Is Multicast implemented for server ?
- Docker Linux Container Support
- CoAP server download progress
- Disable well-known HOT 4
- hello,Just getting started with C#, I want to ask
- Mark and Sweep question
- CoAP.NET available documentation
- How to save CoAP server observable state in central memory for multiple server instances
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coap.net.