You can use the API CyBle_GetDeviceAddress (CYBLE_GAP_BD_ADDR_T *device_address) to get the address of the device. Before calling this API you have to populate the 'type' of the address that you want to read in "device_address" structure. Please refer componet datasheet for more details.
From peer side, you can obtain the advrtising address using advertisement packet. Please refer the event param "CYBLE_GAPC_ADV_REPORT_T" in the component datasheet for more details. This event parameter is obtained with the "CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT" event.
Please update if you have any other/more queries.