raburton / rboot-sample

Sample ESP 8266 SDK project demonstrating rBoot OTA
MIT License
23 stars 11 forks source link

How to change the OTA Server by command #2

Closed fvpalha closed 8 years ago

fvpalha commented 8 years ago

Hi.

I think that the values:

#define OTA_HOST "192.168.7.5"
#define OTA_PORT 80

It should not be fixed.

How I can change this values by command?

raburton commented 8 years ago

The values are #defined so you can easily change them if you want to. This is just a sample, I can't see a scenario where you'd need to change this without it being acceptable to edit the file.

fvpalha commented 8 years ago

Thank you @raburton

fvpalha commented 7 years ago

Define your own host and port by command