File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/ble_gatt_server/include Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ class BleGattServer : public BaseComponent {
520520 // / Get the connected device name
521521 // / @param conn_info The connection information for the device.
522522 // / @return The connected device name.
523- std::string get_connected_device_name (NimBLEConnInfo &conn_info) {
523+ std::string get_connected_device_name (const NimBLEConnInfo &conn_info) {
524524 if (!server_) {
525525 logger_.error (" Server not created" );
526526 return {};
@@ -581,7 +581,7 @@ class BleGattServer : public BaseComponent {
581581 // / Get the RSSI of the connected device
582582 // / @param conn_info The connection information for the device.
583583 // / @return The RSSI of the connected device.
584- int get_connected_device_rssi (NimBLEConnInfo &conn_info) {
584+ int get_connected_device_rssi (const NimBLEConnInfo &conn_info) {
585585 if (!server_) {
586586 logger_.error (" Server not created" );
587587 return {};
You can’t perform that action at this time.
0 commit comments