diff options
author | Michael Carpenter <malcom2073@gmail.com> | 2012-08-27 20:09:17 -0400 |
---|---|---|
committer | Michael Carpenter <malcom2073@gmail.com> | 2012-08-27 20:09:17 -0400 |
commit | 4cfb8f2c5442f80fed34bc485e040498337a6a4b (patch) | |
tree | 5f98b9fd29d6a1d77058fa535c32d1c10dc00745 | |
parent | 9f510117f128fa3166bb519564823f287c186037 (diff) | |
download | automotive-message-broker-4cfb8f2c5442f80fed34bc485e040498337a6a4b.tar.gz |
Fix for subscriptions not working properly due to non-standard AMB properties not being supported
-rw-r--r-- | plugins/websocketsink/websocketsink.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/websocketsink/websocketsink.cpp b/plugins/websocketsink/websocketsink.cpp index 41d571a0..37b38985 100644 --- a/plugins/websocketsink/websocketsink.cpp +++ b/plugins/websocketsink/websocketsink.cpp @@ -68,6 +68,10 @@ void WebSocketSink::propertyChanged(VehicleProperty::Property property, boost::a { tmpstr = "running_status_transmission_gear_status"; } + else + { + tmpstr = property; + } s << "{\"type\":\"valuechanged\",\"name\":\"" << tmpstr << "\",\"data\":\"" << velocity << "\",\"transactionid\":\"" << m_uuid << "\"}"; |