servalproject / mesh-extender-builder

Creates firmware and file system images for easy building of Serval Mesh Extenders
10 stars 6 forks source link

Reflashing a mesh extender can fail if another mesh extender is in range on 915MHz #4

Closed gardners closed 8 years ago

gardners commented 9 years ago

It seems like mesh extenders talking to their radios at the wrong baud rate can get all confused, resulting in RFD900 radios refusing to switch to command mode (see Issue #3), and generally confusing servald. Because the RFD900 flash process then fails, the process continues, until the mesh extender is booted in the absence of another mesh extender, which should allow the radio to flash without trouble, and all to go well.

gardners commented 8 years ago

The flash900 utility has been updated to be more robust in the face of such situations, including correctly forcing the baud rate back to a desired setting on exit.