Hi,
I found the unit is still 10ms for this value. But, according to the comment, this unit should be 1 second. Is this correct behavior?
Min-Ching
Hi,
I found the unit is still 10ms for this value. But, according to the comment, this unit should be 1 second. Is this correct behavior?
Min-Ching
Hi,
I am sorry. It is hard to understand what you mean.
Where is this comment? In the advertising library? In a particular example? SDK 15 has many files. What file and line are you referring to?
Regards,
Terje
Hi,
if you search ble_adv_modes_config_t, there is only one header file, ble_advertising.h, has it. here is the screenshot. FYI.
Min-Ching
Hi,
Sorry. I missed the title when answering. Thanks for the clarification. I will investigate.
Regards,
Terje
Hi,
Thank you for notifying us about this issue. You are correct. The value is used to fill the duration field of a ble_gap_adv_params_t structure, which according to SoftDevice documentation uses a unit of 10 ms. Well spotted!
I have notified the developers of the erroneous comment.
Regards,
Terje