Copy BLE device address

Hi all, Im trying to copy the BLE address of my device in order to connect when a command need to be executed, so Im trying something like these:

bleAddress.copy(scanResults[i].address);

but when compiling the project:

error: 'class particle::BleAddress' has no member named 'cop'
             bleAddress.copy(scanResults[i].address);

Can someone share some lights on these please, thanks!!!

Jaime

I think I got these resolved like these:

scanResults[i].address.operator=(bleAddress);

Jaime

1 Like