Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

peripheral_privacy_configuration_t Struct Reference

peripheral_privacy_configuration_t Struct Reference
[Gap]

Privacy Configuration of the peripheral role. More...

#include <Types.h>

Public Types

enum  resolution_strategy_t { DO_NOT_RESOLVE, REJECT_NON_RESOLVED_ADDRESS, PERFORM_PAIRING_PROCEDURE, PERFORM_AUTHENTICATION_PROCEDURE }
 

Resolution strategy for initiator resolvable addresses when a connection request is received.

More...

Data Fields

bool use_non_resolvable_random_address
 Indicates if nonresolvable random address should be used when the peripheral advertises nonconnectable packets.
resolution_strategy_t resolution_strategy
 Connection strategy to use when a connection request contains a private resolvable address.

Detailed Description

Privacy Configuration of the peripheral role.

Note:
This configuration also applies to the broadcaster role configuration.

Definition at line 864 of file Types.h.


Member Enumeration Documentation

Resolution strategy for initiator resolvable addresses when a connection request is received.

Enumerator:
DO_NOT_RESOLVE 

Do not resolve the address of the initiator and accept the connection request.

REJECT_NON_RESOLVED_ADDRESS 

If a bond is present in the secure database and the address resolution fails, then reject the connection request with the error code AUTHENTICATION_FAILLURE.

PERFORM_PAIRING_PROCEDURE 

Perform the pairing procedure if the initiator resolvable address failed the resolution process.

PERFORM_AUTHENTICATION_PROCEDURE 

Perform the authentication procedure if the initiator resolvable address failed the resolution process.

Definition at line 877 of file Types.h.


Field Documentation

Connection strategy to use when a connection request contains a private resolvable address.

Definition at line 911 of file Types.h.

Indicates if nonresolvable random address should be used when the peripheral advertises nonconnectable packets.

Resolvable random address continues to be used for connectable packets.

Definition at line 871 of file Types.h.