Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WIP: simple stdin/stdout driven test device - #24

Open
Benjamin Berg (benzea) wants to merge 3 commits into
microsoft:masterfrom
benzea:master
Open

WIP: simple stdin/stdout driven test device#24
Benjamin Berg (benzea) wants to merge 3 commits into
microsoft:masterfrom
benzea:master

Conversation

@benzea

Copy link
Copy Markdown

I wanted to mock a simple device, so started to add code to do so.

This is work in progress, I'll probably shuffle things around a lot. But, input on the approach is welcome and maybe it is useful to someone other than me.

Benjamin Berg added 2 commits September 18, 2020 00:38
BIG_ENDIAN may be defined even on little endian machines. Fix the test
by checking whether LITTLE_ENDIAN is defined and if it is whether it
matches the byte order.
This allows writing a program which uses stdin/stdout as a simple
protocol to emulate a device towards a virtual driver in userspace.
@ghost

Deleted user (ghost) commented Sep 17, 2020

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

The implementation expects messages to be send to and read from
stdin/stdout. It may be used to emulate an extremely dumb fingerprint
device for testing purposes.

This is intended to be used by libfprint.

This is work-in-progress!
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

Successfully merging this pull request may close these issues.

1 participant