TapWithUs / tap-standalonewin-sdk

27 stars 7 forks source link

Does not recognize tap device #3

Open Naphier opened 5 years ago

Naphier commented 5 years ago

Tap pairs fine with Windows 10. Acts as a keyboard and mouse HID. This example app won't connect and after a bit of digging I found the GattCommunicationStatus charResult in GetCharacteristicsAsync is just getting access denied.

See log here:

[2019-08-21 04:35:02] TAPLib info # TAP Manager Started. @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:Start(96)
[2019-08-21 04:35:02] TAPLib info # Device Watcher Starting @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:RestartDeviceWatcher(196)
[2019-08-21 04:35:03] TAPLib info # Device Watcher added proc. @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:dw_added(296)
[2019-08-21 04:35:03] TAPLib info # Found Connected Device Tap_D963150 @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:dw_added(312)
[2019-08-21 04:35:03] TAPLib info # Tap_D963150 Is a new device. Checking if it's a TAP @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:dw_added(315)
[2019-08-21 04:35:03] TAPLib info # Device Watcher Enumeration Completed. @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:dw_enum_completed(150)
'TAPWinApp.exe' (CLR v4.0.30319: TAPWinApp.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.WindowsRuntime\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.WindowsRuntime.dll'. Symbols loaded.
'TAPWinApp.exe' (CLR v4.0.30319: TAPWinApp.exe): Loaded 'C:\WINDOWS\SysNative\WinMetadata\Windows.Storage.winmd'. Module was built without symbols.
ser.Uuid: 00001800-0000-1000-8000-00805f9b34fb
ser.Uuid: 00001801-0000-1000-8000-00805f9b34fb
ser.Uuid: 0000fe59-0000-1000-8000-00805f9b34fb
ser.Uuid: 0000180f-0000-1000-8000-00805f9b34fb
ser.Uuid: 00001812-0000-1000-8000-00805f9b34fb
ser.Uuid: c3ff0001-1d8b-40fd-a56f-c7bd5d0f3370
Is TAPGuids.service_tap
Getting characteristics
'TAPWinApp.exe' (CLR v4.0.30319: TAPWinApp.exe): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.dll'. 
tryAgainCount: 10
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 9
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 8
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 7
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 6
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 5
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 4
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 3
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 2
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 1
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 0
tryAgainCount <= 0 returning charResult: {Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult}
Is TAPGuids.service_tap GOT tapCharacteristicsResult is null? OK
TAPGuids.service_tap tapCharacteristicsResult.Characteristics: 0
ser.Uuid: 6e400001-b5a3-f393-e0a9-e50e24dcca9e
Is TAPGuids.service_nus
Getting characteristics
tryAgainCount: 10
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 9
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 8
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 7
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 6
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 5
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 4
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 3
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 2
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 1
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 0
tryAgainCount <= 0 returning charResult: {Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult}
Is TAPGuids.service_nus GOT nusCharacteristicsResult is null? OK
ser.Uuid: 0000180a-0000-1000-8000-00805f9b34fb
Is TAPGuids.service_device_information
Getting characteristics
tryAgainCount: 10
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 9
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 8
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 7
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 6
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 5
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 4
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 3
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 2
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 1
tryAgainCount >0 charResultStatus: AccessDenied
Getting characteristics
tryAgainCount: 0
tryAgainCount <= 0 returning charResult: {Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult}
TAPGuids.service_device_information fwCharacteristicsResult: {Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult}
returning TAPProperties
properties.tapData null? "True" \n properties.nusRx null? "True"
Not a tap device? Why? returning null
[2019-08-21 04:35:28] TAPLib info # Tap_D963150 Is Not a TAP @ C:\Users\napla\Desktop\tap-standalonewin-sdk-master\TAPWinSDK\TAPManager.cs:dw_added(331)
joaobelo92 commented 5 years ago

Is the device already abandoned or what? I see the company is looking for investment, but the SDK don't have updates for a month nor replies to the issues...

Naphier commented 5 years ago

From what I can tell they are considerably under staffed. I've been working through email with them for a few weeks with no result, but at least some communication. Have you been able to use these examples?

joaobelo92 commented 5 years ago

I wrote a small console app and I am able to get taps when using 2 tap straps. Would be nice to have the possibility of getting more data from the sensors tho. I have no idea why you are getting the AccessDenied issue :(

DiableCorvus commented 4 years ago

Abandoned? Who knows... I know 6 mos. after I bought the first iteration, they released a new 'air mouse' variant (as was suggested to them); and haven't responded to my request that they allow some sort of swap at discount for development sake. We're expected to buy in again, $300 USD to develop for a novelty that so far isn't showing its dig in. Hardware advancement without proper software development is nothing new in Tech sectors. It was a stretch to buy in for this in the first place, for what is/was essentially a prototype; just to get pay walled by mk.II

So yeah, I'd say abandoned. I'm continuing dev work on TS1 interface, simply because I already paid for it and have the SDK, but I would not hold my breath for any sort of support from the guys and gals at TAP. If you've come this far, either continue blindly into the unknown or cut and run. There are better things to do with oneself than code crunching for hours en gratis.

DACS>>

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, September 13, 2019 8:39 AM, João Belo notifications@github.com wrote:

Is the device already abandoned or what? I see the company is looking for investment, but the SDK don't have updates for a month nor replies to the issues...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ilouzl commented 4 years ago

@Naphier, Let us know if problem still exist with the latest SDK.

ivnlabs commented 3 years ago

hi, I am trying to access the method onTapped in the SDK windows APP with visual studio, the vibrate function works well but the other functions don't console any data on the console, take a look

void OnTapped(string identifier, int tapcode)
This is where magic will happen. This function will tell you which TAP was being tapped (identifier), and which fingers are tapped (tapcode) tapcode is a number between 1 and 31. It's binary form represents the fingers that are tapped. The LSB is thumb finger, the MSB (bit number 5) is the pinky finger. For example: if tapcode equls 3 - it's binary form is 00101, Which means that the thumb and the middle fingers are tapped.

TAPManager.Instance.OnTapped += OnTapped;

this should return the tap number or finger that is taping but there is no feedback on the console, I try to tweak a lot of things but got no results, I am trying to make a keyboard with 2 straps so I want with the pink left hand tap and that should be a SHIFT and then with both hands could write anything , with the anular finger the same make a control BUT I need to get the data from the SDK...

thanks in advance , the other programmers says the code is been abandoned... ? please confirm if that is the case

Regards BTF

ilouzl commented 3 years ago

@IVNtech, sorry for the slow response. Can you share the console output when you run the example app?

ariocwhite commented 5 months ago

anyone working on anything? i got the XR not long ago and it was defunct until they did something recently... now i'm not stuck at 5% update and now have airmouse... i'd like full airmouse functions, but apparently basic air function is beta (click/x2 click)... i'm new-ish to writing code but i'd like to help where i can