Ryan Powell

Results 549 comments of Ryan Powell

>At completing discovery, 44:16:22:5e:b2:d4 was found without name so that's why [my program cannot detect it as xbox controller](https://github.com/asukiaaa/arduino-XboxSeriesXControllerESP32/blob/ab3a32a872b34da0b6f78d9badcb57128957b022/src/XboxSeriesXControllerESP32_asukiaaa.hpp#L138) in this case. (active scan is disabled?) The cause of this...

Something strange is happening here. What version of NimBLE are you using? The error in the timer command function has had a workaround for a while now and should not...

@asukiaaa I've tried your example code to reproduce the error and have not been successful yet. I removed the calls to `reset()` and there has been no problem. One thing...

Try extending your scan time. What could be happening is the scan is stopping before the controller has a chance to respond the the scan response request (which is where...

I would attempt to leverage these parameters `appearance: 964, manufacturer data: 060000, serviceUUID: 0x1812` for detection. These should be in the main advertisement packet, allowing you to disable active scanning...

This is a pretty common error and is usually due to the device not responding within the connection interval set. The message `lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2)` is...

Try removing this function: https://github.com/asukiaaa/arduino-XboxSeriesXControllerESP32/blob/d4706184842e821deaa7708742f8ea31a60025c5/src/XboxSeriesXControllerESP32_asukiaaa.hpp#L63 That will let the controller dictate the connection parameters. Also I would remove this: https://github.com/asukiaaa/arduino-XboxSeriesXControllerESP32/blob/d4706184842e821deaa7708742f8ea31a60025c5/src/XboxSeriesXControllerESP32_asukiaaa.hpp#L276 The default of 30 seconds is enough To improve scan...

Is this the complete log, nothing edited after `Found Spark Control - trying to connect`? I'm not familiar with the M5 calls so I don't know what `M5.update()` does in...

Strange, I wonder what would happen if you called `pClient->discoverAttributes()` before the call the get the service? Other than that it seems the device isn't getting the response it wants...

The latest release should fix this error. Please try it and let me know.