Skip to content

Disabled Policy Table prevents GetInteriorVehicleData RPC #2989

@jyh947

Description

@jyh947

Bug Report

Without the policy table enabled, SDL Core does not allow GetInteriorVehicleData RPC.

Reproduction Steps
  1. Turn off Policy Table in smartDeviceLink.ini
  2. Start up any HMI (Ford emulator, sdl_hmi, etc.) with remote controls implemented, along with core
  3. Connect a SDL application with appHMIType "REMOTE_CONTROL" to SDL Core
  4. Send GetInteriorVehicleData RPC, requesting CLIMATE information, to Core
Expected Behavior

Core forwards GetInteriorVehicleData RPC to HMI, which will gather the appropriate climate data and return it to the application. We expect the RPC to be forwarded because the policy table is disabled.

Observed Behavior

Core blocks the GetInteriorVehicleData RPC from being sent to the HMI and notifies the application that the GetInteriorVehicleData RPC has been disallowed.

OS & Version Information
  • OS/Version: Ubuntu 16.04
  • SDL Core Version: 5.1.3
  • Testing Against: SPT, Ford Emulator (new internal version), SDL_HMI (5.1.0)
Test Case, Sample Code, and / or Example App

SDL Preloaded Policy Table that will enable remote control:

        "app_policies": {
            "default": {
                "keep_context": false,
                "steal_focus": false,
                "priority": "NONE",
                "default_hmi": "NONE",
                "groups": ["Base-4", "RemoteControl"],
                "RequestType": [],
                "RequestSubType": [],
                "moduleType": ["RADIO", "CLIMATE", "SEAT", "AUDIO", "LIGHT", "HMI_SETTINGS"]
            },
            "device": {
                "keep_context": false,
                "steal_focus": false,
                "priority": "NONE",
                "default_hmi": "NONE",
                "groups": ["DataConsent-2"]
            },
            "pre_DataConsent": {
                "keep_context": false,
                "steal_focus": false,
                "priority": "NONE",
                "default_hmi": "NONE",
                "groups": ["BaseBeforeDataConsent"]
            }
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions