cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable
        how to convert peerbdaddr of scan report to CYBLE_GAP_BD_ADDR_T, so that i can compare the scan report address with whitelist address or is there another way to compare the same. I was trying to write the code for comparison as if(scanreport->peerbdaddr == whitelistbackup) then execute this... whitelistbackup holds all the address in the whitelist and it is of the struct CYBLE_GAP_BD_ADDR_T, but for peerbd address i cannot use that. please help Vaisakh Haridas vaisakh.hari21@gmail.com +91 8879009971   
0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator

Hello Vaisakh,

   

I think you are not comparing the address in correct format.

   

You can refer the address comparison between the adv report address and bonded list device address in the attached project.

   

Do the same procedure for your application.

   

Thanks,

   

Anjana

View solution in original post

0 Likes
1 Reply
AnjanaM_61
Moderator
Moderator

Hello Vaisakh,

   

I think you are not comparing the address in correct format.

   

You can refer the address comparison between the adv report address and bonded list device address in the attached project.

   

Do the same procedure for your application.

   

Thanks,

   

Anjana

View solution in original post

0 Likes