| 8 | namespace tt::service::wifi { |
| 9 | |
| 10 | const char* radioStateToString(RadioState state) { |
| 11 | switch (state) { |
| 12 | using enum RadioState; |
| 13 | case OnPending: |
| 14 | return TT_STRINGIFY(OnPending); |
| 15 | case On: |
| 16 | return TT_STRINGIFY(On); |
| 17 | case ConnectionPending: |
| 18 | return TT_STRINGIFY(ConnectionPending); |
| 19 | case ConnectionActive: |
| 20 | return TT_STRINGIFY(ConnectionActive); |
| 21 | case OffPending: |
| 22 | return TT_STRINGIFY(OffPending); |
| 23 | case Off: |
| 24 | return TT_STRINGIFY(Off); |
| 25 | } |
| 26 | check(false, "not implemented"); |
| 27 | } |
| 28 | |
| 29 | extern const ServiceManifest manifest; |
| 30 |
no test coverage detected