esp32-ogn-tracker icon indicating copy to clipboard operation
esp32-ogn-tracker copied to clipboard

Bluetooth Serial commands

Open lupus78 opened this issue 4 years ago • 7 comments

Pawel, am I right that you can not send configuration commands via the Bluetooth Serial interface?

I tried but no effect. See the attached screenshot, $POGNS,Verbose=0 should turn off the messages.

Screenshot_20200617-120251_Serial Bluetooth Terminal

lupus78 avatar Jun 17 '20 10:06 lupus78

Hi,

I heve exactly the same problem. I was also trying to send the command via Arduino IDE serial monitor also without success. But I am wondering, what should mean what is mentioned at pawel's instructions: "For minicom setup use 115200bps /dev/ttyUSB0 serial port and turn hardware and software handshake OFF. It is important, otherwise if you type something it won't be sent to the ESP32." The problem could be here, but I don't know what the "handshake" is and how to disable it. Does anyone have an idea or hint?

Paulie92 avatar Jul 03 '20 06:07 Paulie92

That is not the same issue. Via the USB cable the terminal works. The Aurdino IDE is not suitable to send the Ctrl-C command, you should use the make's built in serial monitor or minicom to send the Ctrl-C and other key combinations. Read this for more details: http://wiki.glidernet.org/esp32-ogn-tracker

lupus78 avatar Jul 03 '20 09:07 lupus78

I confirm there is no data path from the BT incoming data to the console input, thus I shall create it, possibly today.

Done, please try, if you are able to send commands from BT.

pjalocha avatar Jul 03 '20 10:07 pjalocha

The new version does not work for me now at all. I even cannot cannot connect via bluetooth. Also via the the USB serial connection I cannot see the NMEA data flow. It looks lile the ESP is only rebooting again and again.

Paulie92 avatar Jul 03 '20 18:07 Paulie92

Yes, sorry, a bug, fixed now, please try again.

pjalocha avatar Jul 03 '20 19:07 pjalocha

The ESP is running now but the bluetooth commands still not for me.

Edit: It was my fault, I can confirm that it works;)

Paulie92 avatar Jul 04 '20 06:07 Paulie92

Pawel, thanks the Bluetooth it working! This opens up the possibility to make a desktop or mobile app for configuration.

I suggest to move someof the functional settings from config.h to parameters. Like setting which NMEA sentence to send, or config for Vario parameters. What do you think?

lupus78 avatar Jul 04 '20 07:07 lupus78