Take a look at blemouse2xac which reconnects bonded BLE mice without pairing.
It is an Arduino program but the logic should applicable.
https://github.com/touchgadget/blemouse2xac
Search found 15 matches
- Tue Oct 03, 2023 6:14 am
- Forum: ESP-IDF
- Topic: Differences between Nimble and Bluedroid, and a question.
- Replies: 1
- Views: 1998
- Fri Sep 23, 2022 6:09 am
- Forum: ESP32 Arduino
- Topic: Using Bluetooth HID with ESP32
- Replies: 2
- Views: 4610
Re: Using Bluetooth HID with ESP32
I was able to get a BLE mouse working using this code. Thre is an example for a BLE joystick/gamepad.
https://github.com/esp32beans/BLE_HID_Client
And there is another example.
https://www.instructables.com/ESP32-Blu ... e-Control/
https://github.com/esp32beans/BLE_HID_Client
And there is another example.
https://www.instructables.com/ESP32-Blu ... e-Control/
- Wed Jun 15, 2022 10:06 pm
- Forum: General Discussion
- Topic: TinyUSB on ESP32-S3 lessons
- Replies: 5
- Views: 6177
Re: TinyUSB on ESP32-S3 lessons
arduino-esp32 includes a USB gamepad example for S2/S3.
https://github.com/espressif/arduino-es ... amepad.ino
https://docs.espressif.com/projects/ard ... arted.html
https://github.com/espressif/arduino-es ... amepad.ino
https://docs.espressif.com/projects/ard ... arted.html
- Thu May 19, 2022 4:37 pm
- Forum: ESP-IDF
- Topic: USB host EP 0 STALL
- Replies: 4
- Views: 4280
Re: USB host EP 0 STALL
The Xbox 360 controller is generally a human interface device but is not a USB HID. bInterfaceClass must be equal to 3 for a USB HID.
My Xbox 360 cheap clone is a vendor specific device. I suspect authentic Xbox 360 controllers are also vendor specific devices.
My Xbox 360 cheap clone is a vendor specific device. I suspect authentic Xbox 360 controllers are also vendor specific devices.
- Mon May 16, 2022 6:09 pm
- Forum: Hardware
- Topic: USB Host example on ESP32-S3-DevKitC-1
- Replies: 9
- Views: 13556
Re: USB Host example on ESP32-S3-DevKitC-1
Look at the link for how to wire up a USB host connector on S2/S3. A USB OTG host cable is not sufficient because the USB port does not provide VBUS 5V output.
https://github.com/touchgadget/esp32-usb-host-demos
https://github.com/touchgadget/esp32-usb-host-demos
- Wed May 04, 2022 9:49 pm
- Forum: ESP-IDF
- Topic: ESP32-S3 USB host interface to keyboard
- Replies: 11
- Views: 15680
Re: ESP32-S3 USB host interface to keyboard
Take a look these demos. Not complete implementations but maybe enough to get started. The code is for Arduino but is mostly C code that can be used with the IDF also.
https://github.com/touchgadget/esp32-usb-host-demos
https://github.com/touchgadget/esp32-usb-host-demos
- Thu Oct 22, 2020 3:53 am
- Forum: ESP32 Arduino
- Topic: ESP32-S2-Kaluga-1 USB won't show serial port
- Replies: 1
- Views: 3238
Re: ESP32-S2-Kaluga-1 USB won't show serial port
https://docs.espressif.com/projects/esp ... ction.html
You may have to install FTDI serial drivers as mentioned above.
You may have to install FTDI serial drivers as mentioned above.
- Fri Mar 08, 2019 9:30 pm
- Forum: ESP32 Arduino
- Topic: Trouble with SoftwareSerial. Alternative recommendations?
- Replies: 4
- Views: 12558
Re: Trouble with SoftwareSerial. Alternative recommendations?
I use hardware Serial2 pins RX=16,TX=17 on a SparkFun Thing ESP32.
Code: Select all
Serial2.begin(115200);
...
while (Serial2.available() > 0) {
Serial2.read();
}
- Sat Mar 02, 2019 1:13 am
- Forum: ESP32 Arduino
- Topic: parse http data from website
- Replies: 4
- Views: 9636
Re: parse http data from website
Wunderground previously supported a free HTTP API to return weather data in JSON. It was easy to use and many demos/example programs used it to create WiFi weather display stations. This service is no longer free so scraping the weather data from HTML is one option. Another option is to use openweat...
- Wed Feb 13, 2019 9:02 pm
- Forum: General Discussion
- Topic: How to connect USB keyboard to ESP32?
- Replies: 11
- Views: 60121
Re: How to connect USB keyboard to ESP32?
I have been experimenting with using a SAMD21 (Trinket M0) in USB host mode to do something similar. The keyboard data (ASCII or USB HID report) is exported via UART so the ESP32 or ESP8266 does not need to know anything about USB host mode. Also this means it works with MicroPython, Espruino, Ardui...