Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
DiscoveredService Class Reference
Type for holding information about the service and the characteristics found during the discovery process. More...
#include <DiscoveredService.h>
Public Member Functions | |
void | setup (UUID uuidIn, GattAttribute::Handle_t startHandleIn, GattAttribute::Handle_t endHandleIn) |
Set information about the discovered service. | |
void | setup (GattAttribute::Handle_t startHandleIn, GattAttribute::Handle_t endHandleIn) |
Set the start and end handle of the discovered service. | |
void | setupLongUUID (UUID::LongUUIDBytes_t longUUID, UUID::ByteOrder_t order=UUID::MSB) |
Set the long UUID of the discovered service. | |
const UUID & | getUUID (void) const |
Get the UUID of the discovered service. | |
const GattAttribute::Handle_t & | getStartHandle (void) const |
Get the start handle of the discovered service in the peer's ATT table. | |
const GattAttribute::Handle_t & | getEndHandle (void) const |
Get the end handle of the discovered service in the peer's ATT table. | |
DiscoveredService () | |
Construct a DiscoveredService instance. |
Detailed Description
Type for holding information about the service and the characteristics found during the discovery process.
Definition at line 26 of file DiscoveredService.h.
Constructor & Destructor Documentation
Construct a DiscoveredService instance.
Definition at line 104 of file DiscoveredService.h.
Member Function Documentation
const GattAttribute::Handle_t& getEndHandle | ( | void | ) | const |
Get the end handle of the discovered service in the peer's ATT table.
- Returns:
- A reference to the end handle.
Definition at line 96 of file DiscoveredService.h.
const GattAttribute::Handle_t& getStartHandle | ( | void | ) | const |
Get the start handle of the discovered service in the peer's ATT table.
- Returns:
- A reference to the start handle.
Definition at line 87 of file DiscoveredService.h.
const UUID& getUUID | ( | void | ) | const |
Get the UUID of the discovered service.
- Returns:
- A reference to the UUID of the discovered service.
Definition at line 78 of file DiscoveredService.h.
void setup | ( | GattAttribute::Handle_t | startHandleIn, |
GattAttribute::Handle_t | endHandleIn | ||
) |
Set the start and end handle of the discovered service.
- Parameters:
-
[in] startHandleIn The start handle of the discovered service in the peer's ATT table. [in] endHandleIn The end handle of the discovered service in the peer's ATT table.
Definition at line 55 of file DiscoveredService.h.
void setup | ( | UUID | uuidIn, |
GattAttribute::Handle_t | startHandleIn, | ||
GattAttribute::Handle_t | endHandleIn | ||
) |
Set information about the discovered service.
- Parameters:
-
[in] uuidIn The UUID of the discovered service. [in] startHandleIn The start handle of the discovered service in the peer's ATT table. [in] endHandleIn The end handle of the discovered service in the peer's ATT table.
Definition at line 40 of file DiscoveredService.h.
void setupLongUUID | ( | UUID::LongUUIDBytes_t | longUUID, |
UUID::ByteOrder_t | order = UUID::MSB |
||
) |
Set the long UUID of the discovered service.
- Parameters:
-
[in] longUUID The long UUID of the discovered service. [in] order The byte ordering of longUUID
.
Definition at line 68 of file DiscoveredService.h.
Generated on Tue Jul 12 2022 19:56:19 by
