2022-01-16 12:17:53 +05:00
|
|
|
#include "ESPConfiguration.h"
|
|
|
|
|
|
2022-08-11 23:20:16 +03:00
|
|
|
void* getAPI_Timer(String subtype, String params);
|
2024-05-14 22:01:07 +02:00
|
|
|
void* getAPI_BL0937(String subtype, String params);
|
2025-03-27 22:19:36 +03:00
|
|
|
void* getAPI_BL0942(String subtype, String params);
|
2022-01-16 12:17:53 +05:00
|
|
|
|
2022-01-16 13:31:05 +01:00
|
|
|
void* getAPI(String subtype, String params) {
|
2022-08-13 12:18:58 +02:00
|
|
|
void* tmpAPI;
|
|
|
|
|
if ((tmpAPI = getAPI_Timer(subtype, params)) != nullptr) return tmpAPI;
|
2024-05-14 22:01:07 +02:00
|
|
|
if ((tmpAPI = getAPI_BL0937(subtype, params)) != nullptr) return tmpAPI;
|
2025-03-27 22:19:36 +03:00
|
|
|
if ((tmpAPI = getAPI_BL0942(subtype, params)) != nullptr) return tmpAPI;
|
2022-08-13 12:18:58 +02:00
|
|
|
return nullptr;
|
2022-01-16 12:17:53 +05:00
|
|
|
}
|