hjd1964 / OnStep

Arduino telescope goto for equatorial and alt/az mounts

Home Page:http://www.stellarjourney.com/index.php?r=site/equipment_onstep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better comment to avoid confusion

kbahey opened this issue · comments

Jamie on the mail list was confused by this part, with a Gen-L and WeMos:

#define SERIAL_C_BAUD_DEFAULT         OFF //    OFF, n, ON for ESP32 Bluetooth.
#define SERIAL_C_BLUETOOTH_NAME  "OnStep" // "On..", Bluetooth device name for ESP32.

So better comments can help avoid this confusion:

#define SERIAL_C_BAUD_DEFAULT         OFF //    OFF, n, ON ESP32 internal Bluetooth. Only applies for the MaxESP PCB
#define SERIAL_C_BLUETOOTH_NAME  "OnStep" // "On..", Bluetooth device name for ESP32 MaxESP PCB.

I just don't see the need for this nor is Bluetooth specifically a MaxESP feature (any ESP32) so I won't be changing the comment. Perhaps a better idea would be to reconsider the name of the WiFi-Bluetooth Addon... since it doesn't have BT support.

The confusion is real. See the linked message on how a new OnStep user interpreted: He saw bluetooth in OnStep's Config.h and assumed that there will be bluetooth. He did not notice the ESP32 part.
Change it to any wording that would avoid this confusion.

I am not clear on what the Android App communicates with when using bluetooth? Does it send LX200 commands directly? So there is no web site when using bluetooth?
But yes, if the WiFi-Bluetooth is not needed when using an HC05, then yes, the module should be renamed to just WiFi.

OK, so it is clear that no addon is needed for bluetooth and it is just a direct serial port. That is good. Makes things simple, but no web site. That is not a limitation though.

As for renaming the WiFi-Bluetooth, it was my mistake then. I was the one that recommended that name, not knowing it is not needed at all. So, the repository needs to be renamed WiFi only, which also forces a WiFi-Bluetooth.ino to be renamed as WiFi.ino. This can be deferred to 4.x.

As for the comment in OnStep's Config.h, I thought that the ESP32 baud rate and bluetooth are only when one has a MaxESP board, so the builtin bluetooth feature of the ESP32 MCU is what is providing the connection.

So I am the one that is confused. Can you clarify this part to me?