Changelog
Latest Changes
- Branch:
- develop
- Commit:
contrib: zephyr: samples: Separate UART and CAN addresses by Gaetan Perrot at 2025-10-23 07:29:52
In the Zephyr server-client sample, previously a single `address` variable was used for both the UART (KISS) interface and the CAN interface. This could lead to confusion or misconfiguration when both interfaces are enabled. Changes: - Introduced `uart_address` for the KISS UART interface. - Introduced `can_address` for the CAN interface. - Updated interface initialization to use the corresponding address variable instead of the shared `address`. - Loopback fallback remains using `server_address = 0` for test mode. This clarifies the sample and makes it easier to extend to multiple interfaces without unintended address collisions. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>