-
Notifications
You must be signed in to change notification settings - Fork 3k
BLE: Gap platform abstraction layer #5295
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
Conversation
@marcbonnici @nvlsianpu @apalmieriGH May you review this PR ? Other will follows containing the implementation of the GenericGAP, an abstraction managing the GAP server and the |
Build : SUCCESSBuild number : 114 Triggering tests/test mbed-os |
Test : SUCCESSBuild number : 40 |
@tommikas Can you restart jenkins CI please here? |
* Construct a new GapConnectionCompleteEvent. | ||
* | ||
* @param status Status of the operation: 0x00 in case of success otherwise | ||
* the error code associated with the faillure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'faillure' is misspelt
|
||
|
||
/** | ||
* Report advertising from on or more LE device. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on -> one
/** | ||
* Construct advertising data from an array. | ||
* | ||
* @param input_value Reference to the array containing the advertising dat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*data
* or RESOLVABLE_PRIVATE_ADDRESS_RANDOM_FALLBACK then the peer address | ||
* parameters (type and address) will be used to find the local IRK. | ||
* | ||
* @param peer_address_type Address type of the peer.sw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional sw
* - A connection is created. | ||
* - Time out in case of high duty cycle directed advertising. | ||
* | ||
* If the random address as not been set and the advertising parameter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*has not been
* If the random address as not been set and the advertising parameter | ||
* own_address_type is set to 0x01 then the procedure shall fail. | ||
* | ||
* If the random address as not been set and the advertising parameter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*has
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still needs correcting.
* if initiator_policy use the whitelist. | ||
* | ||
* @param Address used by the advertiser in its advertising packets. Not | ||
* usedif initiator_policy use the whitelist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*used if
* @note The value returned can change over time. | ||
* | ||
* @return The number of entries that can be stored in the LE subsystem. It | ||
* range from 0x01 tp 0xFF. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*to
c7ceb0b
to
11c0f93
Compare
Build : SUCCESSBuild number : 141 Triggering tests/test mbed-os |
11c0f93
to
2b80876
Compare
"@marcbonnici @nvlsianpu @apalmieriGH May you review this PR ?" |
I updated the PR according to @marcbonnici comments. |
@marcbonnici - approved? |
* If the random address has not been set and the advertising parameter | ||
* own_address_type is set to 0x01 then the procedure shall fail. | ||
* | ||
* If the random address as not been set and the advertising parameter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still needs correcting.
"as" -> "has"
Anyone else for review? |
@pan- Could you correct the typo? then we can get this show on the road. |
@pan- Could you please address the comments |
This interface expose the primitives needed to realize operations defined in the GAP layer. Data types, event and function definitions follow closely HCI commands and events defined in the Bluetooth specification.
2b80876
to
744abca
Compare
@adbridge I've addressed the comments. |
@studavekar did these build and test triggers get dropped? |
@theotherjimmy i don't see a morph command for 744abca. |
/morph build |
Build : SUCCESSBuild number : 434 Triggering tests/morph test |
Test : FAILUREBuild number : 227 |
/morph test |
Test : SUCCESSBuild number : 271 |
Description
Add an interface exposing the primitives needed to realize operations defined in
the GAP layer. Data types, event and function definitions follow closely HCI
commands and events defined in the Bluetooth specification.
This adapter shall be implemented by porters if they want to use the generic
implementation of the Gap implementation.
Status
READY
Migrations
NO