wiki:ArduinoThinkGearProcessing

Version 10 (modified by sc, 7 years ago) (diff)

--

  • MindWave RF dongle command to request "Auto-connect"

When the dongle receives this command from the application, the dongle will switch into auto-connect mode and connect to any headsets it can find. The dongle will search for headsets for 10 seconds.

Packet Format: (Headset Auto-Connect Command Byte)

Command Byte: 0xC2

The command above will connect to any headsets it can find within 10 seconds. Complete RF documentation attached to this wiki page.

  • dmesg output when connecting USB RF dongle:

Oct 25 19:38:37 localhost kernel: [58969.646815] usb 2-1.2.1.1.4: new full-speed USB device number 36 using ehci_hcd Oct 25 19:38:37 localhost kernel: [58969.732981] usb 2-1.2.1.1.4: New USB device found, idVendor=1a86, idProduct=7523 Oct 25 19:38:37 localhost kernel: [58969.732991] usb 2-1.2.1.1.4: New USB device strings: Mfr=0, Product=2, SerialNumber?=0 Oct 25 19:38:37 localhost kernel: [58969.732997] usb 2-1.2.1.1.4: Product: USB2.0-Serial Oct 25 19:38:37 localhost mtp-probe: checking bus 2, device 36: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.2/2-1.2.1/2-1.2.1.1/2-1.2.1.1.4" Oct 25 19:38:37 localhost mtp-probe: bus: 2, device: 36 was not an MTP device Oct 25 19:38:37 localhost kernel: [58969.765067] usbcore: registered new interface driver ch341 Oct 25 19:38:37 localhost kernel: [58969.765082] USB Serial support registered for ch341-uart Oct 25 19:38:37 localhost kernel: [58969.765095] ch341 2-1.2.1.1.4:1.0: ch341-uart converter detected Oct 25 19:38:37 localhost kernel: [58969.766989] usb 2-1.2.1.1.4: ch341-uart converter now attached to ttyUSB0 Oct 25 19:38:37 localhost dbus-daemon[802]: modem-manager[820]: <info> (ttyUSB0) opening serial port... Oct 25 19:38:37 localhost modem-manager[820]: <info> (ttyUSB0) opening serial port... Oct 25 19:38:49 localhost dbus-daemon[802]: modem-manager[820]: <info> (ttyUSB0) closing serial port... Oct 25 19:38:49 localhost modem-manager[820]: <info> (ttyUSB0) closing serial port... Oct 25 19:38:49 localhost modem-manager[820]: <info> (ttyUSB0) serial port closed Oct 25 19:38:49 localhost modem-manager[820]: <info> (ttyUSB0) opening serial port... Oct 25 19:38:49 localhost dbus-daemon[802]: modem-manager[820]: <info> (ttyUSB0) serial port closed Oct 25 19:38:49 localhost dbus-daemon[802]: modem-manager[820]: <info> (ttyUSB0) opening serial port... Oct 25 19:38:55 localhost dbus-daemon[802]: modem-manager[820]: <info> (ttyUSB0) closing serial port... Oct 25 19:38:55 localhost modem-manager[820]: <info> (ttyUSB0) closing serial port... Oct 25 19:38:55 localhost modem-manager[820]: <info> (ttyUSB0) serial port closed

  • lsusb output

Bus 002 Device 037: ID 1a86:7523 QinHeng? Electronics HL-340 USB-Serial adapter

Attachments (5)

Download all attachments as: .zip