We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f6e10 commit 7dd2a02Copy full SHA for 7dd2a02
src/BLEDevice.h
@@ -93,6 +93,17 @@ class BLEDevice {
93
BLECharacteristic characteristic(const char * uuid) const;
94
BLECharacteristic characteristic(const char * uuid, int index) const;
95
96
+ /**
97
+ * Enable advertising on Coded PHY (long range).
98
+ * Must be called after BLE.begin() and before BLE.advertise().
99
+ */
100
+ void enableCodedPHYAdvertising(bool enabled = true);
101
+
102
103
+ * Set advertise and connection transmit power (in dBm, max +4 for Nano 33 BLE Rev2).
104
105
+ void setTxPower(int8_t dbm);
106
107
protected:
108
friend class ATTClass;
109
friend class GAPClass;
0 commit comments