-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues with the name reporting #217
Comments
I downgraded to 0.4.4 and the name reports much more normal. It seems to be a string that looks like D820B5A6 but at least now it is more consistent but I can't seem to change that name and no longer have access to things like setFirmwareRevision or setSerialNumber |
Did you delete/forget your BLE device from the host between changes? BLE attribs and bit are often cached and changes and can cause funny things to happened.
|
I have deleted and re-added the device each time. looks like I was wrong about 0.4.4 working as intended, I had just also rebooted unity at the same time and after a unity reboot it seems okay until I re-pair while unity is still up. All other devices seem fine with a mid run connection but for some reason not my esp32 Looks like if I reboot unity after the pairing then it shows up more normal but for whatever reason it's coming up as an ASRock A02019100900 and on another machine it's coming up as a Texas instruments device of some kind. I think this might be a larger issue on the unity side of things and less of an issue with this library. |
Perhaps if you customise the VID and PID, it will realise its a different board See the CharacteristicsConfiguration example on how to do this |
I would use a tools like nRF Toolbox for Bluetooth LE Which would let you interrogate BLE characteristic & attributes, with very little OS interface. Hope that helps. |
when doing something like
BleGamepad bleGamepad("aaa", "aaa", 100);
or even trying to use the default I see Unknown gamepad on this hardware test site https://hardwaretester.com/gamepad and in unity I get the name showing up as "'ࠁ ܀ש̔ (HID)" but every time I connect to the device it shows up as something completely different but always some random junk data. I am using a doit esp32 devkit 1 board. Everything is working fine in windows and showing the right name, but in other applications it shows the random name.Here is a screen shot in unity of what the device shows up as.
The text was updated successfully, but these errors were encountered: