Skip to content

Error message when trying to OTA Update #45

Description

@volodymyr-malishevskyi

Hi,

i use esp01 and PlatformIO and i inserted part of OTA update code to my message handler function:

void messageHandler(FB_msg& msg) {
  if (msg.OTA && msg.chatID == "my_secret_id") bot.update();
  ...
}

but when i send .bin file from ".pio\build\esp01\firmware.bin" to bot, i get the following:
image

Maybe i have wrong platformio.ini config:

[env:esp01]
platform = espressif8266
board = esp01
board_build.flash_mode = dout
board_build.f_cpu = 160000000L
upload_speed = 115200
framework = arduino
monitor_speed = 115200
lib_deps = 
	gyverlibs/FastBot@^2.26

How i can fix it?

Thank you in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions