vovagorodok / ArduinoBleOTA

Upload firmware over Bluetooth
MIT License
24 stars 8 forks source link

Where do all the includes in BleOtaStorage.h come from ? #13

Closed sdetweil closed 1 year ago

sdetweil commented 1 year ago

I don't see an InternalStorageESP.h, just trying to build using examples/basic/main.ino

In file included from /Users/sam/Documents/Arduino/libraries/ArduinoBleOTA-main/src/ArduinoBleOtaClass.h:2,
                 from /Users/sam/Documents/Arduino/libraries/ArduinoBleOTA-main/src/ArduinoBleOTA.h:6,
                 from /Users/sam/Documents/Arduino/test_ota/test_ota.ino:1:
/Users/sam/Documents/Arduino/libraries/ArduinoBleOTA-main/src/BleOtaStorage.h:13:10: fatal error: InternalStorageESP.h: No such file or directory
 #include "InternalStorageESP.h"
          ^~~~~~~~~~~~~~~~~~~~~~
vovagorodok commented 1 year ago

It's from jandrassy/ArduinoOTA@^1.0.9, that ArduinoBleOTA depends on

See: https://github.com/vovagorodok/ArduinoBleOTA/blob/main/platformio.ini

sdetweil commented 1 year ago

yeh, not using platformio..

vovagorodok commented 1 year ago

What are you using? And what I should add in library in order to see dependencies by users?

sdetweil commented 1 year ago

I am using Arduino IDE

so I had to download each lib as a zip and add as library..

I am trying to add ESP32 non nimble to your lib, as I can't get Nimble to work and a couple other things..

I have already created a BLE server, so I don't need you to do that and I control advertising, not you..

so I need another begin() method where I pass the server and advise on advertising... and it should return the service pointer.

sdetweil commented 1 year ago

so a comment in the doc with the github links to dependencies if not using platformio

sdetweil commented 1 year ago

using platfrormio now