As I have been reading previous posts, I still could’nt find a detailed explication about how to extract temperature in a java code for it to be displayed in our application. Could anyone provide us with the appropriate tutorial?
There you can find an example how to obtain temperature data, using Estimote Android SDK. Take use of EstimoteTelemetry object that is passed with onTelemetriesFound() method. That object stores sensors data, including temperature values.
Yes I’ve checked both documentations, however, I am still getting the following error: java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results.
Kindly find bellow the piece of code that I’m trying to upload on my android mobile:
My bad with respect to the error, I’m not used to this type of errors since I’m new to Android. I gave the application the permission to access the location, However, I still cannot visualize any temperature value in my application.
If you could please help me fixing the problem as soon as possible. @arek@heypiotr
You mentioned only 3 packets available to be broadcasted. It seems that you use Proximity Beacons which cannot broadcast Estimote Telemetry packets. No worries, you are still able to receive temperature value from the beacon.
Thank you for your prompt reply @arek.
I followed this quick tutorial, but I am not being able to see any object that invokes temperature.
How is this even true:
// Do something with your object.
// ScanResultItem contains basic info about device discovery - such as RSSI, TX power, or discovery time.
// It also contains ConfigurableDevice object. You can easily acquire it via item.configurableDevice’
I did it with Android but connecting with Estimote Cloud. If it helps I could upload this code to github.
I understand that get the temperatue without connecting to Estimote Cloud is possible but I don’t know how.
Yes I would be grateful if you could post the code on github. And please can you share the link with us?
At least we will be able to read the temperature
Thank you !
Thank you for posting your code. However, I think you are using a different type of beacons. Mine is a proximity beacon which I tried doing the same thing but did not work. I hope someone on Estimote community can help us solve this issue.
Thank you again Martin.