Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin support #5

Open
omarsawalhah opened this issue Aug 29, 2022 · 14 comments
Open

Plugin support #5

omarsawalhah opened this issue Aug 29, 2022 · 14 comments

Comments

@omarsawalhah
Copy link

Is this plugin still supported now in 2022, or what, I need some help, anybody there?

Regards,
Omar

@amorenew
Copy link
Owner

amorenew commented Sep 2, 2022

@omarsawalhah
Hello Omar,

It was for my old company which I left 2 years ago, but let me know your issue.

@omarsawalhah
Copy link
Author

@amorenew
Thanks, I tried to run your example on this device https://www.chainway.net/Products/Info/42 , does your plugin support it. I can send you the demo app and the SDK, if you can help build the plugin for that.
Thanks in advance.

@amorenew
Copy link
Owner

amorenew commented Sep 3, 2022

@omarsawalhah Check jni files, if it is the same as mine then you could try my plugin
what was the error for you?
https://github.com/amorenew/uhf_c72_plugin/tree/master/android/src/main/jniLibs

@omarsawalhah
Copy link
Author

@amorenew
Many thanks for your interest, there is no error, but even thow the device is connected it says no connection and no button worked, anyway I can send you the SDK folder with the demo app to your email (provide me with it please), can you kindly check it and if you find time to help, it maybe some changes and we will have a new version for the plugin, and that would help me a lot.

@amorenew
Copy link
Owner

amorenew commented Sep 4, 2022

@omarsawalhah Making a new plugin would take 2 working days
so alternative option is to take my plugin and use it as a guideline to make your own impelmentation
but you could send me the sdk folder to see if it is same like this library or different
[email protected]

@omarsawalhah
Copy link
Author

@amorenew
I've sent you an email.

@amorenew
Copy link
Owner

amorenew commented Sep 4, 2022

@omarsawalhah it is similar but with different classes
for example, I don't have libModuleAPIJni.so in my JNI folder so you need to dig into the demo project to build a similar plugin and it would need some basic Java skills to be able to make it

@omarsawalhah
Copy link
Author

@amorenew
Actually, I don't have Java experience, can you help, If you can build just one class for the connect, or getTagsLIst I will try to complete others, or if you can build the plugin skeleton with some APIs that would be sufficient.

@amorenew
Copy link
Owner

amorenew commented Sep 4, 2022

@omarsawalhah It is not a 15 minutes work, it is hours of work, so I can't do it

@pokkeerr
Copy link

pokkeerr commented Sep 5, 2022

@amorenew Hello,
help me please, I had this error when running the application!

I/DeviceAPI_DeviceCon( 6492): getDeviceInfoFromFile configPath=/storage/emulated/0/PDAConfig.txt
D/DeviceAPI_DeviceCon( 6492): cw.model2:
D/DeviceAPI_DeviceCon( 6492): cw.model:mtk.6765.c72
D/DeviceAPI_DeviceCon( 6492): 最终cw.model:mtk.6765.c72
I/DeviceAPI_DeviceCon( 6492): model=C72,uartPath=/dev/ttyMT3,uartPath_Fingerprint=/dev/ttyMT0,uartPath_RFID=
I/DeviceAPI_DeviceCon( 6492): getModel() model=C72
D/DeviceAPI( 6492): UHF device = C72
D/DeviceAPI( 6492): UHF_Init----------->DevIsOpen = 1

and all functions get err : -1
E/DeviceAPI_UHF( 6492): setFrequencyMode() err :-1
E/DeviceAPI_UHF( 6492): setPower() err :-1

@amorenew
Copy link
Owner

amorenew commented Sep 5, 2022

@pokkeerr Looks like incompatible hardware is used with this plugin

@HamidMusayev
Copy link

@pokkeerr @omarsawalhah check that #6 (comment)

@mikhael28
Copy link
Contributor

@amorenew you are a saint, handling crazy unrealistic open-source requests with class.

@amorenew
Copy link
Owner

@mikhael28 You are welcome 👍 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants