Giter Site home page Giter Site logo

bizulk / android-usb-host-link Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 3.0 47.42 MB

Groups projects : GUI Tablet, target software

C 88.50% C++ 0.57% Assembly 0.38% QMake 0.06% C# 2.73% Batchfile 0.04% SWIG 0.04% Shell 5.65% Makefile 1.83% M4 0.21%
xaramin binding-generator swig vcom usb device

android-usb-host-link's People

Contributors

alexandreanastassiades avatar arnaudguibert avatar bizulk avatar elisebruchet avatar j-vernay avatar ma-prl avatar quentinmallen avatar sanasale avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

android-usb-host-link's Issues

device selection : use product name instead of device name

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.

L'usb ne fonctionne pas

Lors de la démo, le projet initiale est créé avec les options par défaut.
Le port VCOM n'est pas créé

library log : support android Logs

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.

IHM - log - plantage au démarrage

L'équipe télécom me remonte un problème de crash avec les logs au premier démarrage :
image

J'ai eu ça aussi mais j'ai cru que c'était parce que la tablette était en veille, je n'ai pas vérifié la localisation du pb.

IHM : plantage quand on essaie de connecter la cible

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

  • il faut choisir un type de device pour qu'il accepte de créer une connexion ; j'ai bien sur choisi le CdC
  • Lorsque l'on demande à se connecter il y a une demande de permission qui pop.

Je pense qu'au niveau de l'IHM il manque l'association du device à une classe USB, et la demande d'autorisation à l'utilisateur.

IMG_20200611_153821887

IMG_20200611_153834967

IMG_20200611_153959178

Accessoirement :
IMG_20200611_153948048

doc - piste de recherche pour la mise en oeuvre sous Xamarin de l'accès USB Serial

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.