Comments (1)
Hi,
Can you provide your code snippet?
I guess your are using CoapClient
class, note that it is just a helper adapter over CoapServer
class.
What you can do on client side is to first to initialise CoapServer
class. Then, if needed, create CoapClient object from it:
CoapClient client = CoapClientBuilder.clientFor(serverAddress, cnn);
For example: https://github.com/ARMmbed/java-coap/blob/master/coap-core/src/test/java/protocolTests/ClientServerTest.java#L254
from java-coap.
Related Issues (20)
- Adding the library HOT 1
- Example Server HOT 2
- [Potential] Security Vulnerabilities within java-coap HOT 12
- Multicast server example HOT 2
- Support for websockets HOT 1
- Difference with californium project ? HOT 2
- Support for broadcast HOT 2
- Bound to other IP-Addresses HOT 1
- Message ID can crash the io loop. HOT 4
- Timeout trying to connect to arm mbed remote server HOT 38
- Jar on jitpack.io appears to be missing classes HOT 1
- Service hangs? HOT 1
- Socket Closed when stop() HOT 3
- No feature about coapclient to cancel observation about a coapresource
- Could java-coap using SSL with my own CA certificate? HOT 7
- Is this project active ? HOT 9
- Notifying LWM2M server periodically with data from client HOT 12
- Blockwise transfer
- How is the end point name generated? HOT 20
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 java-coap.