I am using the following to extract the Device_Name from an advertised packet received on an Arduino Primo: peer.getFieldInAdvPck(BLE_GAP_AD_TYPE_COMPLETE_LOCAL_NAME, advertisedName, len); How am I able to extract the MAC and RSSI?
I am using the following to extract the Device_Name from an advertised packet received on an Arduino Primo: peer.getFieldInAdvPck(BLE_GAP_AD_TYPE_COMPLETE_LOCAL_NAME, advertisedName, len); How am I able to extract the MAC and RSSI?
Many thanks. I just needed to change: char address = peer.address(); to const char address = peer.address();
Ah, I forgot about that..
Good to hear you figured it out :)
Ah, I forgot about that..
Good to hear you figured it out :)