Removing a Device from the List

This shows how to remove a device from the list.

Each device in the list has a position index. When a device is removed from the list, any other devices in the list are shifted as required to allow the empty position to be occupied. Removing a device from the list means that the Bluetooth GPS PSY will not try to connect to it next time GPS position information is required.

Call CLbsBtGpsConfig::RemoveDevice(TLbsBtGpsEntryKey). This function takes the unique key of the device being removed from the list.
// Remove the device from the list
iConfig->RemoveDevice(key);
This step returns KErrNone upon success.

The device is removed from the list.