#๐Ÿ”’ Bluetooth HID

48 messages ยท Page 1 of 1 (latest)

bold fiber
#

Is it possible to send a Bluetooth signal with the HID protocol from a Windows 11 laptop (with pybluez)?

analog deltaBOT
#

@bold fiber

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

bold fiber
#

my current program:

#
import bluetooth
import os
os.system("cls")

print("Searching for bluetooth devices...")
devices = bluetooth.discover_devices(lookup_names=True)
os.system("cls")
print(f"Found {len(devices)} devices:\n")

print(devices)

i = 0
for addr, name in devices:
    i += 1
    print(f"    {i}. {name}")

input("\n")```
honest radish
#

Yea but it doesnt work with pybluez because it has not build in support for HID profile

bold fiber
#

ooh okay

#

but it's possible with another library right?

honest radish
#

Yess

#

When iam right you can use like pywinusb or smt

#

pyhidapi

#

Ah nvm you want to send by Bluetooth and pywinusb is only for usb HID

bold fiber
honest radish
#

ah no wait its also only for usb :>

#

wait, is windows supporting Bluetooth HID Emulation

bold fiber
honest radish
bold fiber
#

Yeah

#

so I can type on another laptop throug python

honest radish
#

yea ok that doesnt work, so windows can receive HID signals but not allow to emulate a Bluetooth HID device

#

so you need smt like an Esp 32

bold fiber
honest radish
#

a microcontroller that can act as a Bluetooth HID device

bold fiber
#

oh..

#

but there is no other solution

honest radish
#

you can make it through Wifi so not with Bluetooth

bold fiber
#

how?

honest radish
#

poaahhh i guess this is a lill bit harder so i you need on one device the server with pynut and on the other the sender

bold fiber
#

ooh

#

no nvm it will not be what I need

honest radish
#

ah you wont have on one device like an keyboard to type on another device

#

i dont get it sorry :<

#

iam so dump

bold fiber
#

You said that I have to launch a programm on the host

bold fiber
bold fiber
#

but I just want to launch and type on another device without any preparation

honest radish
bold fiber
#

Do you want me to get honest?

honest radish
#

Yes?

bold fiber
#

Like actually I'm quite interested in cybersecurity and I did several "hack" (I didn't used them and I will never) it's just like for fun or smth idk And I see that someone manage to control the keyboard of a computer without anything and I would like to do smth like that

honest radish
#

okay, so iam out on that, iam also not knowledged about that sorry

bold fiber
#

okay no probleme thank you ๐Ÿ™

honest radish
#

yea no probelm, but good luck on that

bold fiber
#

thanks ๐Ÿ™โค๏ธ

#

!close

analog deltaBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.