opentx / opentx

OpenTX custom firmware for Transmitters
GNU General Public License v2.0
2.07k stars 804 forks source link

Bluetooth PIN Code showing in Hardware just default Value #8631

Open hpoorthuis opened 3 years ago

hpoorthuis commented 3 years ago

others already reports similar Issues before: https://github.com/opentx/opentx/issues/6440 https://github.com/opentx/opentx/issues/7381 https://github.com/opentx/opentx/issues/7381

I did build the FrSky Bluetooth Module in to MY TX16s image and yes I got the Telematik Data, until the Module close the Connection because of Pairing failure.

The Pin code showing is just Hardcode: but my Modem seems not to like the default Pin Codes like 0000 or 1234 or 1111 or 000000. This may functions with the HC06 /HC08. but not with the FrSky Bluetooth Module for Horus , witch fits and function in the TX16S image

I spy a little bit on the Port and in opentx code: Commands send to the Modem: [06][06]fž†[18]fff`[06][1E]怘€AT+NAMEtelemetry AT+TXPW0 AT+ROLE0 ANSWERS: Peripheral:4C24983834F6 and some OK

to get the Correct Pin code to Show it have to be Requested, But in the OpenTX Code there is no AT+ PSWD? command! further Request would be that the Pin Code can be Set by the Hardware Menu (AT+PSWD=Param1)

Set/Inquire passkey AT+ PSWD? AT+PSWD=Param1

3djc commented 3 years ago

The firmware in FrSky module is proprietary and afaik does not allow pw change

chemata commented 3 years ago

And what pin works? In mine does not work the "000000" - It is impossible to connect it to the phone (android)

hpoorthuis commented 3 years ago

what about a new feature , at least try to read the pin and show on success the correct code instead of the "000000" AT+PSWD? should do the work on the most Modems

3djc commented 3 years ago

As I said, password on FrSky BT firmware is locked to 000000, and there is no command to read it or change it

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.