Commit Graph

11 Commits

Author SHA1 Message Date
Holger Weber
db4964636c Added hostname configuration. 2026-02-26 20:29:39 +01:00
Holger Weber
803c062e81 Added config for web interface. 2026-02-26 20:29:37 +01:00
Holger Weber
3d6144bd7f Added parameters for motor config. 2026-02-26 20:27:52 +01:00
a1ffcb08ca Refactor SerialCommand to support Stream interface and improve command handling
- Added readSerial(Stream &stream) method to allow reading from any Stream-compatible transport.
- Introduced readChar(char inChar) method for processing individual characters.
- Updated command matching logic to enhance debugging output.
- Improved buffer handling and command execution flow.

Enhance platformio.ini for better compatibility and added libraries

- Added NimBLE-Arduino and WebSockets libraries for BLE and WiFi support.
- Updated upload and monitor ports for better compatibility with macOS.

Integrate WiFi and BLE protocol interfaces

- Implemented startWebInterface() to initialize WiFi protocol alongside existing web server.
- Added BLE support with a new EggBot BLE Serial Protocol for command handling over BLE.
- Created WebSocket server for WiFi communication, maintaining compatibility with existing command protocols.

Refactor command handling in Functions.cpp

- Replaced direct Serial.print calls with protocolWrite for consistent output handling.
- Updated command registration to use a lambda function for better readability and maintainability.

Add documentation for EggBot protocols

- Created separate markdown files for BLE, WiFi, and Serial protocols detailing command structures and usage.
- Provided examples of command transactions for better developer guidance.

Implement BLE and WiFi protocol handling in respective source files

- Developed BLE_Interface.cpp for managing BLE connections and data transmission.
- Created WiFi_Protocol.cpp for handling WebSocket communication and data reception.
2026-02-24 22:00:26 +01:00
556c7888de Removed unused variables. 2026-02-21 15:43:09 +01:00
Holger Weber
53e51dc50b Removed not needed config for pen. Use inkscape interface. 2026-02-13 01:12:39 +01:00
Holger Weber
42e9c4d97b Protocol running. 2026-02-13 00:30:34 +01:00
Holger Weber
098c577142 Motors moving 2026-02-12 23:32:32 +01:00
50430b050e Moved to ESP32 and added webinterface for PenConfiguration.
Not working and removed:
- AccelStepper: Move to FastAccelStepper for ESP32
- Servo: Changed to ESP32 - check if that is ok
- Serial Comm Interface now at 115200 -> change back to 9600 later
2026-02-08 21:44:06 +01:00
Holger Weber
cf4c2c6b64 Fixed pinning. 2026-01-31 16:49:28 +01:00
Holger Weber
aa35075bd2 Converted to platformio 2026-01-31 15:49:55 +01:00