nimble/host: add support for asynchronous authorization
This 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 #1668 by SumeetSingh19 Fixes GATT/SR/GAW/BI-11-C qualification test case
#AutoPTS run mynewt GATT/SR/GAR/BI-03-C GATT/SR/GAR/BI-09-C GATT/SR/GAR/BI-15-C GATT/SR/GAR/BI-20-C GATT/SR/GAR/BI-40-C GATT/SR/GAW/BI-04-C GATT/SR/GAW/BI-11-C
Scheduled PR https://github.com/apache/mynewt-nimble/pull/2013#issuecomment-2786563417, board: nrf52, estimated start time: 16:05:06, test case count: 7, estimated duration: 0:14:24Test cases to be run
GATT/SR/GAR/BI-03-C
GATT/SR/GAR/BI-09-C
GATT/SR/GAR/BI-15-C
GATT/SR/GAR/BI-20-C
GATT/SR/GAR/BI-40-C
GATT/SR/GAW/BI-04-C
GATT/SR/GAW/BI-11-C
AutoPTS Bot results: No failed test found.
Successful tests (7)
GATT GATT/SR/GAR/BI-03-C PASSGATT GATT/SR/GAR/BI-09-C PASS
GATT GATT/SR/GAR/BI-15-C PASS
GATT GATT/SR/GAR/BI-20-C PASS
GATT GATT/SR/GAR/BI-40-C PASS
GATT GATT/SR/GAW/BI-04-C PASS
GATT GATT/SR/GAW/BI-11-C PASS