From de817402f07ef1b1ee97ec96230489142256ceeb Mon Sep 17 00:00:00 2001 From: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com> Date: Fri, 18 Aug 2023 06:05:32 +1000 Subject: [PATCH] Add doc for BLE server manufacturer data. (#3125) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: H. Árkosi Róbert --- components/esp32_ble_server.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/esp32_ble_server.rst b/components/esp32_ble_server.rst index 4d9748c525..357b43aef7 100644 --- a/components/esp32_ble_server.rst +++ b/components/esp32_ble_server.rst @@ -14,6 +14,8 @@ data and control. # Example configuration esp32_ble_server: + manufacturer: "Orange" + manufacturer_data: [0x4C, 0, 0x23, 77, 0xF0 ] Configuration variables: @@ -22,6 +24,9 @@ Configuration variables: - **manufacturer** (*Optional*, string): The name of the manufacturer/firmware creator. Defaults to ``ESPHome``. - **model** (*Optional*, string): The model name of the device. Defaults to the friendly name of the ``board`` chosen in the :ref:`core configuration `. +- **manufacturer_data** (*Optional*, list of bytes): The manufacturer-specific data to include in the advertising + packet. Should be a list of bytes, where the first two are the little-endian representation of the 16-bit + manufacturer ID as assigned by the Bluetooth SIG. See Also --------