Hi Tim. We are using emulator to write test tools. You can find some usage at tools/mgmt-tester.c. That way you don't need to have real device (or features) to test some specific code. Regads, Jefferson Delfes. On Thu, Jul 4, 2013 at 5:32 AM, Tim Wei <junping.wei@xxxxxxxxxxxxxxxxxx> wrote: > Hi Jefferson, > > I am new to BlueZ. > Could you please let me know what the purpose of having this module, I mean > emulator? > > Thank you and Best Regards, > Tim Wei > > -----Original Message----- > From: linux-bluetooth-owner@xxxxxxxxxxxxxxx > [mailto:linux-bluetooth-owner@xxxxxxxxxxxxxxx] On Behalf Of Jefferson Delfes > Sent: Thursday, July 04, 2013 4:55 AM > To: linux-bluetooth@xxxxxxxxxxxxxxx > Cc: Jefferson Delfes > Subject: [PATCH BlueZ 0/6] emulator: add LE advertising and scanning support > > In order to write discovery tests for LE, we need some implementation > on emulator side. > This patch series basically reports virtual devices in adv mode for > devices in scan mode. > > This new series was reorganized by merging some commits and removing > others not related to discovery tests. Note that this is just a first > set, based on a RFC sent a while ago by Bruna Moreira. Future patches > will build on these patches. > > Jefferson Delfes (6): > emulator: Store LE advertising data length in btdev > emulator: Implement basic LE set adv enable command > emulator: Store LE scan state of virtual controller > emulator: Disallow LE set scan params command when scan is enabled > emulator: Dummy LE set advertising parameters > emulator: Implement LE advertising report > > emulator/btdev.c | 102 > +++++++++++++++++++++++++++++++++++++++++++++++++++++-- > monitor/bt.h | 13 +++++++ > 2 files changed, 113 insertions(+), 2 deletions(-) > > -- > 1.8.3.2 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" > in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html