Code Monkey home page Code Monkey logo

usbhidterminal's Introduction

USBHIDTerminal for Android

Build Status

This application was created in my hobby time.

USB HID Terminal provide access to HID USB devices. HID Terminal can be used for transfer any commands or any data to your USB HID devices. USB HID Terminal - can receive and send bytes, hex, binary, text.

https://play.google.com/store/apps/details?id=com.appspot.usbhidterminal

binary APK: https://github.com/452/USBHIDTerminalAPKRepo

for Gradle: [https://docs.gradle.org/current/userguide/installation.html]

$ git clone https://github.com/452/USBHIDTerminal.git
$ cd USBHIDTerminal
$ ./gradlew build

result you can find:

USBHIDTerminal/build/outputs/apk/USBHIDTerminal-release-unsigned.apk

If you have some problem or want to improve this application you can help me, or just say me about this. We can make this world better.

;) Ukraine

LICENSE

Copyright 2024 452 emetemunoy.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

usbhidterminal's People

Contributors

452 avatar albinodrought avatar ti64cli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbhidterminal's Issues

ActivityStarter (App Inventor 2)

Hello 452: i'm Martin from Argentina. I found your USBHIDTerminal here. i'm working on a project to comunicate some hand intrument to a android phone
my question is if it's posible to acceses to the app via an ActivityStarter (or some else) in app inventor 2, to send an recive hid data.
If it is yes. Can you give me some tips about this?? how can i do.

i'm so newby in java.
thank you in advance!
& sorry my english writing is so bad :-)

Martin

No such files or folders in Chrome!

In your article, How to enable USB host API support, there are no folders with the names system or etc on my ASUS Chromebook and I can't find the files to enable OTG! I used the shell to look through all the folders and couldn't find anything like that.
Where do you think it really is?

some questions

Hi,
what is the license on this project? You did not specify GPL or MIT.
Is there a documentation of the commands? In your screen shot, there is a $, a hex number 0x80 and a #. What is the syntax?
Do you support feature reports? In/outgoing? How do you define a fixed length buffer? How do you define the feature report number?
Best mplanck

"your device is not compatible with this version"

I am getting "your device is not compatible with this version" message. I tried to install this app on android powered pcDuino3 board. Android 4.2.2 is installed on pcDuino3. But its unable to detect my USB device. Plz help.

Add license information

Playstore says this is Apache2 licensed, if so, could you add that to the readme as well?

Negative numbers overflow?

Positive bytes get reported as strings like "80"

Negative bytes get reported as strings like "ffffff32"

Purpose (example) of USBHidTerminal

At first I thought it is possible with USBHidTerminal to use my Nexus 7 (with OTG Adapter) as keyboard for my pc.
But the description say "data to your USB HID devices". Could you give me an example for that purpose?
Best regards
Timo

binary format

Super handy app. I was able to use it to solve my problem almost immediately.

As a first time user, the thing that took me the longest to figure out was how to send binary data. A single number was easy, but i had to open up the code to realize a) it was interpreting the numbers as decimal integers, b) the separator was whitespace. A better description of the radio button labeled "Bytes/0xAB/#AB" would have saved me some time.

I made a tool base on your USBHIDTerminal

Hi emetemunoy
I made a HID devices setup tool based on your USBHIDTerminal.
I am also upload the project on github.
Here is the link: https://github.com/lhy2871/EasyncSetupTool4Android
I am new on git hub. I don't know how to fork (tried but not success), so I download your sourcecode and rewrite my on tool.
By the way, I do NOT want the Server part, Just want a simplest tool.
Could you help me to remove the Server part?

Sincerely
Hanyuan

A prepared APK file

All Chinese Android devices do not support Google store. Can you make a prepared APK file and put it in this repository? Thank you.

read coming data

Hi I have problem can ı read hex with this application ?

It is making ascii
Thank you

Чтение данных из устройства

В ответ на команды посланные на устройство приходит верное число байт, но не важно в какой формат переключать в настройках(Receive data format), всегда получаем 1 на каждый отдельный байт.

К тому же при попытке отправить более 4 байт, программа ругается на ошибку данных. Скорее всего по причине того что принимаемые данные при дальнейшей обработке записываются в переменную с типом Int.

Program blocks on continuous reception

Hi,

having a device that sends a data frequently, say, at minimum interval of 250 ms or going down to 10 ms, blocks after showing first few characters, and app has to be restarted.

In my case it works only when just a few bytes are send once awhile, i.e. when pressing a key on a device.

Would it be possible to handle faster transfers?

Regards, Uros

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.