Mbed forum

Can't get data from mbed cloud using getResourceValue()

(Duy Vinh) #1


I’m studying about IoT and I’m writing a simple project to create a fake data, then I push it on Mbed Cloud and display it in android application. I saw data on resource path in Portal but in my android application, I try to get data from Mbed Cloud by getResourceValue() but a exception always occur(timeout) and no data return. When I debug I saw timeout occur in waitForCompletion(). Is the problem in here may be application can’t response with device when use fake data?

Please help!