Deprecate UARTService

UARTService is rarely used and has not been actively updated.
pull/10635/head
Lingkai Dong 2019-05-22 11:48:32 +01:00
parent 1dbb478bbb
commit 31edc25ae7
1 changed files with 9 additions and 3 deletions

View File

@ -41,9 +41,15 @@ extern const uint8_t UARTServiceTXCharacteristicUUID[UUID::LENGTH_OF_LONG_UUID]
extern const uint8_t UARTServiceRXCharacteristicUUID[UUID::LENGTH_OF_LONG_UUID]; extern const uint8_t UARTServiceRXCharacteristicUUID[UUID::LENGTH_OF_LONG_UUID];
/** /**
* @class UARTService. * @class UARTService.
* @brief BLE Service to enable UART over BLE. * @brief BLE Service to enable UART over BLE.
*/ *
* @deprecated This service is deprecated, and no replacement is currently available.
*/
MBED_DEPRECATED_SINCE(
"mbed-os-5.13",
"This service is deprecated, and no replacement is currently available."
)
class UARTService { class UARTService {
public: public:
/** Maximum length of data (in bytes) that the UART service module can transmit to the peer. */ /** Maximum length of data (in bytes) that the UART service module can transmit to the peer. */