Comments (2)
ps. I'm not sure if this was the right way to have feedback on the transport Layer abstraction, but could not find any issue targeting that specifically.
Yep right place, transport layer abstraction is now integrated in master
. so it's totally fine to create an issue to discuss about it.
Is having this kind of option not wanted with the new design? I would guess that while having the OS allocate the port is often the most convenient way, there might be situations where that is not ideal.
This is even more complicate than this :
1. A LWM2M client could connect to several server at same time (not implemented by Leshan yet) and setting only 1 port doesn't make too much sense in this case.
2. Also having dynamic port a little benefit. When create a new connection, you will not get message from server which was for previous "connection" (not sure I'm clear)
So we decide to remove this misleading API about fixing the port.
2. is not a real issue.
For 1., I don't know exactly what could be a right API to handle that if we want to support multi-server + fixed port.
Support of multi server is clearly not the priority so maybe this was not a good idea to have remove it now ?
Our use case would require that the client would always connect using the same IP address and port. Are there any kind of possible workaround for achieving this?
At short term, you should be able to choose the port by creating a custom CoapClientEndpointFactory
.
from leshan.
Related Issues (20)
- Did leshan bootstrap server support BLOCKWISE in CoAP HOT 1
- Try to get OpenSFF Badge HOT 1
- How are Observations stored on client side? HOT 27
- ObserveCompositeTimeStampTest failed when running with java 17+ HOT 1
- How to test a leshan-spring server and parse objects in californium? HOT 3
- Leshan server demo throws null-pointer exception HOT 14
- Replace usage of `URI` class to identify endpoint.
- Question about type of numeric LWM2M attributes. HOT 4
- Including timestamped send option to SendService HOT 3
- Use Leshan library to simulate several clients HOT 3
- Remove Attachement(or Assignation Level) to Attribute Model HOT 1
- Cannot run multiple server demo instances HOT 2
- Moving from JLine2 to JLine3 for leshan-client-demo Interactive commands.
- External Risk which could affect Leshan Project HOT 9
- No consistent value ordering for composite requests HOT 7
- How to know if a cliente Lwm2m 1.0 is availble HOT 5
- Add CoAP over TLS (over TCP) transport layer HOT 1
- Client is not registering on Server for Leshan version "2.0.0-M14" HOT 4
- Best way to test queue mode with Leshan server and leshan client demo 2.0 ? HOT 6
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 leshan.