Miguel Luís
Miguel Luís
Shure, here it is the aws_iot_task: void aws_iot_task(void *param){ char cPayload[100]; AWS_IoT_Client client; char aux_client_id[20]; sprintf(aux_client_id, "gateway-%s", get_address()); CLIENT_ID = aux_client_id; IoT_Error_t rc = FAILURE; IoT_Client_Init_Params mqttInitParams = iotClientInitParamsDefault; IoT_Client_Connect_Params...
First it subscribes to the topic sd/id/+ and sd/id/++ in here: if (get_sub_d()) { //mqtt_subscribe_to_device_topics(&client, get_sub_device()); //SUBSCRIBE TO TOPICS: ESP_LOGI(TAGm, "Subscribing to device \"%s\" topics: ", get_sub_device()); //IoT_Error_t rc =...
Ok i will try that and get back to you.
@shahpiyushv , Now i can get the the callback for every topic. But i still get the topic in duplicate.
all topics @shahpiyushv .
Do you know what it might be? @shahpiyushv
Does anyone have any tips for this problem?