Hi Fred, > >> +Cache directory files > >> +====================== > >> + > >> +Each files, named by remote device address, contains 1 [General] group: > >> + [General] > >> + Name=device name a > > > > Is this the only thing we are storing in these files? Or are we planning > > to store additional information at some point. > > > >> +Device directory files > >> +====================== > >> + > >> +Remote device info file will include a [General] group with device info, > >> +[DeviceID], [LinkKey] and [LongTermKey] groups with related info: > >> + [General] > >> + Alias= > > > > Are we just doing the Alias here? We are not keeping the Name? In theory > > we have a short name and full name actually. If we ever only got the > > short name, we need to know that. Then we have to request the long name > > next time. > > Name is already stored in cache file. So I think we do not need to save > it also in device info file. > > We may store both short and long names in the cache file. I was assuming that the cache file is only used for LE devices with static random addresses, but know I remember that we even need to store the names for devices that we only discovered and not paired with. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html