Reading Bluetooth device address returns zero (Known Issue)
Trying to retrieve a Bluetooth Device Address returns zero (or NULL) if Bluetooth has never been used. This is apparent when using the *#2820# code, which will result in Bluetooth device address: without any value at all.
Also, the following code:
aDevAddrPckg().GetReadable(bluetoothAddress, KNullDesC, KNullDesC, KNullDesC);
will return 000000000000 as bluetoothAddress.
This can be problematic if using Bluetooth address for identifying a device.
If the returned value is zero, Bluetooth needs to be turned on at least once. After this, the value can be received, and it also persists when phone is turned off.