Hi. I'm using PCA10028, SDK10.0.0 S130.
I think "ble_app_hrs_rscs_relay" provides Central function and Peripheral function. So it should be advertising right after running program.
I just added code as below to get bd address of nRF51 on PCA10028 board.
int main(void) {
......
ble_gap_addr_t addr;
ble_gap_addr_t * p_addr = &addr;
err_code = sd_ble_gap_address_get(p_addr);
if(err_code==0){
printf("address :");
}
int i;
for(i=0;i<6;i++)
{
printf(" %x", p_addr->addr[i]);
}
printf("\n\r");
...... }
It returns "90 ee 62 e8 c7 f9", but I can't find this bd address at Cetral device. I'm sure the Central Device is OK because it shows me other device's bd address.
Is this sample code advertising? I hope your reply.