Open IGNNE opened 5 years ago
Hi, The problem is that the LabTool hardware starts in DFU mode and when the PC program detects a DFU device it will transfer the firmware to it and restart it. From that point on it is detected as a LabTool device and the PC program can access it. You can see the code here: app/device/labtool/labtooldevicecommthread.cpp.
I believe you only see the DFU device when you connect it to your phone.
If you cannot replicate the code to transfer the firmware then maybe you could flash the firmware instead? There is a small onboard SPI flash.
Hello all, I managed to compile Labtool for Android. I had to do the following (more or less following this):
Now the app starts fine and without crashing, but I can only see the simulator, not the real LabTool device. USB-OTG is supported on my device, and if I connect the LabTool to my phone, the LEDs light up. I already did a chmod a+rw /dev/bus/usb//, but no change.
I know this is not supported etc, but I don't know any better place to post this. Has anyone tried this before? Any ideas, suggestions...?