Closed
Description
There is not a single methond in the class BLEAdvertising located at BLEAdvertising.h/.cpp that returns any error code.
For example...BLEAdvertising::start().....that calls the syscall esp_ble_gap_start_advertising(), which returns an error, it is just ignored, and the BLEAdvertising::start() returns void.
Is there any logical explanation for this? I don't see any extra complication in the code by just returning the result of esp_ble_gap_start_advertising().
And the same thing goes for all the methods of this class.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done