token problem

wjn
Posts: 2
Joined: Tue Dec 08, 2015 1:36 am

token problem

Postby wjn » Wed Dec 09, 2015 6:17 pm

When using ESP8266_IOT_PLATFORM project based on RTOS, my code get stuck in

void user_esp_platform_maintainer(void *pvParameters)
/*if token not ready, wait here*/
while(TRUE != esp_param.tokenrdy) {
ESP_DBG("token invalid...\n");
vTaskDelay(1000 / portTICK_RATE_MS);
}

Then I want know where I can get this token ready and how?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: token problem

Postby ESP_Faye » Fri Dec 11, 2015 2:27 pm

Hi,

"esp_param.tokenrdy" is the master-device-key you got from ESP-Cloud, with this master-device-key you can use ESP-Cloud service.
Please refer to the step 2 in this topic http://bbs.espressif.com/viewtopic.php?f=9&t=66

Who is online

Users browsing this forum: No registered users and 19 guests