Connections to TDEngine
From ESP32 via ESP-IDF
- This is tested using ESP_HTTP_CLIENT library through the
esp_http_client_exampleavailable in the docs. - This fails with the default stack size allocated for the main function and tasks. It has to be explicitly increased. 8192 bytes found to be a working value for this.
C# .NET connector
Install TDEngine for Windows if not already done.
Create a .net project and go into the project folder via command prompt.
Install the TDEngine package
dotnet add package TDengine.ConnectorBuild code following examples:
From taos CLI (locally installed TDEngine CLI)
The cloud URL and the token can be set as
export TDENGINE_CLOUD_DSN=<URL>?token=<token>.
export TDENGINE_CLOUD_DSN=https://gw.us-east-1.aws.cloud.tdengine.com?token=eb75d3ce4fe27e9b4c37b56bce53c90cf604ef8e
taos