File tree 1 file changed +2
-2
lines changed
components/ble_gatt_server/include
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 {
520
520
// / Get the connected device name
521
521
// / @param conn_info The connection information for the device.
522
522
// / @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) {
524
524
if (!server_) {
525
525
logger_.error (" Server not created" );
526
526
return {};
@@ -581,7 +581,7 @@ class BleGattServer : public BaseComponent {
581
581
// / Get the RSSI of the connected device
582
582
// / @param conn_info The connection information for the device.
583
583
// / @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) {
585
585
if (!server_) {
586
586
logger_.error (" Server not created" );
587
587
return {};
You can’t perform that action at this time.
0 commit comments