javaextensions/bluetooth/bluetoothcommons/bluetoothplatformcontrol/src.s60/s60bluetoothplatformcontrol.cpp
branchRCL_3
changeset 83 26b2b12093af
parent 77 7cee158cb8cd
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   356  * Returns bluetooth friendly name
   356  * Returns bluetooth friendly name
   357  * Output: bluetooth friendly name
   357  * Output: bluetooth friendly name
   358  */
   358  */
   359 std::wstring *S60BluetoothPlatformControl::getBluetoothName()
   359 std::wstring *S60BluetoothPlatformControl::getBluetoothName()
   360 {
   360 {
   361     TBuf16<KMaxBluetoothNameLen> bluetoothName;
   361     TBuf16<KHCILocalDeviceNameMaxLength> bluetoothName;
   362 
   362 
   363     JELOG2(EJavaBluetooth);
   363     JELOG2(EJavaBluetooth);
   364     TInt error = RProperty::Get(KPropertyUidBluetoothCategory,
   364     TInt error = RProperty::Get(KPropertyUidBluetoothCategory,
   365                                 KPropertyKeyBluetoothGetDeviceName, bluetoothName);
   365                                 KPropertyKeyBluetoothGetDeviceName, bluetoothName);
   366 
   366