-
Notifications
You must be signed in to change notification settings - Fork 13
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
Software Building Issues #5
Comments
Thanks for pointing out these things!
void BleKeyboard::end(void) void BleKeyboard::start(void) { } Any suggestions if that can be done better? |
Update: Regarding the start() and stop() I am considering implementing an inheriting class to have everything separated properly. |
Update: I have now implemented a new class SparkBLEKeyboard which inherits from BleKeyboard. BleKeyboard is back to original, unpatched form. |
Hello and thanks you for the work done. If someone can help me, thanks ! sketch\src\SparkBLEKeyboard.cpp.o:(.rodata._ZTV16SparkBLEKeyboard[vtable for SparkBLEKeyboard]+0x20): undefined reference to |
@FrancisDu09 Have you included the library "ESP32-BLE-Keyboard" to your project? As mentioned in the original post of this issue, the library needs to be added manually as it is not included in the library manager. |
Hi @stangreg , thanks for the quick reply and fixes. I think your new inheriting class is a good solution. It looks like the design of ESP32-BLE-Keyboard does indeed cause the define to not work as expected, but as it turns out this is already a known issue - T-vK/ESP32-BLE-Keyboard#111 (comment) |
Hi @stangreg and @ServError and thanks. Serial console : it loops on this at startup. rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
@FrancisDu09 think you are close now. Before uploading, make sure to configure the right partition scheme (see the Readme file): Partition scheme: Minimal SPIFFS (Large APPS with OTA) Maybe you want to start with a minimal preset list, then you can add new presets you like via the mobile Spark App. |
I added the plugin and uploaded the files. rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
@FrancisDu09 looking at the log output, I think the missing presets were not the reason for the reboots. |
Thanks I NimBLEScan: "Updated advertiser: 4e:77:13:0c:f4:25" |
I order a display and I tell you. |
@FrancisDu09 if the restarting log is gone, Ignitron is now looking for the Spark Amp to connect. Do you have the Spark Amp switched on and not connected to the Spark App? |
Hello and thank you @stangreg |
@stangreg Thank you a great project. I am having an issue when compiling you code in ArduinoIDE. I get the following error; Why is this happening? |
@Celticpure Thank you for your feedback. |
I have checked the file and there is nothing different from the file in your repository. I might need to update my IDE perhaps? I will try this any report back. Thanks for your help. |
I could also be that somehow the first line of the file "SparkBLEKeyboard.cpp" in your version got deleted. |
@Celticpure Please follow the link in my comment above to fix the BLE Keyboard library, that should resolve your issue. |
This link? |
Correct |
As there was no further communication here, I assume this is resolved. |
Wanted to document the following while trying to build via Arduino IDE:
Let me know if you'd like a PR for these changes.
The text was updated successfully, but these errors were encountered: