Skip to content

Commit 31edc25

Browse files
committed
Deprecate UARTService
UARTService is rarely used and has not been actively updated.
1 parent 1dbb478 commit 31edc25

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

features/FEATURE_BLE/ble/services/UARTService.h

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,15 @@ extern const uint8_t UARTServiceTXCharacteristicUUID[UUID::LENGTH_OF_LONG_UUID]
4141
extern const uint8_t UARTServiceRXCharacteristicUUID[UUID::LENGTH_OF_LONG_UUID];
4242

4343
/**
44-
* @class UARTService.
45-
* @brief BLE Service to enable UART over BLE.
46-
*/
44+
* @class UARTService.
45+
* @brief BLE Service to enable UART over BLE.
46+
*
47+
* @deprecated This service is deprecated, and no replacement is currently available.
48+
*/
49+
MBED_DEPRECATED_SINCE(
50+
"mbed-os-5.13",
51+
"This service is deprecated, and no replacement is currently available."
52+
)
4753
class UARTService {
4854
public:
4955
/** Maximum length of data (in bytes) that the UART service module can transmit to the peer. */

0 commit comments

Comments
 (0)