Dear Dialog Team,
i have start with the Training Advertising contents.
In the code is written: #define CFG_NVDS_TAG_BD_ADDRESS {0x02, 0x00, 0x00, 0xCA, 0xEA, 0x80}
But at the smartphone is written: {0x00, 0x13, 0x43, 0x2A, 0x1F, 0xF3}
In my opinion, the same addrees must be displayed. Can you tell me, where my mistake is?
Kind regards
Device:
Hi DMueller,
Most probably this is another device and not the one that you are testing, since you are right and the same address that is located to the CFG_NVDS_TAG_BD_ADDRESS should be displayed to the phone application as well. If the dev kit that you are using is a pro kit, then you can check via the power profiler if the device is indeed advertising or not. If its a basic kit you can place a breakpoint to the .app_on_adv_undirect_complete function (which is the completion callback for the advertising operation) and check if the immiatelly triggers via using a breakpoint, if it does, that means that there is something wrong with the advertising string that you are using.
Thanks MT_dialog
Hi MT_dialog,
i'm sure that it was the correct device, because of the changed name and the company ID. I use the pro kit. How to use the power profiler?
Back to my problem. I use the example code "ble_app_barebone". What can be wrong with the advertising string?
Kind regards.
Hi DMueller,
Power profiler is a tool in the Smart Snippets suite, just open SS in UART/SPI mode, open the power profiler, hit the "Initialize" button and then the "Start" button in order for the tool to start measuring the power consumption of the pro board.
What is the device that you are using ? Is it a Panasonic module ?
If its a panasonic module or a Murata module, those devices have the bd address burned in the OTP header and the SDK when the device boots up it obtains the bd address from the OTP header, so whatever your value is at the CFG_NVDS_TAG_BD_ADDRESS the device keeps on advertising with the address burned in the OTP. So can you please verify if the module that you are using is either a Panasonic or a Murata.
Thanks MT_dialog
Hi MT_dialog,
Thank you for the answer!
I use a panasonic module. OK, now i know, why it don't function. Thank you!
Kind regards.