From 7e123b215ed764a2766b7dafc841025d62f1b10c Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Mon, 8 Nov 2021 20:07:12 -0500 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix capitalization of Bluetooth Co-authored-by: Marcel Stör --- components/modules/Kconfig | 6 +++--- docs/modules/ble.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/modules/Kconfig b/components/modules/Kconfig index b13995be..c6c9082f 100644 --- a/components/modules/Kconfig +++ b/components/modules/Kconfig @@ -15,15 +15,15 @@ menu "NodeMCU modules" functions on Lua numbers. config NODEMCU_CMODULE_BLE - bool "BlueTooth GAP/GATT interface module" + bool "Bluetooth GAP/GATT interface module" default "n" select NODEMCU_CMODULE_STRUCT select BT_ENABLED help - Includes the simple BlueTooth GAP/GATT module. + Includes the simple Bluetooth GAP/GATT module. config NODEMCU_CMODULE_BTHCI - bool "BlueTooth HCI interface module" + bool "Bluetooth HCI interface module" default "n" select BT_ENABLED help diff --git a/docs/modules/ble.md b/docs/modules/ble.md index 7b7d8535..71bb58cd 100644 --- a/docs/modules/ble.md +++ b/docs/modules/ble.md @@ -1,4 +1,4 @@ -# BT HCI Module +# Bluetooth GAP/GATT Module | Since | Origin / Contributor | Maintainer | Source | | :----- | :-------------------- | :---------- | :------ | | 2021-10-10 | [pjsg](https://github.com/pjsg) | [pjsg](https://github.com/pjsg) | [ble.c](../../components/modules/ble.c)| @@ -8,7 +8,7 @@ This allows you to build simple gadgets that can be interrogated and controlled ## ble.init(configuration) -This initializes the BlueTooth stack and starts advertising according to the data in the +This initializes the Bluetooth stack and starts advertising according to the data in the configuration table. See below for a detailed description of this table. At the present time, you can only call the `init` function once. There is some problem @@ -57,7 +57,7 @@ ble.advertise("foo") ## ble.shutdown() -Shuts down the BlueTooth controller and returns it to the state where another `init` ought to work (but currently doesn't). And, at the moment, shutting +Shuts down the Bluetooth controller and returns it to the state where another `init` ought to work (but currently doesn't). And, at the moment, shutting it down doesn't work either -- it appears to corrupt some deep data structures. #### Syntax