-
Notifications
You must be signed in to change notification settings - Fork 445
Feature: Support to ask user for authorization #1668
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
base: master
Are you sure you want to change the base?
Conversation
@sjanc Please TAL |
841645f
to
50eac03
Compare
@sjanc PTAL |
@Singh-Sumeet we discussed with @sjanc and we agreed that return value from callback should be used instead of event struct field. we'd also like to have an option in future to make it authorization asynchronous so the return values should be reject, accept, pending - please add appropriate macros for that. reject should be set to 0 so authorization is rejected by default. |
50eac03
to
25808ac
Compare
Hi @andrzej-kaczmarek , I have made the required changes. I don't understand what you mean by making it "Authorization Asynchronous", but I have created the macro nonetheless. |
This introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond to GAP authorization event with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request This is done on top of PR apache#1668 by SumeetSingh19
This introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond to GAP authorization event with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. This is done on top of PR apache#1668 by SumeetSingh19
This introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond to GAP authorization event with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. This is done on top of PR apache#1668 by SumeetSingh19
This introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond to GAP authorization event with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. This is done on top of PR apache#1668 by SumeetSingh19
This commit introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond in GAP authorization event callback with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. This is done on top of PR apache#1668 by SumeetSingh19
This commit introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond in GAP authorization event callback with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. ble_att_svr_create_foo_rsp helpers are introduced to hanldle preparing and sending ATT responses. This is done on top of PR apache#1668 by SumeetSingh19
This commit introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond in GAP authorization event callback with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. ble_att_svr_create_foo_rsp helpers are introduced to hanldle preparing and sending ATT responses. This is done on top of PR apache#1668 by SumeetSingh19
25808ac
to
342788b
Compare
This commit introduces handling authorization in nimble. Each operation on characteristic that has authorize flags will require authorization. Application can respond in GAP authorization event callback with accept, reject or pending response. The latter response should trigger user action to either accept or reject request and finish handling att request. ble_att_svr_create_foo_rsp helpers are introduced to hanldle preparing and sending ATT responses. This is done on top of PR apache#1668 by SumeetSingh19
This MR aims to add: