From f20d1e390f25dd9f566c69968286b2ff4406ca87 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Thu, 9 May 2019 19:06:11 -0700 Subject: 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 --- binding/bluetooth-map-common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binding/bluetooth-map-common.h') diff --git a/binding/bluetooth-map-common.h b/binding/bluetooth-map-common.h index 12fe35a..ba68781 100644 --- a/binding/bluetooth-map-common.h +++ b/binding/bluetooth-map-common.h @@ -171,4 +171,8 @@ json_object *get_named_property(const struct property_info *pi, gboolean is_json_name, const char *name, json_object *jprop); +/* functions defined in bluetooth-map-bmessage.c */ + +json_object *bmessage_parse(const gchar *bmessage); + #endif /* BLUETOOTH_MAP_COMMON_H */ -- cgit 1.2.3-korg