Skip to content

Commit

Permalink
Fix missing template declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewHDYT committed Oct 6, 2024
1 parent 6bce8fd commit 4631718
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ constexpr char HUMIDITY_KEY[] = "humidity";


// Initalize the Mqtt client instance
Espressif_MQTT_Client mqttClient;
Espressif_MQTT_Client<> mqttClient;
// Initialize ThingsBoard instance with the maximum needed buffer size
ThingsBoard tb(mqttClient, MAX_MESSAGE_SIZE);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ constexpr char UPDAT_FILE_PATH[] = "/sd/update.bin";


// Initalize the Mqtt client instance
Espressif_MQTT_Client mqttClient;
Espressif_MQTT_Client<> mqttClient;
// Initialize used apis
OTA_Firmware_Update<> ota;
const std::array<IAPI_Implementation*, 1U> apis = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ constexpr uint8_t MAX_RPC_SUBSCRIPTIONS = 3U;
constexpr uint8_t MAX_RPC_RESPONSE = 5U;

// Initalize the Mqtt client instance
Espressif_MQTT_Client mqttClient;
Espressif_MQTT_Client<> mqttClient;
// Initialize used apis
Server_Side_RPC<MAX_RPC_SUBSCRIPTIONS, MAX_RPC_RESPONSE> rpc;
const std::array<IAPI_Implementation*, 1U> apis = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ char constexpr FW_CHKS_ALGO_KEY[] = "fw_checksum_algorithm";
char constexpr FW_SIZE_KEY[] = "fw_size";

// Initalize the Mqtt client instance
Espressif_MQTT_Client mqttClient;
Espressif_MQTT_Client<> mqttClient;
// Initialize used apis
Shared_Attribute_Update<1U, MAX_ATTRIBUTES> shared_update;
const std::array<IAPI_Implementation*, 1U> apis = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ constexpr char PROVISION_DEVICE_TASK_NAME[] = "provision_device_task";
constexpr uint64_t REQUEST_TIMEOUT_MICROSECONDS = 5000U * 1000U;

// Initalize the Mqtt client instance
Espressif_MQTT_Client mqttClient;
Espressif_MQTT_Client<> mqttClient;
// Initialize used apis
Provision<> prov;
const std::array<IAPI_Implementation*, 1U> apis = {
Expand Down

0 comments on commit 4631718

Please sign in to comment.