Apply suggestions from code review
Fix capitalization of Bluetooth Co-authored-by: Marcel Stör <marcelstoer@users.noreply.github.com>
This commit is contained in:
parent
4109e3053f
commit
7e123b215e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue