BeyondRobotix / mavesp8266

ESP8266 WiFi Access Point and MAVLink Bridge
Other
182 stars 173 forks source link

Only integer values at http://192.168.4.1/getparameters #34

Closed skleeschulte closed 7 years ago

skleeschulte commented 7 years ago

When navigating to http://192.168.4.1/getparameters, all the values in the list are integer values. This does not make sense e.g. for SSID and password.

I use the pre-built firmware image v1.1.0 which is linked at https://pixhawk.org/peripherals/8266#pre_built_binaries.

dogmaphobic commented 7 years ago

That's because the Mavlink protocol does not support character strings. I stash a 16 character SSID and Password into 4 32-bit (uint32_t) values each.

skleeschulte commented 7 years ago

But wouldn't it be possible to convert the the uint32_t values back to a string?

dogmaphobic commented 7 years ago

That's how it's done. That's how the UI in QGC handles it. The web interface is, so far, mostly a debugging tool.