amorenew / uhf_c72_plugin

BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Plugin support #5

Open omarsawalhah opened 2 years ago

omarsawalhah commented 2 years ago

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

Regards, Omar

amorenew commented 2 years ago

@omarsawalhah Hello Omar,

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

omarsawalhah commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

@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 amorenew@gmail.com

omarsawalhah commented 2 years ago

@amorenew I've sent you an email.

amorenew commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

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

pokkeerr commented 2 years ago

@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 commented 2 years ago

@pokkeerr Looks like incompatible hardware is used with this plugin

HamidMusayev commented 1 year ago

@pokkeerr @omarsawalhah check that https://github.com/amorenew/uhf_c72_plugin/issues/6#issuecomment-1452513863

mikhael28 commented 1 year ago

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

amorenew commented 1 year ago

@mikhael28 You are welcome 👍 😍