-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
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
Merge ServerDev branch into master. #4
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implemented characteristic values and notify/indicate. Implemented helper functions in server class.
Don't set advertising uuids if using custom data.
Added settings to SDKconfig.
… and scan response. Now checks for 31 byte limit and truncates.
…s for better handling events. 2902 descriptors now functional with onwrite callbacks working. Refactored characterisic.notify() and setSubscribe() to use the 2902 descriptor.
Added defines for descriptor backward compatibility.
Fixed Characteristic sub map handles.
Code cleanup. Client security tweaks.
Fix notifications sent to multiple clients from server, where any clients after the first one sent got incorrect data. Fix abort on advertising start if already advertising. Fix compile error in NimBLELog.h
…lict. Change NimBLELog.h to accomodate arduino serial monitor and log level settings.
Implemented compatibility functions in advertising class for original examples to compile. Added / edited original examples.
Fix eddystone issues. Refactor update connection params, Refactor examples.
Descriptor properties now able to be set just as the characteristics. Added createDescriptor methods. Descriptor permissions currently setting incorrectly and need more work.
Updated examples for descriptor refactoring. Updated characteristic/descriptor properties defines. Added log level check for printing db info.
Added defines to nimconfig to prevent arduino initialization from releasing BLE memory.
Add client mtu exchange on connect. Start adding host reset handling to server classes.
…efined as NIMBLE_PROPERTY::* to avoid any define conflicts with libraries. Add New server example.
Fix buffer size for .toString()
…teristic. Refactor original examples to use NIMBLE_PROPERTY
Minor changes to NimBLECharacteristic notification return codes. NimBLEUtils returnCodeToString, added Success return code string.
Rename Origianl examples folder to Refactored_original_examples.
NimBLE stack was saving CCCD's for non-bonded paired peers. Changed example to reflect this fix.
Initial work on NimBLE_client example.
Continued work on client example.
Reorder semaphore release sequences in client code.
Change NimBLE scan result to return a copy to the callback as the pointer was overwritten too quickly. Update new example to reflect this change. Implement a task switch in client connect to clear up any pending operations before aquiring services data. Change callback calling in scan gap handler to pass a copy of advertised device. Set advertised device advertisment type when creating a new device only.
… twice if called from separate tasks at nearly the same time. Move client onConnect callback to the connect method to prevent any actions performed there from interfering with getting services.
…of copy. Implement host reset handling in client.
…ertising starts again after host re-syncs. Client now returns false if attempting to connect to more than 1 peripheral at the same time. Client now handles host resets and begins scanning after re-syncing. Client should only invoke authentication complete callback if encryption change event status is success. Add getClientListSize(), getClientByAddress() and getDisconnectedClient() methods to NimBLEDevice. Add protection to multiple calls of onHostSync to NimBLEDevice to prevent simultaneous calls to scan start and advertising start. Scan start now loops repeatedly if host is in busy (connecting) state to allow scanning to start immediately, if called.
Add API_DIFFERENCES reference document.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.