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

OMA 1.1 support related #863

Closed
sgoyaldel opened this issue Jan 29, 2019 · 15 comments
Closed

OMA 1.1 support related #863

sgoyaldel opened this issue Jan 29, 2019 · 15 comments

Comments

@sgoyaldel
Copy link

We need following the suggestion in Cf/ Scandium related to 1.1 OMA LW2M update

  1. CBOR Payload support
  2. TLV formate support
  3. OSCORE support
  4. CoAP over TLS for FOTA and SOTA
  5. CoAP + OSCORE on CIoT information

Thanks

@boaks
Copy link
Contributor

boaks commented Jan 29, 2019

Did you had a look at the https://www.eclipse.org/leshan/ project? It's currently not LWM2M 1.1, but eclipse-leshan/leshan#563 at least the "kick off" discussion was started.

For your question around californium you may find some useful information on our project page
https://projects.eclipse.org/projects/technology.californium

"1. and 2."
About the payload formats, please read
#663 (comment)

"3."
The ri.se contributed an oscore implementation. Find out, if it works for you.
See issue #516 (and read my comment #516 (comment) )

"4."
CoAP over TLS is still an experimental feature. It doesn't fully comply to https://tools.ietf.org/html/rfc8323 e.g. the https://tools.ietf.org/html/rfc8323#section-5 is not implemented. though californium is an open source project, you may consider to contribute to our "element-connector-tcp" moulde to get it closer to the RFC.

"5."
no glue, what you mean :-)

@sgoyaldel
Copy link
Author

thanks.
For point 5 :
in 1.1 version CoAP over cellular IOT support added (LPWAN etc) like we have CoAP over SMS (i assume CoAP over SMS already supported)

@boaks
Copy link
Contributor

boaks commented Jan 29, 2019

CoAP over cellular IOT support added (LPWAN etc) like we have CoAP over SMS

No, that's currently not supported out of the box. I don't know, if this requires more changes, but in general, you may implement your own

https://github.com/eclipse/californium/blob/2.0.x/element-connector/src/main/java/org/eclipse/californium/elements/Connector.java

We do this for
coap: (plain UDP), UDPConnector
coaps: (DTLS), DTLSConnector
coap+tcp: (TCP), TcpClientConnector and TcpServerConnector
coaps+tcp: (TLS), TlsClientConnector and TlsServerConnector

so you may have a chance :-).

@sgoyaldel
Copy link
Author

thanks a lot.
. if we require trigger mode SMS for Coap . do we have support for Coap over SMS ?

@boaks
Copy link
Contributor

boaks commented Jan 30, 2019

I don't get it.

Californium doesn't currently support Coap over SMS.

From my side, there is not plan to support it.
SMS seems for me to be somehow deprecated. "Wake-up on SMS" is in my opinion a myth. To receive the SMS the device already require a lot of energy. It may have been true long ago, that receiving a SMS takes much less power than ip-traffic, but with newer cellular modes you will recognize, that the difference is not that large. And with the upcoming technical innovations as CAT-NB, it may even get less.
Receiving SMS on the cloud-side was in my experience also not easy and depends on the APi your "Provider" offers you.

@sbernard31
Though you're much closer to the "real physical technic", do you plan SMS support for leshan? Or do you already use SMS for LWM2M?

@sgoyaldel
Copy link
Author

thanks. actually i am talking about , i this Coap URI will be sms+ MSISDN number for enduri
https://tools.ietf.org/html/draft-becker-core-coap-sms-gprs-06

@boaks
Copy link
Contributor

boaks commented Jan 30, 2019

From the draft:

Expires: August 24, 2017

May be, I'm not the only one, who has doubts about the use of SMS!

@sbernard31
Copy link
Contributor

do you plan SMS support for leshan? Or do you already use SMS for LWM2M?

We don't use LWM2M over SMS in production and we don't plan to support it in Leshan. One of the big challenge is probably to make DTLS work.

AFAIK, in production we only use SMS for very simple wake up based on "home-made" protocol. (single message from server to device)

@boaks
Copy link
Contributor

boaks commented Feb 4, 2019

@sgoyaldel

I guess, you will not receive more information or other information on this topic.

To be clear:

  • I don't plan to improve the coap-over-tcp implementation. It would require some work to align it with the RFC 8323. If you want it, feel free to contribute it.
  • I don't plan to implement SMS support at all. If you want it, feel free to implement it based on the Connector.

I guess, the other committers are also not able to help you on the tcp or sms stuff.

If your interested in tcp and sms and you want to check, if other californium user are interested as well and help you on those issue, I would appreciate, if you just open two new issues for that. But I'm not too optimistic, that other user will spend their time, especially on the sms stuff.

@sgoyaldel
Copy link
Author

MAy i ask when 1.1 related support available? I mean there are some new messages are defined as observercomposite, CancelComposite etc ?

@boaks
Copy link
Contributor

boaks commented Feb 7, 2019

I can only answer for myself (more or less again):

  • I don't plan it. If you or someone else want it, feel free to contribute it.

If your interested in these features and you want to check, if other californium user are interested as well and help you on those issue, I would appreciate, if you just open new issues for that.

@boaks
Copy link
Contributor

boaks commented Feb 20, 2019

Seems, that this issue is replaced by a new one #881.
Can we therefore close this one?

@sgoyaldel
Copy link
Author

we can close #881

@boaks
Copy link
Contributor

boaks commented Feb 20, 2019

I'm not sure, which one you want to close this #863 or the other #881
Though you created the issues, you may also close the one, which is obsolete.

@boaks
Copy link
Contributor

boaks commented Jan 25, 2021

Seems, that the interest to contribute for these points is not that large.

@boaks boaks closed this as completed Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants