-
Notifications
You must be signed in to change notification settings - Fork 6
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
Access to CoapResponse Object in RegistrationManager #24
Comments
@JaroslawLegierski do you have any code to share ? |
I'm not sure to get what you try to achieve here. FMPOV you should not try to reuse And LWM2M has pretty much same kind of concept which is already implemented in Leshan. I guess you "just" want : I guess it should have API to doing this in java-coap. You need to find how to create a coap server (we need it for LWM2M client and server) There is some hints in the java-coap README about this. |
I also think reusing |
@szysas I have question in coap token topic - in californium we have something like RandomTokenGenerator. Does something similar exist in java-coap or do we have to generate the token ourselves ? |
No, there is no such a generator. It should be simple to implement with |
I created dedicated issue to talk about java-coap in leshan at #27 @JaroslawLegierski maybe we can close this one ? |
Yes - very good idea |
As part of the tests 1338 I would like to replace the californium coap stack by java-coap in the LwM2M Leshan client. In the first stage, I was able to register the modified leshan-demo-client in the LwM2M server (using RegistrationManager) but unfortunately I have a problem with response. I must forward some information from CoapResponse to the LwM2M layer. Is there any callback mechanism implemented in RegistrationManager that allows me to get a access to coapresponse Object?
The text was updated successfully, but these errors were encountered: