Skip to content

Commit 71f59ea

Browse files
add comments
1 parent c79ffd1 commit 71f59ea

File tree

1 file changed

+4
-0
lines changed
  • features/FEATURE_BLE/ble/gap

1 file changed

+4
-0
lines changed

features/FEATURE_BLE/ble/gap/Types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ struct advertising_type_t : SafeEnum<advertising_type_t, uint8_t> {
152152
/**
153153
* Device is connectable, scannable and doesn't expect connection from a
154154
* specific peer.
155+
* @note Cannot carry extended advertising payload, only legacy PDUs.
156+
* Use CONNECTABLE_NON_SCANNABLE_UNDIRECTED for non-legacy payload.
155157
*
156158
* @see Vol 3, Part C, Section 9.3.4 and Vol 6, Part B, Section 2.3.1.1.
157159
*/
@@ -185,6 +187,8 @@ struct advertising_type_t : SafeEnum<advertising_type_t, uint8_t> {
185187

186188
/**
187189
* Device is connectable, but not scannable and doesn't expect connection from a specific peer.
190+
* @note Only for use with extended advertising payload, will not allow legacy PDUs
191+
* (use CONNECTABLE_UNDIRECTED for legacy PDU).
188192
*/
189193
CONNECTABLE_NON_SCANNABLE_UNDIRECTED = 0x05,
190194

0 commit comments

Comments
 (0)