This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

When the scan request to scan address question.

During scan request, scanA is sent to peripheral. TxAdd is customized as public when it's 0, and random when it's 1.
But there is no exact definition.
At what condition does TxAdd or RxAdd result in 0 or 1?
While scanning through the gap.h header file.
Is it related to the public or part of the random address?

Thanks for reading.

/** @defgroup GAP_ADDR_TYPE_DEFINES GAP Address Types
 * @{
 */


#define ADDRTYPE_PUBLIC               0x00  //!< Use the BD_ADDR

#define ADDRTYPE_STATIC               0x01  //!< Static address

#define ADDRTYPE_PRIVATE_NONRESOLVE   0x02  //!< Generate Non-Resolvable Private Address

#define ADDRTYPE_PRIVATE_RESOLVE      0x03  //!< Generate Resolvable Private Address


/** @} End GAP_ADDR_TYPE_DEFINES */