Skip to content

sparkleBatch failed #10

@lanzafame

Description

@lanzafame

On commit 2870383, I uncommented the sparkleBatch() call in POC/ts/index.tx, after building and running, I got the following error:

$ npm run-script poc-ts

> das@0.0.1 poc-ts /Users/lanzafame/dev/src/github.com/diefarbe/node-lib
> ts-node --project tsconfig.json POC/ts/index.ts

Firmware Version:147.7.3.245.18

/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/src/keyboard.ts:158
    this.hidDevice.sendFeatureReport(buff);
                   ^
Error: could not send feature report to device
    at Keyboard.featureReports (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/src/keyboard.ts:158:20)
    at Keyboard.executePackets (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/src/keyboard.ts:131:12)
    at Keyboard.setKeyState (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/src/keyboard.ts:82:12)
    at sparkleBatch (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/POC/ts/index.ts:104:16)
    at Object.<anonymous> (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/POC/ts/index.ts:27:1)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Module.m._compile (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/node_modules/ts-node/src/index.ts:439:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/Users/lanzafame/dev/src/github.com/diefarbe/node-lib/node_modules/ts-node/src/index.ts:442:12)
    at Module.load (internal/modules/cjs/loader.js:612:32)

I am guessing this is probably because I am yet to upgrade the 5Qs firmware at all as I don't have a windows box. But thought the error report may still be useful.

OS: macOS 10.13.5

Thanks for all the work you are all putting into this 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions