bluetoothmgmt/btmgr/BTManServer/BTRegistryDB.cpp
branchRCL_3
changeset 8 2b6718f05bdb
parent 0 29b1cd4cb562
child 11 20fda83a6398
equal deleted inserted replaced
4:28479eeba3fb 8:2b6718f05bdb
  1352 	// Set up the defaults - these will get overwritten if there are appropriate values in the ini file
  1352 	// Set up the defaults - these will get overwritten if there are appropriate values in the ini file
  1353 	defaultDevice.SetAddress(TBTDevAddr(0));
  1353 	defaultDevice.SetAddress(TBTDevAddr(0));
  1354 	defaultDevice.SetDeviceName(KDefaultLocalName);
  1354 	defaultDevice.SetDeviceName(KDefaultLocalName);
  1355 	defaultDevice.SetScanEnable(EPageScanOnly);
  1355 	defaultDevice.SetScanEnable(EPageScanOnly);
  1356 	defaultDevice.SetLimitedDiscoverable(EFalse);
  1356 	defaultDevice.SetLimitedDiscoverable(EFalse);
  1357 	defaultDevice.SetDeviceClass(0);
  1357 	
       
  1358 	// set the default device class to be phone|smartphone
       
  1359 	// MajorServiceClass set to zero as there are no default service class bits
       
  1360 	TBTDeviceClass defaultCod (0, EMajorDevicePhone, EMinorDevicePhoneSmartPhone);
       
  1361 	defaultDevice.SetDeviceClass(defaultCod.DeviceClass());
       
  1362 	
  1358 	// The registry is being kicked off with a default channel assessment 
  1363 	// The registry is being kicked off with a default channel assessment 
  1359 	// mode setting of 'enabled'. This is the default if h/w supports 
  1364 	// mode setting of 'enabled'. This is the default if h/w supports 
  1360 	// channel assessment. If h/w does not support channel assessment,
  1365 	// channel assessment. If h/w does not support channel assessment,
  1361 	// this value becomes meaningless.
  1366 	// this value becomes meaningless.
  1362 	// Any use of it to update h/w will be rejected.
  1367 	// Any use of it to update h/w will be rejected.