Issue in l2cap test #1341
Replies: 2 comments
-
How strange to also stumble upon the same problem on a similar environment (Linux -> Zephyr). I'm trying to connect to an L2CAP server from a PC to an ESP32 with an AF_BLUETOOTH SEQPACKET BTPROTO_L2CAP socket, with no success. Same error: Host is down. The PC side also terminates the entire Bluetooth connection after failing to connect to the channel. I tried with different client devices (WSL + bluetooth dongle, Torizon Linux on a Toradex) and servers (2 different ESP32s that had a listening L2CAP server; my phone and a TV that popped up on a scan that did not have a listening server). Each attempt failed the same way: Host is down, then right after that the Bluetooth connection is terminated by the client (BlueZ) side. @sandysparkz did you ever figure out what was happening on your side? |
Beta Was this translation helpful? Give feedback.
-
Things are looking better! After searching around, my issue was that I was For your problem, @sandysparkz, did you try l2test with one of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone, I'm currently testing the bluez tools like l2ping & l2test, So my intention was to interface between two devices through l2cap layer. I have cloned this repository on two raspberry pi devices, and made necessary configuration to execute those tools, but I didn't get the expected output instead the program stuck at socket level during connect stage on sender due to which the receiver waits on accept stage, also I tried this sample tools on two different systems(PC) got the similar results, can someone guide me on what I'm missing here.
Beta Was this translation helpful? Give feedback.
All reactions