Gluon 2014.3
New hardware support
- Linksys WRT160NL
New features
New autoupdater
The autoupdater has been rewritten.
Two new fields have been added to the manifest:
DATE
- Specifies the time and date the update was released.
make manifest
will take care of setting it to the correct value. PRIORITY
- Specifies the maximum number of days until the update should be attempted (thus lower numbers
mean the priority is higher). It must be set either in
site.mk
or on themake manifest
command line.
Updates will be attempted at night, between 04:00 and 5:00, with a specific probability.
When less than PRIORITY
days have passed (calculated using DATE
and the current time),
the probability will proportional to the time passed. I.e. the update probability will start at 0
and slowly increase to 1 until PRIORITY
days have passed. From then, the probability will be fixed at 1.
Note: For the new update logic to work, a valid NTP server reachable over the mesh (using IPv6) must
be configured in site.conf
. If the autoupdater is unable to determine the correct time, it will fall back to
a behavior similar to the old implementation (i.e. hourly update attempts).
Seperation of announced data
The data announced by alfred has been split into two data types:
- nodeinfo (type 158) contains all static information about a node
- statistics (type 159) contains all dynamic information about a node
Both types also contain a new field node_id
which contains an arbitrary unique ID
(currently the primary MAC address, sans colons) which can be used to match the nodeinfo
with statistics information.