* Emulating Bluetooth - Design Check
@ 2011-02-04 23:43 Michael Lochov
0 siblings, 0 replies; only message in thread
From: Michael Lochov @ 2011-02-04 23:43 UTC (permalink / raw)
To: linux-bluetooth
Hi,
Im working on a piece of userspace bluetooth emulation softare that will use the Bluez stack. My plan is to create two virtual bluetooth device with hciemu (hci0 and hci1), they will use the vhci module and my software will pretend to be hci1 and create/inject packets into hci0. hci0 will be managed by typical userspace bluetooth software/tools so it will look like this:
My Software (hci1/hciemu/vhci) -----[hci protocol]-----> hci0/hciemu/vhci ------> VHCI -----> Bluez ----> Some frontend userspace software utilizing hci0
So my software will do nothing more than emulate a bluetooth device by sending and recieving packets on hci1.
I want to do things like simulate simple conversations over the bluetooth stack, such as basic device discovery, l2capp talking and maybe even file transfers.
Does this sound possible given the architecture layout I have defined above? Could my userspace emulator software simulate a file transfer over hci0/hci1 to the other software assuming it generated and understood all the protocols invovled (transfering them over HCI at the lowest level into the virtual device from hciemu).
Just want to check if my approach is sane, or if I am missing some additional components in the picture?
Any help greatly appreciated!
Michael
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-04 23:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 23:43 Emulating Bluetooth - Design Check Michael Lochov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.