attendance system in pybluez

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Aug 9 07:53:11 EDT 2014


luofeiyu wrote:

> I want to write a program to help my teacher to take attendence.
> 
> There are 300 students in a big room,everyone has android phone.

If your students allow strange devices to connect to their android phones,
then they won't remain their android phones for very long. They will belong
to whatever hacker takes control of them first.

http://blog.kaspersky.com/bluetooth-security/


> I have matched them with my pc in win7 .
> when all of them seated on the classroom,
> 
> import bluetooth
> nearby_devices = bluetooth.discover_devices(lookup_names = True)
> print("found %d devices" % len(nearby_devices))
> 
> 
> The function can discover all of them ? 300 bluetooth mac address?

You will have to ask the author of the bluetooth module. Where did you find
it? Does it come with documentation? Did you read it?



-- 
Steven




More information about the Python-list mailing list