ARMmbed

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

Hi,

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!

Hi,

It could be as you said, due to fake data. However, before making that ruling, I suggest that you use the latest version of mbed-cloud-sdk available (2.3.2 I believe). There maybe some inconsistencies with older versions. Hope this helps.