We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NimBLE device is configured as a server and advertises. Smartphone client scans, can see peripheral device name and connects.
After connection, would like server to use existing connection to query (and display) client device name via service 0x1800 and characteristic 0x2A00.
0x1800
0x2A00
onConnect()
NimBLEClient::connect()
ble_gap_conn_find_by_addr()
ble_gap_conn_desc
NimBLEClient
NimBLEServer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use Case
NimBLE device is configured as a server and advertises.
Smartphone client scans, can see peripheral device name and connects.
After connection, would like server to use existing connection to query (and display) client device name via service
0x1800
and characteristic0x2A00
.What I've tried
onConnect()
NimBLEClient::connect()
to this addressble_gap_conn_find_by_addr()
finding the existing underlying connectionWhat I hacked to prove it's possible
NimBLEClient::connect()
to:ble_gap_conn_desc
output ofble_gap_conn_find_by_addr()
checkNimBLEClient
connected with the details from the gap conn descPossible Solutions
NimBLEClient::connect()
to allow and succeed with an already connected OTA addressNimBLEServer
for getting a properly connectedNimBLEClient
based on the underlying connectionThe text was updated successfully, but these errors were encountered: