SMS URI scheme support in SFOS client?

asked 2018-09-03 11:46:35 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2018-09-03 11:46:35 +0200

zlutor gravatar image

What sms-field-name values are supported by SFOS SMS client (if any)? Or any other way how to define sender's phone number from application/url?

SMS URI scheme is defined as

  sms-uri        = scheme ":" sms-hier-part [ "?" sms-fields ]
  scheme         = "sms"
  sms-hier-part  = sms-recipient *( "," sms-recipient )
  sms-recipient  = telephone-subscriber ; defined in RFC 3966
  sms-fields     = sms-field *( "&" sms-field )
  sms-field      = sms-field-name "=" escaped-value
  sms-field-name = "body" / sms-field-ext ; "body" MUST only appear once
  sms-field-ext  = 1*( unreserved )
  escaped-value  = *( unreserved / pct-encoded ) ; defined in RFC 3986

Some examples I've found for Android but that does use 'body' only. On the other hand uri format is standard to some extent RFC5724

edit retag flag offensive close delete

Comments

You could use the D-Bus interface if I'm not wrong. I saw some examples in the past on the Maemo.org forum.

Dylan Van Assche ( 2018-09-04 17:17:03 +0200 )edit