Module not supported after upgrading the firmware
Hi,
I upgraded my metawear C boards to the latest firmware version 1.2.0 and I am using Android API 2.5.0 on Android M on Nexus 5. However when I call 'mwBoard.getModule(Accelerometer.class) or mwBoard.getModule(Bmi160Accelerometer.class)', the API returned me:
I/Board_Log: com.mbientlab.metawear.UnsupportedModuleException: Module 'Accelerometer' not supported for this firmware version
at com.mbientlab.metawear.impl.DefaultMetaWearBoard.getModule(DefaultMetaWearBoard.java:4840)
at com.example.hongyi.foregroundtest.ForegroundService$BoardObject$1.connected(ForegroundService.java:426)
at com.mbientlab.metawear.MetaWearBleService$GattConnectionState$2.run(MetaWearBleService.java:289)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
I have not encountered this specific error before.
Also, my Metawear Sample Android App cannot find any boards even if I've granted the location permission.
Can anyone solve my problem?
This discussion has been closed.
Comments