×

Automation of D-bus communication testing for bluetooth profiles

  • US 9,772,919 B2
  • Filed: 03/14/2013
  • Issued: 09/26/2017
  • Est. Priority Date: 03/14/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for automated testing of Bluetooth operations of a Bluetooth module in an electronic control unit (ECU) device for a motor vehicle in communication with a mobile communication device, the method comprising:

  • in an automated testing tool hosted by a first device;

    reading test input data from text in an input file on said first device for testing Bluetooth operations of an ECU second device to be used in a motor vehicle wherein;

    said Bluetooth operations of said ECU second device controls Bluetooth communication between said ECU second device and a mobile communication third device, said mobile communication third device being located within a distance from said ECU second device for making a Bluetooth radio connection;

    said ECU second device comprises two or more layers of software, said two or more layers of software including a Bluetooth module and a test client that tests said Bluetooth module within said ECU second device,said Bluetooth module and said test client communicate within said ECU second device via a daemon bus (D-bus),said Bluetooth module further communicates via a Bluetooth radio within said ECU second device to said mobile communication third device, in order to control operations of said mobile communication third device;

    establishing one or more secure shell sessions for data communication between said first device and said ECU second device;

    calling functions defined in said test client of said ECU second device utilizing a first secure shell session;

    monitoring communication on said D-bus utilizing a second secure shell;

    sending one or more function calls for said testing Bluetooth operations of said ECU second device to said ECU second device via aid first secure shell session, based on said read test input data, wherein said one or more functional calls initiates communication between said Bluetooth module of said ECU second device and said mobile communication third device via said Bluetooth radio;

    receiving by said automated testing tool hosted by said first device, return information from said ECU second device via said second secure shell session, wherein said return information corresponds to said Bluetooth operations of said ECU second device responsive to said one or more function calls for said testing Bluetooth operations of said ECU second device;

    comparing expected responses from said text in said read test input file to said return information from said ECU second device to validate execution of application program interfaces called by said Bluetooth module of said ECU second device responsive to said function calls;

    determining test pass and test fail verdict information based on said comparison of said expected responses to said return information from said ECU second device; and

    writing text in an output file, said text comprising said test pass and said test fail verdict information based on said comparison of said expected responses to said return information from said ECU second device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×