javaextensions/bluetooth/bluetoothcommons/bluetoothplatformcontrol/src.s60/s60bluetoothplatformcontrol.cpp
changeset 76 4ad59aaee882
parent 26 dc7c549001d5
child 72 1f0034e370aa
child 83 26b2b12093af
equal deleted inserted replaced
69:773449708c84 76:4ad59aaee882
   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<KHCILocalDeviceNameMaxLength> bluetoothName;
   361     TBuf16<KMaxBluetoothNameLen> 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