16 lines
639 B
C++
16 lines
639 B
C++
#pragma once
|
|||
|
|
// Test channel (serial frame type 0x11, test firmware only): software lower tester and the
|
||
|
|
// diagnostic hooks the ETSI campaigns need. Not part of the phone interface, never on BLE.
|
||
|
|
#include "link_protocol.hpp"
|
||
|
|
#include "station.hpp"
|
||
|
|
|
||
|
|
namespace microbu {
|
||
|
|
|
||
|
|
/// @brief Executes one software-lower-tester request against the station.
|
||
|
|
/// @param station Station to execute the request against.
|
||
|
|
/// @param request Raw test-channel request bytes.
|
||
|
|
/// @return Reply bytes: [result][record count]{[kind][length u16 LE][bytes]}.
|
||
|
|
link::Bytes test_channel_execute(Station& station, const link::Bytes& request);
|
||
|
|
|
||
|
|
} // namespace microbu
|