Removing a paired device

When a device is deleted (i.e., the user taps DELETE in the Bluetooth Connectivity control in the Settings screen), the HMI publishes a remove_device command containing the device's MAC address in the data parameter to the /pps/services/bluetooth/control object, which is read by pps-bluetooth. This service then issues an IOBT_BTMGR_REMOVEDEVICE event to the Bluetooth manager (io-bluetooth) and also publishes a status update to the /pps/services/bluetooth/status object.

The /pps/services/bluetooth/paired_devices/ directory stores a PPS object for each successfully paired device. When a device is removed, its object (named after its MAC address) is deleted from this directory.