javaextensions/bluetooth/bluetoothcommons/bluetoothplatformcontrol/src.s60/s60bluetoothplatformcontrol.cpp
equal
deleted
inserted
replaced
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 |