| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This adds btdev_set_bdaddr so it is possible to set an arbritrary
address.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for vendor commands reserving a single opcode (0xfc10)
so it can be extended using subcommands, similar to how MSFT works.
The first subcommand (0x00) enables the emulator to generate arbitrary
events using the commands parameters:
> tools/hcitool cmd 3f 10 00 22 24 d0 d0 d0 d0 d0 d0 ff ff
< HCI Command: Vendor (0x3f|0x0010) plen 11
00 22 24 d0 d0 d0 d0 d0 d0 ff ff
."$........
Bluetooth: hci0: Malformed HCI Event: 0x22
> HCI Event: Inquiry Result with R.. (0x22) plen 9
Num responses: 36
Page scan repetition mode: Reserved (0xff)
Page period mode: Reserved (0xff)
Class: 0xffffd0
Major class: Uncategorized, specific device code not specified
Minor class: 0x34
Limited Discoverable Mode
invalid service class
Clock offset: 0x6368
RSSI: 105 dBm (0x69)
> HCI Event: Command Complete (0x0e) plen 4
Vendor (0x3f|0x0010) ncmd 1
Status: Success (0x00)
|
|
|
|
|
| |
This patch add supprt emulator to get the advertising address of the
central device.
|
|
|
|
|
| |
This patch adds interfaces to config the accept list and resolve list in
the btdev.
|
|
|
|
| |
This adds functions that can be used to set debugfs options.
|
|
|
|
|
| |
This adds btdev_set_debug which can be used to debug internals of
btdev.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds SPDX License Identifier and removes the license text.
-------------------------------------
License COUNT
-------------------------------------
LGPL-2.1-or-later : 20
GPL-2.0-or-later : 2
License: LGPL-2.1-or-later
emulator/server.c
emulator/amp.c
emulator/hciemu.c
emulator/vhci.c
emulator/btdev.c
emulator/serial.h
emulator/le.h
emulator/le.c
emulator/main.c
emulator/amp.h
emulator/hciemu.h
emulator/bthost.h
emulator/btdev.h
emulator/vhci.h
emulator/serial.c
emulator/phy.c
emulator/smp.c
emulator/phy.h
emulator/bthost.c
emulator/server.h
License: GPL-2.0-or-later
emulator/b1ee.c
emulator/hfp.c
|
|
|
|
| |
There are part of Bluetooth 5.2 specification not 6.0.
|
|
|
|
| |
This adds the initial command/event decoding for 5.2.
|
|
|
|
|
| |
This adds new hciemu for BT 5.0. Also adds extended advertising,
scanning and connection support in btdev and bthost
|
| |
|
| |
|
|
|
|
|
|
| |
This is more future proof (in case other values besides 0x00/0x01 are
introduced) and consistent with a similar BR/EDR API that will be
added soon.
|
| |
|
| |
|
|
|
|
|
| |
This convert btdev_set_send_handler to take struct iovec for doing
scatter io.
|
| |
|
| |
|
|
|
|
|
| |
Now who use emulator can add hooks to manipulate hci packets before
and after process commands and send events.
|
| |
|
|
|
|
| |
This helper function returns bdaddr field from btdev.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|