We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10619d commit f75c72dCopy full SHA for f75c72d
BLE_LEDBlinker/source/main.cpp
@@ -136,7 +136,7 @@ class LEDBlinkerDemo : ble::Gap::EventHandler {
136
}
137
138
void onConnectionComplete(const ble::ConnectionCompleteEvent& event) {
139
- if (event.getOwnRole() == Gap::CENTRAL) {
+ if (event.getOwnRole() == ble::connection_role_t::CENTRAL) {
140
_ble.gattClient().onServiceDiscoveryTermination(discovery_termination);
141
_ble.gattClient().launchServiceDiscovery(
142
event.getConnectionHandle(),
0 commit comments