mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 13:50:28 +00:00
5210ca3eee
The `otJoinerDiscerner` enables new a mechanism for Thread commissioning. The traditional Thread commissioning process uses factory assigned EUI-64 of the device to derive the Joiner ID and identify/filter a joiner (through steering data bloom filter). The Joiner Discerner (which is an unsigned value along with a user-specified bit length up to 64 bits) allows users to have more control and do not rely on factory-assigned EUI-64. On joiner side, when a a Joiner Discerner value is provided, the Joiner code uses the discerner value to derive Joiner ID (appending a random prefix to extend the value to 64 bits) and bloom filter. On commissioner side, users can add different joiners providing either an EUI-64 or an associated Joiner Discerner and the code accordingly match the Joiner IDs and compute steering data bloom filter.