* @brief Convert an esp_gatt_id_t to a string. */
| 822 | * @brief Convert an esp_gatt_id_t to a string. |
| 823 | */ |
| 824 | static String gattIdToString(esp_gatt_id_t gattId) { |
| 825 | String res = "uuid: " + BLEUUID(gattId.uuid).toString() + ", inst_id: "; |
| 826 | char val[8]; |
| 827 | snprintf(val, sizeof(val), "%u", gattId.inst_id); |
| 828 | res += val; |
| 829 | return res; |
| 830 | } // gattIdToString |
| 831 | |
| 832 | /** |
| 833 | * @brief Convert an esp_ble_addr_type_t to a string representation. |
no test coverage detected