Hi,
I was trying to implement the Telemetry from SDK Estimote for my java application on android-studio.
I tried to apply this resource to my best even so the code example is only in Kotlin
Here is what I got now :
BluetoothScanner scanner = new EstimoteBluetoothScannerFactory(getApplicationContext()).getSimpleScanner();
ScanHandler scanHandler = scanner.estimoteTelemetryFrameBScan()
.withBalancedPowerMode().withOnPacketFoundAction(new Function1<EstimoteTelemetryFrameB, Unit>() {
@Override
public Unit invoke(EstimoteTelemetryFrameB estimoteTelemetryFrameB) {
return null;
}
}).start();
I then try to write data in my file with. scanHandler.toString();
And here is the result com.estimote.scanning_plugin.api.use_cases.RxScanHandler@d7023cb
also tried this scanHandler.getClass();
gives me com.estimote.scanning_plugin.api.use_cases.RxScanHandler@e3628f9
I don’t see how to get the temperature and the magnetometer. Does anyone know if I’m doing something with no-sense. Does anyone has the solution or hint ?
Thank you in advance.