23 template<
typename Strategy>
31 uint32_t back_off(uint8_t attempts)
33 return strategy.back_off(attempts);
39 bool begin(uint8_t did = 0)
41 return strategy.begin(did);
49 return strategy.can_start();
55 uint8_t get_max_attempts()
57 return strategy.get_max_attempts();
63 uint16_t get_receive_time()
65 return strategy.get_receive_time();
71 void handle_collision()
73 strategy.handle_collision();
79 uint16_t receive_frame(uint8_t *
data, uint16_t max_length)
81 return strategy.receive_frame(
data, max_length);
87 uint16_t receive_response()
89 return strategy.receive_response();
95 void send_response(uint8_t response)
97 strategy.send_response(response);
103 void send_frame(uint8_t *
data, uint16_t length)
105 strategy.send_frame(
data, length);