Clone
Stephen Quong
committed
on 12 Aug
LDT-5291: Cloud Communication - SW - 01 - Device-RT to Cloud - Integration - Demo Focus - R&I - 03: DEV - Feature Implementation & Code Docu… Show more
LDT-5291: Cloud Communication - SW - 01 - Device-RT to Cloud - Integration - Demo Focus - R&I - 03: DEV - Feature Implementation & Code Document [& Diagnostics]

- Renamed message handling to CAN routing.

- Update MqttClient to simplify and move responsibility/functionality to class encapsulating it.

- Updated MqttClient::init() to verify that the CA, certificate and key files exist before use.

- Added CloudConnectController::loadConfig() and removed the config paths from the constructor.

- Added CloudConnectController inbound cloud message handling and decoding the protobuf.

- Removed the temporary protobuf capture-to-file code and its Capture INI section.

- Updated CloudConnect.ini format.

- Added logging categories config, proto, can.routing, mqtt, mqtt.stats and comms.types, and converted the bare qInfo/qWarning calls to categorized logging.

- Updated Types::getValue() and Types::getBits() to warn when the buffer is too short.

- Updated the protobuf Header to drop deviceSerialNum.

- Updated serializeProto() and canMessageToProtobufByteArray() to return bool and write the result through a QByteArray out-parameter.

- Updated CloudConnect.pro to add the Qt Mqtt module.

Show less