Added methods to retrieve the capacity and fill level of the ring buffer
fix: forgot setting transmission state
Transmission state machine for demo purposes