bizulk / android-usb-host-link Goto Github PK
View Code? Open in Web Editor NEWGroups projects : GUI Tablet, target software
Groups projects : GUI Tablet, target software
Actually we display the device name because usbmanager can return a list of them directly, device name are /dev/bus/usb/XXXX/YYYY. And these name are used for opening the connection.
But each device contains a product name simpler to recognize for user, like STM32 Com Port. Actually the developper can modify it in the device for the customer.
Instead of device name list, we should create a map of <device name, device product> so that we can display product names, and directly apply its device name when selected.
When the device type emuslave is selected, don't display device list,open directly the device.
Do not show anymore the device emulsave in the detected device list.
I reviewed the code in #18 but not tested it.
Lors de la démo, le projet initiale est créé avec les options par défaut.
Le port VCOM n'est pas créé
The libusb example uses the NDK call : __android_log_print(ANDROID_LOG_INFO, TAG,
try it, we could set it as an option in the dll log system.
note : after that issue update dedicated doc for debugging & logging.
Also when using dll internal log queue, setup a thread that pop message instead of explicit calls.
For the purpose testing of this project allow selector to the gui.
A selector for the native library hardware device :
note that emulslave is added to the detected devices, so no need to add it to selector.
Add a selector for Xfer method :
Voilà une piste pour aider à l'implémentation du port série sous windows.
github waynix
L'USB de la cible est bien listée après branchement, mais à la validation l'IHM crash et ferme.
Impossible de lancer un debug puisque l'on est branché à la cible.
CIO a ajouté un log sur fichier pour aider au diagnostic.
La team ajoute des traces et réalise quelques essais aujorudh'ui.
Sinon j'ai testé l'application Serial USB Terminal (pas USBSerial) pour me connecter à la cible :
le path vers le device est le même
Je pense qu'au niveau de l'IHM il manque l'association du device à une classe USB, et la demande d'autorisation à l'utilisateur.
PRINCIPALE PISTE DE RECHERCH : bitbucket/Lusovu : This is a wrapper and example projects of the usb-serial-for-android for Xamarin
Le projet USBSerialDriver est compilé en jar, pour avoir la description des appels consulter le projet d'origine.
https://csharp.hotexamples.com/examples/Android.Hardware.Usb/UsbManager/-/php-usbmanager-class-examples.html
https://stackoverflow.com/questions/19776708/usb-devices-android-c-sharp-xamarin
A compléter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.