Hi, maybe you can help me with a similar problem.
I need also the state of advertising. If the device is advertising or not.
In the example code there is a function
void startAdv(void)
In this function, the flags are added.
// Advertising packet
Bluefruit.Advertising.addFlags(BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE);
But how do I get the boolean value if it is advertising or not? In this case, I have no callback function...I attached my full Arduino code.
Thanks for help in advance!
FactoryTest6.ino (19.7 KB)