Uconnect Global Vehicle to Cloud API's

Version 3.1

Most Recent Official Release

Table of Contents

Introduction

The FCA Uconnect Global API’s define a standard data communication protocol for the Telematics Unit in the vehicle to interface with the cloud based Service Delivery Platform (SDP). The in-vehicle unit consists of either a Telematics Box Module (TBM) or Head Unit (HU), while the SDP can be hosted in any one of many cloud based infrastructures including Amazon Web Services (AWS).

The primary objective of this API is to create interoperability between the FCA regions including APAC, EMEA, LATAM, and NAFTA which with proper adoption will result in efficiency improvements and cost reductions as platforms become more global. Additionally, the API will improve the FCA Connected Vehicle Platform design for performance, scalability, flexibility, security, maintainability, and cost effectiveness.

The API is based on industry best-practices for the Internet of Things (IoT) including the use of the secure MQTT and HTTP communication protocols. The need to minimize costly wireless network traffic has also lead to the use of Protocol Buffers for efficiently formatting the data into messages between the client (TBM or HU) and the services (SDP).

Additional information about these standards and practices can be found at the addresses listed below

Frequently Asked Questions (FAQ)

  • Why use the FCA Global Uconnect V2C API?

    Currently every SDP provider has their own proprietary communication interface with the vehicle. Everyone is essentially sending very similar data and we have a good understanding of the required data elements. Rather than continually adapting the vehicle HU/TBM to interface with different SDP providers, this API provides a common interface which is intended to be leveraged on a global basis.

  • What version of MQTT is required?

    The API reference implementation utilizes MQTT 3.1.1. However, the protocol message structures can be transferred over other messaging protocols as required.

  • Where Can I find Context Diagram for these API's?

    Here it is.

  • Can I only use the AWS IoT MQTT Broker?

    No, Any compliant MQTT client library can be used. The reference implementation utilized AWS IoT for the availability, admin console, policy configuration, and management of device certificates for mutual authentication.

  • What is Quality of Service?

    MQTT defines three levels of Quality of Service (QoS). The QoS defines how hard the broker/client will try to ensure that a message is received. Messages may be sent at any QoS level, and clients may attempt to subscribe to topics at any QoS level.

    • 0: The broker/client will deliver the message once, with no confirmation.
    • 1: The broker/client will deliver the message at least once, with confirmation required. This is the recommended QoS level.
    • 2: The broker/client will deliver the message exactly once by using a four step handshake.

  • What MQTT Quality of Service (QoS) Level should be used?

    QoS Level 1 should be used for publishing a message at least once. The MessageId and CorrelationId can be used to implement de-duplication logic as required.

  • What version of protocol buffers is required?

    The protocol buffer messaging structure utilizes OneOf which is defined in Proto Language Version 3 and supported in version 3. The Simulator client and service utilize Version 3.3.0 of the compiler or better.

    The protocol buffer messaging structure utilizes OneOf which is defined in Proto Language Version 3 and supported in version 3. This specification is based on Protobuf language Version 3 - the compiler is version 3.30 or better

  • When should I update protocol buffer versions?

    Changing Protocol Buffer Versions comes with inherent risks and shall not be done in vehicle or at the server except with FCA approval and following our change and release control processes

    The protocol buffer messaging structure utilizes OneOf which is defined in Version 3 and supported in version 3. This specification is based on Protobuf language Version 3 - the compiler is version 3.30 or better

  • Can the Protocol Buffer .proto definition files be modified?

    Modifying the protocol buffer .proto files shall only be done at new service versions and must be modified by FCA Interface Architecture and through the change and release control processes

    The protocol buffer messaging structure utilizes OneOf which is defined in Version 3 and supported in version 3. This specification is based on Protobuf language Version 3 - the compiler is version 3.30 or better

  • Is compression of messages supported?

    Yes. At the discretion of the sender, messages may be compressed using the format described in RFC 1952 with the default DEFLATE compression method. Messages compressed in this way can reliably be distinguished from uncompressed messages by the magic number in the gzip message header. Receivers can assume compression if the first two bytes of a message are [0x1f,0x8b] because no valid protocol buffers wire format message can start with this particular sequence.

  • What value do I use for the MQTT ClientId?

    The clientId shall be identified by Uconnect Security during the design phase of the solution. The recommended approach is to utilize the CN of the Public Certificate assigned to the TBM/HU device. Either through back-end feeds or during the initial CommCheck, the clientID should be associated with a specific VIN

  • How Certificate Management Works?

    Before establishing an MQTT connection, a client must have a certificate for mutual authentication in accordance with security specification CS.00165

    The Global V2C API includes an interface to allow the TBM/HU to download a X.509 Public Certificate created from an out of band CSR process between the TBM/HU and Global PKI.

  • How do I find the associated requirements documentation?

    The business requirements for the TBM/HU and SDP can be found in the System Function Specification (SFS) documents at the followin link: here

    The implementation requirements for the TBM/HU and SDP can be found in the CTS (Component Technical Specification) and CTDD (Component Technical Design Documents) documents at the followin link: here

  • How do I handle Duplicate messages?

    Given we are not using MQTT QoS 1 there is the potential to receive a duplicate message. The HU/TBM client endpoint shall utilize the messageId to reject any duplicate messages. The SDP service endpoint shall utilize the clientId and messageId to reject any duplicate messages.

  • Do we need to know if the message has been delivered or does it act as fire/forget?

    As MQTT defines Quality of Service1 (QoS1), if the Quality of Service is set to 1 then the broker/client will deliver the message atleast once and receiver sends an acknowledgment to the sender. and The message is deleted from the sender after it has received an acknowledgment from the receiver.

    An undelivered message may be removed after a specification defined timeout period, as would be the case with Remote Operations

  • How are the various IDs used?

    The UconnectMessage contains several IDs for the messages, each is used to create traceability throughout the system. i.e determining duplicates can be done using any combination of MessageID and either SessionID or ServiceID.

    Messages and their IDs have the following structure

  • Are there Any General KPI Requirements?

    Yes, listed below.

    NbrTypeKPI Requirement
    1Request/Response Message from Vehicle to Cloud 5 sec
    2Request/Response Message from Cloud to Vehicle5 sec
    3Push Message from Vehicle to Cloud <3 sec
    4Push Message from Cloud to Vehicle <3 sec

  • How do I log messages for Audit/KPI?

    For logging purposes, MQTT packet identifier can be used to find a sender's packets in a receivers's log files. Sender can append the Packet Identifier with the timestamp in the packet.

    If its KPI for Round trip , Message ID/CorrelationId with other information can be used for Logging.

  • What do I need to execute the Simulator client examples?

    • A Java Integrated Development Environment (IDE) such as Eclipse or IntelliJ.
    • Download the Google Protocol Buffers compiler and ensure you can generate Java code for one of the provided .proto files.
    • Create a new Java project and import the generated Java source files into your project.
    • Download the dependent Java libraries and import them into your project:
      • Download the protocol buffers jar file here.
      • Download the Paho MQTT client jar file here.
      • Download the AWS IoT Java Client Library here.
    • Add one of the example client code classes to your project and verify your project builds successfully.
    • Create or acquire the credentials and endpoint details for the AWS IoT instance to utilze for testing the client.

  • When should the SessionID field provided in the UconnectMessage be used?

    Establishing and passing a session id for every message is the best practice for the purposes of auditing and analytics, as well as correlating multi-point and multi-channel feature messages (i.e. Ecall)

  • If a vehicle is offline - how long should messages be held, waiting to Publish

    For Hight Priority messages an SMS will be sent to wake the vehicle. For all messages with a prescribed KPI or performance target, the message time to live should be less than the performance target. This should be defined in a requirements document give by the specific feature team

