LinuxCommandLibrary

hciemu

emulates a Bluetooth HCI device

TLDR

Start HCI emulator

$ sudo hciemu
copy
Emulate specific device
$ sudo hciemu -d [vhci]
copy
Set device name
$ sudo hciemu -n [TestDevice]
copy
Verbose output
$ sudo hciemu -v
copy

SYNOPSIS

hciemu [options]

DESCRIPTION

hciemu emulates a Bluetooth HCI (Host Controller Interface) device. It creates virtual Bluetooth adapters for testing.
The tool is useful for Bluetooth protocol testing and development. It enables testing Bluetooth applications without physical hardware.

PARAMETERS

-d DEV

Device type to emulate.
-n NAME
Device name.
-v
Verbose mode.
-h
Display help.

CAVEATS

Requires root or Bluetooth permissions. Testing tool only. Part of BlueZ.

HISTORY

hciemu was developed as part of BlueZ, the official Linux Bluetooth stack, for testing and development purposes.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community