I want that only known, authorized devices can connect to my bluetooth service.
I tried the code below:
I removed my client device from the known devices, but my client just connects to the phone, no confirmation is needed.
self.sock = socket.socket(socket.AF_BT, socket.SOCK_STREAM)
socket.bt_advertise_service(u"pys60_remote", self.sock, True, socket.RFCOMM)
socket.set_security(self.sock, socket.AUTH | socket.ENCRYPT | socket.AUTHOR)
I want a popup that tells me that a device wants to connect (like for OBEX filetransfers).
Anybody knows what I've done wrong?
I'm using PyS60 1.4.5 on a Nokia N73.