{{#files}}

{{file_name}} (Version 1.0)

{{#file_description}}{{#p}}
{{{file_description}}}
{{/p}}{{/file_description}} {{#file_messages}}

{{message_long_name}}

{{#p}}{{{message_description}}}{{/p}}
{{#message_fields}} {{/message_fields}}
FieldTypeLabelDescription
{{field_name}} {{field_long_type}} {{field_label}} {{#p}}{{field_description}}{{#field_default_value}} Default: {{field_default_value}}{{/field_default_value}}{{/p}}
{{#message_enums}}

{{enum_long_name}}

{{#p}}{{enum_description}}{{/p}} {{#enum_values}} {{/enum_values}}
NameNumberDescription
{{value_name}} {{value_number}} {{#p}}{{value_description}}{{/p}}
{{/message_enums}} {{#message_has_extensions}}
{{#message_extensions}} {{/message_extensions}}
ExtensionTypeBaseNumberDescription
{{extension_name}} {{extension_long_type}} {{extension_containing_long_type}} {{extension_number}} {{#p}}{{extension_description}}{{#extension_default_value}} Default: {{extension_default_value}}{{/extension_default_value}}{{/p}}
{{/message_has_extensions}} {{/file_messages}} {{#file_services}}

{{service_name}}

{{#p}}{{service_description}}{{/p}} {{#service_methods}} {{/service_methods}}
Method NameRequest TypeResponse TypeDescription
{{method_name}} {{method_request_long_type}} {{method_response_long_type}} {{#p}}{{method_description}}{{/p}}
{{/file_services}}

Where to Find the ProtoBuf File

Click here to download Protobuf.
{{/files}}

Certificate Management

Scalar Value Types

.proto TypeNotesC++ TypeJava TypePython Type
double double double float
float float float float
int32 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int int
int64 Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long int/long
uint32 Uses variable-length encoding. uint32 int int/long
uint64 Uses variable-length encoding. uint64 long int/long
sint32 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int int
sint64 Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long int/long
fixed32 Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int int
fixed64 Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long int/long
sfixed32 Always four bytes. int32 int int
sfixed64 Always eight bytes. int64 long int/long
bool bool boolean boolean
string A string must always contain UTF-8 encoded or 7-bit ASCII text. string String str/unicode
bytes May contain any arbitrary sequence of bytes. string ByteString str