--- title: TinyGsmBluetooth --- # TinyGsmBluetooth (class) **Module:** **[TinyGsmBluetooth](class_tiny_gsm_bluetooth.html)** The CRTP parent class for Bluetooth functions. `#include ` ## Bluetooth functions ### Public Functions | | Name | | -------------- | -------------- | | bool | **[enableBluetooth](#a495ebed12f0fd5cda6c42190ee61d815)**()
Enable module Bluetooth. | | bool | **[disableBluetooth](#add9a2820b23a6170fbf4e6e42b85f4b7)**()
Disable module Bluetooth. | | bool | **[setBluetoothVisibility](#a38291783d84cf0f8eee11d07d147fd79)**(bool visible)
Set the Bluetooth visibility. | | bool | **[setBluetoothHostName](#a0be1bed0865059ee233c7aba5ea5073f)**(const char * name)
Set the Bluetooth host name. | ## Public Functions Documentation ### Bluetooth functions #### functionenableBluetooth ```cpp bool enableBluetooth() ``` - **Return**: True if the Bluetooth was successfully enabled, false otherwise. #### functiondisableBluetooth ```cpp bool disableBluetooth() ``` - **Return**: True if the Bluetooth was successfully disabled, false otherwise. #### functionsetBluetoothVisibility ```cpp bool setBluetoothVisibility(bool visible) ``` - **Parameters**: - **visible** True to make the modem visible over Bluetooth, false to make it invisible. - **Return**: True if the Bluetooth visibility was successfully changed, false otherwise. #### functionsetBluetoothHostName ```cpp bool setBluetoothHostName(const char * name) ``` - **Parameters**: - **name** The name visible to other Bluetooth objects - **Return**: True if the Bluetooth host name was successfully changed, false otherwise. ------------------------------- Generated by [Doxygen](https://www.doxygen.nl) and [m.css](https://mcss.mosra.cz/) with templates from [doxybook2](https://github.com/matusnovak/doxybook2) Updated on 2026-09-11