Skip to content

SDL does not send BC.PolicyUpdate to HMI if no apps are registered #3279

@ShobhitAd

Description

@ShobhitAd

Bug Report

Currently, if there are no registered apps, triggering a PTU results in the HMI sending a BasicCommunication.OnSystemRequest with fileName: null.

The PTS filename is never set in the HMI because SDL does not send a BasicCommunication.PolicyUpdate request(which contains the PTS path) to the HMI. This prevents us from being able to use the HMI vehicle modem to handle the PTU if no apps are registered.

Reproduction Steps

Using the sdl hmi with external proprietary checked:

  1. Build core with external proprietary
  2. Start the policy server
  3. Modify the 0x07 endpoint in the PT
  4. Register app, successful PTU should occur
  5. Unregister app
  6. Change the kilometers to 5000 to trigger a PTU
Expected Behavior
  1. SDL sends a BasicCommunication.PolicyUpdate request to the HMI.
  2. The HMI sends a BasicCommunication.OnSystemRequest(PROPRIETARY) notification to SDL with a valid PTS fileName.
Observed Behavior
  1. SDL does NOT send a BasicCommunication.PolicyUpdate request to the HMI.
  2. The HMI sends a BasicCommunication.OnSystemRequest(PROPRIETARY) notification to SDL with fileName: null.
OS & Version Information
  • OS/Version: Ubuntu 18.04
  • SDL Core Version: origin/develop (94f92bb)
  • Testing Against: Test Suite

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions