Skip to content

get stuck after wifi connectedΒ #54

@tomaszduda23

Description

@tomaszduda23

Just random connection problem. The fist connection failed due to missing HUD. After that it never recovers until restart.

/usr/bin/aa-proxy-rs
1970-01-01, 00:01:29.217 [INFO] πŸ›Έ aa-proxy-rs is starting, build: 20250827_055702, git: 4fdec69-br#8d85de5
1970-01-01, 00:01:29.219 [INFO]  main:  πŸ“Ÿ SBC model: Raspberry Pi Zero W Rev 1.1
1970-01-01, 00:01:29.221 [INFO]  main:  βš™οΈ config loaded from file: /etc/aa-proxy-rs/config.toml
1970-01-01, 00:01:29.225 [INFO]  main:  πŸ“œ Log file path: /var/log/aa-proxy-rs.log
1970-01-01, 00:01:29.231 [INFO]  proxy:  πŸ›°οΈ Starting TCP server for MD...
1970-01-01, 00:01:29.236 [INFO]  proxy:  πŸ›°οΈ MD TCP server bound to: 0.0.0.0:5288
1970-01-01, 00:01:29.236 [INFO]  proxy:  πŸ’€ waiting for bluetooth handshake...
1970-01-01, 00:01:29.238 [INFO]  main:  webserver running at http://0.0.0.0:80/
1970-01-01, 00:01:29.245 [INFO]  usb:  πŸ“¬ Starting UEvent listener thread...
1970-01-01, 00:01:29.248 [INFO]  usb:  Using UDC: "20980000.usb"
1970-01-01, 00:01:29.248 [INFO]  usb:  πŸ”Œ Initializing USB Manager
1970-01-01, 00:01:29.255 [INFO]  usb:  πŸ”Œ USB Manager: Disabled all USB gadgets
1970-01-01, 00:01:29.264 [INFO]  bluetooth:  πŸ₯ Bluetooth alias: aa-proxy-530f2b
1970-01-01, 00:01:29.306 [INFO]  bluetooth:  πŸ₯ Opened bluetooth adapter hci0 with address xx:xx:xx:xx:xx:xx
1970-01-01, 00:01:29.489 [INFO]  bluetooth:  πŸ“± AA Wireless Profile: registered
1970-01-01, 00:01:29.503 [INFO]  bluetooth:  🎧 Headset Profile (HSP): registered
1970-01-01, 00:01:29.507 [INFO]  bluetooth:  ⏳ Waiting for phone to connect via bluetooth...
1970-01-01, 00:01:29.508 [INFO]  bluetooth:  πŸ₯ Enumerating known bluetooth devices...
1970-01-01, 00:01:29.525 [INFO]  bluetooth:  🧲 Trying to connect to: yy:yy:yy:yy:yy:yy (aaa)
1970-01-01, 00:01:32.271 [INFO]  bluetooth:  🎧 Headset Profile (HSP): connect from: yy:yy:yy:yy:yy:yy
1970-01-01, 00:01:32.279 [INFO]  bluetooth:  πŸ”— Successfully connected to device: yy:yy:yy:yy:yy:yy (aaa)
1970-01-01, 00:01:32.774 [INFO]  bluetooth:  πŸ“± AA Wireless Profile: connect from: yy:yy:yy:yy:yy:yy
1970-01-01, 00:01:32.776 [INFO]  bluetooth:  πŸ“² Sending parameters via bluetooth to phone...
1970-01-01, 00:01:32.777 [INFO]  bluetooth:  πŸ›œ Sending Host IP Address: 10.0.0.1
1970-01-01, 00:01:32.780 [INFO]  bluetooth:  πŸ“¨ stage #1 of 5: Sending WifiStartRequest frame to phone...
1970-01-01, 00:01:32.883 [INFO]  bluetooth:  πŸ“¨ stage #2 of 5: Received WifiInfoRequest frame from phone (⏱️ 98 ms)
1970-01-01, 00:01:32.883 [INFO]  bluetooth:  πŸ›œ Sending Host SSID and Password: aa-proxy, aa-proxy
1970-01-01, 00:01:32.884 [INFO]  bluetooth:  πŸ“¨ stage #3 of 5: Sending WifiInfoResponse frame to phone...
1970-01-01, 00:01:32.886 [INFO]  bluetooth:  πŸ“¨ stage #4 of 5: Received WifiStartResponse frame from phone (⏱️ 0 ms)
1970-01-01, 00:01:33.582 [INFO]  bluetooth:  πŸ“¨ stage #5 of 5: Received WifiConnectStatus frame from phone (⏱️ 693 ms)
1970-01-01, 00:01:33.582 [INFO]  proxy:  πŸ›°οΈ MD TCP server: listening for phone connection...
1970-01-01, 00:01:33.585 [INFO]  bluetooth:  πŸš€ Bluetooth launch sequence completed
1970-01-01, 00:01:33.597 [INFO]  usb:  πŸ”Œ USB Manager: Enabled default gadget
1970-01-01, 00:01:33.598 [INFO]  bluetooth:  πŸ₯· Unregistering default agent
1970-01-01, 00:01:33.600 [INFO]  bluetooth:  πŸ“± Removing AA profile
1970-01-01, 00:01:33.601 [INFO]  bluetooth:  🎧 Removing HSP profile
1970-01-01, 00:01:33.634 [INFO]  bluetooth:  πŸ’€ Bluetooth adapter powered off
1970-01-01, 00:01:34.030 [INFO]  proxy:  πŸ“³ TCP server: new client connected: 10.0.0.19:47888
1970-01-01, 00:01:34.031 [INFO]  proxy:  πŸ“‚ Opening USB accessory device: /dev/usb_accessory
1970-01-01, 00:01:34.035 [INFO]  proxy:  ♾️ Starting to proxy data between HU and MD...
1970-01-01, 00:01:34.039 [INFO]  proxy:  βš™οΈ Showing transfer statistics: disabled
1970-01-01, 00:01:36.599 [ERROR]  usb:  πŸ”Œ USB Manager: Timeout waiting for accessory start, trying to recover...
1970-01-01, 00:01:36.600 [INFO]  usb:  πŸ”Œ USB Manager: Enabled default gadget
1970-01-01, 00:01:39.603 [ERROR]  usb:  πŸ”Œ USB Manager: Timeout waiting for accessory start, trying to recover...
1970-01-01, 00:01:39.604 [INFO]  usb:  πŸ”Œ USB Manager: Received accessory start request
1970-01-01, 00:01:39.720 [INFO]  usb:  πŸ”Œ USB Manager: Switched to accessory gadget
1970-01-01, 00:01:44.072 [ERROR]  proxy:  πŸ”΄ Connection error: unexpected transfer stall
1970-01-01, 00:01:44.073 [INFO]  proxy:  βŒ› session time: 10s 34ms 958us
1970-01-01, 00:01:44.074 [INFO]  main:  πŸ“΅ TCP/USB connection closed or not started, trying again...
1970-01-01, 00:01:44.076 [INFO]  proxy:  πŸ’€ waiting for bluetooth handshake...
1970-01-01, 00:01:45.076 [INFO]  usb:  πŸ”Œ Initializing USB Manager
1970-01-01, 00:01:45.086 [INFO]  usb:  πŸ”Œ USB Manager: Disabled all USB gadgets
1970-01-01, 00:01:45.101 [INFO]  bluetooth:  πŸ₯ Bluetooth alias: aa-proxy-530f2b
1970-01-01, 00:01:45.135 [INFO]  bluetooth:  πŸ₯ Opened bluetooth adapter hci0 with address xx:xx:xx:xx:xx:xx
1970-01-01, 00:01:45.318 [INFO]  bluetooth:  πŸ“± AA Wireless Profile: registered
1970-01-01, 00:01:45.330 [INFO]  bluetooth:  🎧 Headset Profile (HSP): registered
1970-01-01, 00:01:45.331 [INFO]  bluetooth:  ⏳ Waiting for phone to connect via bluetooth...
1970-01-01, 00:01:45.331 [INFO]  bluetooth:  πŸ₯ Enumerating known bluetooth devices...
1970-01-01, 00:01:45.351 [INFO]  bluetooth:  🧲 Trying to connect to: yy:yy:yy:yy:yy:yy (aaa)

#connected but nothing happen from now

1970-01-01, 00:01:52.156 [INFO]  bluetooth:  πŸ”— Successfully connected to device: yy:yy:yy:yy:yy:yy (aaa)  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions