I am trying to change the device class on a nokia 5500. I have the capability WriteDeviceData. I am calling the following function:
TInt value = 0x414;
TInt ret = RProperty::Set(KPropertyUidBluetoothControlCategory,
This returns a value of -46, or KErrPermissionDenied.
Apparently KErrPermissionDenied is only returned when you don't have a capability, but I even tried with all capabilities and it still return KErrPermissionDenied. Why would I be getting this value?