Projekt

Allgemein

Profil

Feature #429

Von Maximilian Seesslen vor etwa 1 Jahr aktualisiert

There should not only be point-to-point connections. Each device should talk to each device.
So a package contains:

* node-address; 1B (Section)
* Package-ID

(Device needs to send broadcasts periodically to advertise itself.)
Device needs to send broadcasts at start to reset current package-id.

h1. Implementation 1

-Address filtering is not enabled in the device.-
When sending an package, it is only send to broadcast address a single time but is stored in the transmit-list for each target section.
When a resend is necessary, it only sends the package to the section address.
Acknowledges are only send to the package source section.

* -The latest package-id is tracked for each section.- The entries in the send-list contain a bit-mask for the sections
* The entries in the send-list contains a single retry-counter. When a retry-count is exceeded, al sections in the mask are affected.


h2. Syncing on restart of single Section

* Single sections should be disconnectable
* Nodes have to track existing sections.
* How does new node introduce?
* On power-on all sections are enabled. The device sends intro-packages to all sections. If large retry-count do not pass, sections get disabled.

Zurück