Documentation ¶
Overview ¶
* This is a quick prototype of a server that handles update requests from devices. * At present it doesn't do much, but shows what's possible. * * --fw_map specifies a map of version pattern -> update URL: --fw_map v1=u1,v2=u2,... * Version reported by the firmware is matched against patterns in order and if a pattern matches, * a redirect response to the corresponding URL is sent (note that firmware supports only absolute URLs). * An empty URL is an explicit instruction to do nothing (sends a 304 response). * The same happens if reported version does not match any of the patterns. * Example: * --fw_map 123=https://server1/v456.zip,456=https://server2/v789.zip
Click to show internal directories.
Click to hide internal directories.