esp-nimble-cpp
1.4.1
|
A BLE Utility class with methods for debugging and general purpose use. More...
Static Public Member Functions | |
static void | dumpGapEvent (ble_gap_event *event, void *arg) |
Utility function to log the gap event info. More... | |
static const char * | gapEventToString (uint8_t eventType) |
Convert a GAP event type to a string representation. More... | |
static char * | buildHexData (uint8_t *target, const uint8_t *source, uint8_t length) |
Create a hex representation of data. More... | |
static const char * | advTypeToString (uint8_t advType) |
Convert the advertising type flag to a string. More... | |
static const char * | returnCodeToString (int rc) |
Converts a return code from the NimBLE stack to a text string. More... | |
static int | checkConnParams (ble_gap_conn_params *params) |
A function for checking validity of connection parameters. More... | |
A BLE Utility class with methods for debugging and general purpose use.
|
static |
Convert the advertising type flag to a string.
advType | The type to convert. |
|
static |
Create a hex representation of data.
[in] | target | Where to write the hex string. If this is null, we malloc storage. |
[in] | source | The start of the binary data. |
[in] | length | The length of the data to convert. |
|
static |
A function for checking validity of connection parameters.
[in] | params | A pointer to the structure containing the parameters to check. |
|
static |
Utility function to log the gap event info.
[in] | event | A pointer to the gap event structure. |
[in] | arg | Unused. |
|
static |
Convert a GAP event type to a string representation.
[in] | eventType | The type of event. |
|
static |
Converts a return code from the NimBLE stack to a text string.
[in] | rc | The return code to convert. |