Multiple frames from BLE device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Getting into this bluez programming, I have a BLE beacon that transmits 3 different frames, however, when I use very similar code from hcitool.c :

while(select(descriptor) ) {
…
…
…
	int len = read(descriptor);
..
…
…
}

It always gets a single frame from the beacon, I never see the 3 different frames, after I reset the parameters to start the scan again, I may see a different frame for a little while, then I might see another frame for a little while.
I suspect the underlying code is only accepting one advertisement per cycle, and then ignoring all subsequent advertisements from the same MAC address ? (just a guess)

So my question is, what is the correct way to get multiple advertisements from the same beacon, if my assumption above is correct ?
I have been studying the bluez tools code to try and work around it, but thought I would cut to the chase and get some professional advice from the guru’s on this list :-)

Thanks again for you help in advance.

Cheers
Jason





--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux