Hi.
I'm currently receiving advertisement packet from beacon scanner app. (nrf51822) (ble_peripheral/experimental_ble_app_multiactivity_beacon/hrs_scanner)
I tried to receive advertise packet with only specified UUID.
To do that I checked UUID in p_evt handler function as follows.
beacon_evt_handler(ble_scan_beacon_evt_t * p_evt) {
if(uuid_cmp(p_evt->rcv_adv_packet.adv_data.uuid.uuid128, specified_UUID, UUID_LENGTH) {
....
}
}
I compared "p_evt->rcv_adv_packet.adv_data.uuid.uuid128" value with specified UUID. (for ex. 0x00112233445566778899aabbccddeeff)
And I set up another nrf51822 board as a beacon advertising with specified UUID.
So, there're 1 beacon scanner & 1 beacon configured for a certain UUID.
I guessed that beacon scanner would get advertisement packet of UUID(0x001122...) only from that beacon.
But, not like my expectation, other advertisement packets comes into beacon scanner.
I mean, other beacon(that are configured to have different UUID) advertisement packets.
That packets has unexpected value but with specified UUID.(0x001122...)
I don't understand how other beacon's advertisement packet has custom UUID.
I checked out address value of these strange packets.
and I found that owners of these packet are other devices. ( other beacon scanner, ble device - not iBeacon device, etc)
But, there's no clue how they have same UUID that I specified as custom. (0x001122...)
Is there some sort of broadcasting feature in ble or beacon? (If it is, then, how can I filter out that?)
And one more question for setting up beacon scanner.
Is it possible to setup beacon scanner without advertising?
When I stop advertising in beacon scanner it dies.
I just want to receive advertisement of other beacons. not advertising.
Thanks in advance.