SimpleBLE Java can handle some of the cheap Chinese iTags successfully. However, with a very common one, a teardrop-shaped type, the subscription to an advertised service creates an exception in native code.
Here is the hardware:
Bad one (teardrop-shaped with big hole selected)
https://www.aliexpress.com/item/1005009111165326.html
Mini Dog GPS Bluetooth 5.0 Tracker Anti-Lost Device Round Anti-Lost Device Pet Kids Bag Wallet Tracking Smart Finder Locator
Good one (round black with small hole selected):
https://www.aliexpress.com/item/1005006064741110.html
Bluetooth Compatible Tracker Keys Finder Item Locator for Keys Bags Pets Anti-lost Locator Tag Alarm Reminder For IOS Android
Please see the source file and the log file of the crash.
A fatal error has been detected by the Java Runtime Environment:
I_TagButtonListener3.java
hs_err_pid11028.log
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9a572104a, pid=11028, tid=15760
When running this from my IDE, I noticed that the Java process became orphan and kept running in the system even after IDE shutdown.
These so-called iTags have companian applications such as "iSearching"
Closed source:
https://isearchingapp.com/
https://play.google.com/store/apps/details?id=com.mingmao.isearch
https://play.google.com/store/apps/details?id=com.lenzetech.antilost
Other:
https://play.google.com/store/apps/details?id=com.eigl.myitags
and (open source, reverse engineered):
https://github.com/sylvek/itracing2/
https://f-droid.org/en/packages/net.sylvek.itracing2/
I haven't tried all of them, but the tag's button is supported by at least one of them.
The number of available apps indicates to me that these devices are popular. I tried to use the button of the tag as a remote control device to control some function of a running program on my PC.
Please feel free to ask if you need more supporting information and material.
SimpleBLE Java can handle some of the cheap Chinese iTags successfully. However, with a very common one, a teardrop-shaped type, the subscription to an advertised service creates an exception in native code.
Here is the hardware:
Bad one (teardrop-shaped with big hole selected)
https://www.aliexpress.com/item/1005009111165326.html
Mini Dog GPS Bluetooth 5.0 Tracker Anti-Lost Device Round Anti-Lost Device Pet Kids Bag Wallet Tracking Smart Finder Locator
Good one (round black with small hole selected):
https://www.aliexpress.com/item/1005006064741110.html
Bluetooth Compatible Tracker Keys Finder Item Locator for Keys Bags Pets Anti-lost Locator Tag Alarm Reminder For IOS Android
Please see the source file and the log file of the crash.
A fatal error has been detected by the Java Runtime Environment:
I_TagButtonListener3.java
hs_err_pid11028.log
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9a572104a, pid=11028, tid=15760
When running this from my IDE, I noticed that the Java process became orphan and kept running in the system even after IDE shutdown.
These so-called iTags have companian applications such as "iSearching"
Closed source:
https://isearchingapp.com/
https://play.google.com/store/apps/details?id=com.mingmao.isearch
https://play.google.com/store/apps/details?id=com.lenzetech.antilost
Other:
https://play.google.com/store/apps/details?id=com.eigl.myitags
and (open source, reverse engineered):
https://github.com/sylvek/itracing2/
https://f-droid.org/en/packages/net.sylvek.itracing2/
I haven't tried all of them, but the tag's button is supported by at least one of them.
The number of available apps indicates to me that these devices are popular. I tried to use the button of the tag as a remote control device to control some function of a running program on my PC.
Please feel free to ask if you need more supporting information and material.