summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-05-09 19:06:11 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-05-12 19:21:39 -0700
commitf20d1e390f25dd9f566c69968286b2ff4406ca87 (patch)
tree172fabe412cea2f7b7edbd531b5183ef238ab8f5 /README.md
parent063ca7cb02117d8788af450e3d382705440fe8f0 (diff)
binding: bluetooth-map: add parser for bMessage output
Parser to output more user-readable JSON of incoming messages Bug-AGL: SPEC-2351 SPEC-2392 Change-Id: Ib758f8901ff01579899112c75119596c4a0726be Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 8 insertions, 25 deletions
diff --git a/README.md b/README.md
index f84bccc..66d92be 100644
--- a/README.md
+++ b/README.md
@@ -59,30 +59,13 @@ Send a message (if supported) via MAP profile:
<pre>
{
- "bmessage":
- "BEGIN:BMSG\r\n
- VERSION:1.0\r\n
- STATUS:UNREAD\r\n
- TYPE:SMS_GSM\r\n
- FOLDER:telecom/msg/inbox\r\n
- NOTIFICATION:1\r\n
- BEGIN:VCARD\r\n
- VERSION:2.1\r\n
- FN;CHARSET=UTF-8:Satoshi Nakamoto\r\n
- N;CHARSET=UTF-8:Satoshi\r\n
- TEL:+13605551212\r\n
- END:VCARD\r\n
- BEGIN:BENV\r\n
- BEGIN:BBODY\r\n
- CHARSET:UTF-8\r\n
- LANGUAGE:UNKNOWN\r\n
- LENGTH:46\r\n
- BEGIN:MSG\r\n
- Meet at Victor 23 at 6p?\r\n
- END:MSG\r\n
- END:BBODY\r\n
- END:BENV\r\n
- END:BMSG\r\n
- "
+ "status": "UNREAD",
+ "type": "SMS_GSM",
+ "folder": "telecom/msg/inbox",
+ "recipient": {
+ "fn": "Satoshi Nakamoto",
+ "n": "Satoshi"
+ },
+ "message": "Meet at Victor 23 at 6p?"
}
</pre>