2 Replies Latest reply on May 21, 2020 2:06 PM by IvBu_1817031

    How to use CYBLE_GAP_ADDR_TYPE_PUBLIC and CYBLE_GAP_PUBLIC_ADDR?

    IvBu_1817031

      There are two definitions with similar names but different values in CyBle_StackGap.h - CYBLE_GAP_ADDR_TYPE_PUBLIC (value 0), and CYBLE_GAP_PUBLIC_ADDR. (value 2). The structure CYBLE_GAP_BD_ADDR_T also has a field named type, which should be 0 for a public address and 1 for a random one.

      I would like to clarify how I can correctly use those definitions - when or where is each one of them intended to be used?