Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SMS Binding Support #695

Open
dnsgkr2 opened this issue May 30, 2019 · 8 comments
Open

SMS Binding Support #695

dnsgkr2 opened this issue May 30, 2019 · 8 comments
Labels
client Impact LWM2M client new feature New feature from LWM2M specification server Impact LWM2M server

Comments

@dnsgkr2
Copy link

dnsgkr2 commented May 30, 2019

I'm wondering if leshan plans to support sms to deliver wap push to server -> client.

I would like to use the wap push feature from the server on a client device that supports sms, but now leshan does not support sms related functionality. I wonder if there is a future support plan.

I have confirmed that it is supported by the oma specification, but I am not aware of it in the lwm2m specification.

The lwm2m specification comes with sms support, but if you do not have an implementation plan, I would like to know if I need to make a lot of modifications or implementations to use sms functionality with leshan.

plz, I ask for confirmation. thanks.

@sbernard31
Copy link
Contributor

SMS is not supported by Leshan for now and to be honest there is no plan for it at short or mid term.

AFAIK, SMS support could be a tricky part especially because DTLS over SMS. RFC 7925 could give you some hints about that. Currently, I don't know any implementation which support it.

I suppose a natural way to support this in Leshan would be to create new Californium connectors for CoAP over SMS and CoAP over DTLS over SMS. Lot of work in perspective !!

About DTLS over SMS, I suspect the tricky part could be the verbose Handshake ... Maybe the CID extension could help because handshake could be done over UDP then APPLICATION_DATA could be sent via SMS (I'm not even sure this use case makes sense 🤔)

If you move forward on this subject, please share your success or failure with us ! 🙏

(duplicate of : #233)

@sbernard31 sbernard31 added client Impact LWM2M client new feature New feature from LWM2M specification server Impact LWM2M server labels Jun 3, 2019
@sbernard31 sbernard31 changed the title I'm wondering if leshan plans to support sms to deliver wap push function SMS Binding Support Jun 3, 2019
@JameslaoA
Copy link

Please help confirm whether the latest Leshan framework supports SMS?
image

@boaks
Copy link

boaks commented Apr 12, 2022

I don't know a "common java SMS API", but the "java InternetProtokol API (java.net)" is very common.
So, without a java SMS API to use, I'm not sure, how that should be done.

@boaks
Copy link

boaks commented Apr 12, 2022

There are some Web API offers for sending SMS generally, but they come with costs.

See also how-to-send-sms-in-java.

@JameslaoA
Copy link

pls help confirm whether the latest Leshan framework supports uses the WAP/SMS option to wake up the device?

@JameslaoA
Copy link

image
pls help confirm whether the latest Leshan client framework supports uses the WAP/SMS option to wake up the device?

@boaks
Copy link

boaks commented Apr 13, 2022

As I wrote:
Though there is no common SMS API for java, there is no implementation for that. (At least, I didn't found one.)
If your customer uses a real device, that device my support SMS and your customers device may use the SMS-API of the device to receive SMS (e.g. AT-commands).
Also, some LwM2M services may have implemented the SMS channel, maybe using one of the SMS web-services.
But, that's all no common approach for java, at least, as far as I can see.
Without a common SMS API for java, SMS is a feature left to service offers, but not to open source.

I would appreciate, if you reconsider, that a leshan client is for demo and mainly rely on the APIs java is offering. With that, no FOTA nor SMS nor "persistent coap-server observes" are that useful for this simple demo-client.

@sbernard31
Copy link
Contributor

pls help confirm whether the latest Leshan client framework supports uses the WAP/SMS option to wake up the device?

As said at #695 (comment), and in the supported features, SMS binding is not supported for now by Leshan.

So for now, up to users to implement this part of the spec using API available in their production environment.

There is no plan to implement it at short/mid term. As explained in this thread, the main reason : we don't known about a common java API to send/receive SMS.

Please do not hesitate to share any ideas/information which could help to find a way to add this to Leshan.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
client Impact LWM2M client new feature New feature from LWM2M specification server Impact LWM2M server
Projects
None yet
Development

No branches or pull requests

4 participants