add comments

pull/11204/head
Paul Szczepanek 2019-08-14 17:11:52 +01:00 committed by GitHub
parent c79ffd112f
commit 71f59eaf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -152,6 +152,8 @@ struct advertising_type_t : SafeEnum<advertising_type_t, uint8_t> {
/** /**
* Device is connectable, scannable and doesn't expect connection from a * Device is connectable, scannable and doesn't expect connection from a
* specific peer. * specific peer.
* @note Cannot carry extended advertising payload, only legacy PDUs.
* Use CONNECTABLE_NON_SCANNABLE_UNDIRECTED for non-legacy payload.
* *
* @see Vol 3, Part C, Section 9.3.4 and Vol 6, Part B, Section 2.3.1.1. * @see Vol 3, Part C, Section 9.3.4 and Vol 6, Part B, Section 2.3.1.1.
*/ */
@ -185,6 +187,8 @@ struct advertising_type_t : SafeEnum<advertising_type_t, uint8_t> {
/** /**
* Device is connectable, but not scannable and doesn't expect connection from a specific peer. * Device is connectable, but not scannable and doesn't expect connection from a specific peer.
* @note Only for use with extended advertising payload, will not allow legacy PDUs
* (use CONNECTABLE_UNDIRECTED for legacy PDU).
*/ */
CONNECTABLE_NON_SCANNABLE_UNDIRECTED = 0x05, CONNECTABLE_NON_SCANNABLE_UNDIRECTED = 0x05,