Lin Responder Sample

This example simulates a LED controlled via LIN. The current status is stored in RAM an printed with Zephyr’s logging

Build and flash

Build the application with:

west build --board ardep samples/lin/responder

Then flash it using dfu-util:

west ardep dfu

LIN Frames

Upon receiving a LIN header with the frame ID 0x10 the example will respond with the current LED status.

When receiving a LIN frame with the frame ID 0x11 the example will use the new state to control the LED and print a log message.

See Lin Commander Sample for details of the frame payloads.