Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access phone via Bluetooth
#3
Thank you so much for your reply. I was able to follow the instructions up to the point where I should detect a pressed key. Anyways, I tried everything with my iPhone and it would not detect any tip on the iPhone's screen. What am I missing here? I get the following: device /dev/input/event6, name "XX:XX:XX:XX:XX:XX", phys "" whereas as mentioned before there are no events detected when touching the screen. The script I am using is:

#import evdev
from evdev import InputDevice, categorize, ecodes

#event 6 is dedicated to my iPhone
dev= InputDevice('/dev/input/event6')

#prints out device info at start
print(dev)

for event in dev.read_loop():
    #filters by event type
    if event.type == ecodes.EV_KEY:
        print(event)
Reply


Messages In This Thread
Access phone via Bluetooth - by maxwell - Jun-03-2020, 09:10 AM
RE: Access phone via Bluetooth - by Larz60+ - Jun-03-2020, 10:41 AM
RE: Access phone via Bluetooth - by maxwell - Jun-03-2020, 05:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Microsoft text phone verifying account cito 2 1,008 Jul-21-2022, 12:16 PM
Last Post: cito
  Read data via bluetooth frohr 9 3,460 Jul-10-2022, 09:51 AM
Last Post: frohr
  Connect to HC-05 Bluetooth (NOT BLE) korenron 0 1,491 Jun-26-2022, 09:06 AM
Last Post: korenron
  Read buffer from bluetooth frohr 2 2,170 Jun-01-2022, 01:31 PM
Last Post: frohr
  Scan for Bluetooth device korenron 0 2,648 Jan-10-2022, 01:06 PM
Last Post: korenron
  Sending string commands from Python to a bluetooth device Rovelin 13 9,579 Aug-31-2021, 06:40 PM
Last Post: deanhystad
  ModuleNotFoundError: No module named 'bluetooth' Error Rovelin 4 12,229 Aug-31-2021, 04:04 PM
Last Post: Rovelin
  Send SMS from my phone number aster 3 2,751 Jul-03-2021, 02:34 PM
Last Post: ndc85430
  Bluetooth send message after connecting? korenron 2 2,688 Apr-26-2021, 05:50 AM
Last Post: korenron
  Bluetooth problem Lad 0 1,908 Sep-24-2020, 07:26 PM
Last Post: Lad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020