With the development of Bluetooth Low Energy(BLE)technology,more and more automotive related products begin to support BLE communication.In order to support communication between the vehicle electronic control unit(ECU)and BLE devices,the traditional method is to add a Bluetooth module to the ECU.However,adding Bluetooth modules to all ECU that require Bluetooth communication will increase the cost of ECUs,this can also increase the complexity of the entire vehicle.To resolve the aforementioned situation,this thesis proposes a vehicle ethernet Bluetooth gateway based on the SOME/IP protocol to make the communication between the vehicle ECUs and BLE devices have better economy and scalability.The main contributions of this article are as follows:1.Based on the SOME/IP protocol,the thesis builds an SOA(Service Oriented Architecture)service to facilitate communication between ECUs and Bluetooth devices.The Bluetooth gateway is introduced as an intermediary agent that connects the BLE device and ECUs.It allows the ECU in the vehicle Ethernet to access the BLE device via the Bluetooth gateway,eliminating the need for an additional Bluetooth module.2.According to the characteristics of Bluetooth communication,this thesis proposals a solution that can enable communication between BLE device and ECU is proposed.Different processing is performed based on BLE device type: converting the broadcast message of the unconnectable BLE device into a SOME/IP message for transmission;The service information of the connectable BLE device is forwarded as a SOME/IP-SD message,when the ECU requests to access BLE device services,the Bluetooth gateway agent facilitates the remote call of the Bluetooth service.3.Based on the Raspberry Pi demo board and the SOME/IP protocol,this thesis implements a Bluetooth gateway system.The Bluetooth gateway system runs onRaspberry Pi.Moreover,this thesis uses the Texas Instruments CC2541 development board as a Bluetooth Low Energy(BLE)device and a computer to simulate an Electronic Control Unit(ECU)for emulating real-world applications.To validate the effectiveness of the proposed Bluetooth gateway,this thesis conducts a series of simulation experiments using the CC2541 Bluetooth development board as the BLE device and a computer to simulate the ECU.These experiments aim to verify that the Bluetooth gateway successfully facilitates Bluetooth communication forwarding between Bluetooth devices and ECUs. |