Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added ability to register custom descriptors in the service definition. Set is_desc to true for these. * Added ability to specify binary UUID when registering services. Set is_uuid_bin and initialize uuid_bin. * Added `mgos_bt_gatts_read_{1,2,4}()` - a handler for read-only attributes that responds with 1, 2 or 4 bytes from the handler arg value. * Added `mgos_bt_gatts_unregister_service()` to unregister a previously registered service. * Library now automatically handles long reads - if user sends more data than MTU allows, library buffers it and automatically responds to subsequent ling reads of the same characteristic. * Added mgos_bt_uuid_eq() to compare UUIDs.
- Loading branch information
Showing
8 changed files
with
520 additions
and
296 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.