diff options
Diffstat (limited to 'core/qt-ble.cpp')
-rw-r--r-- | core/qt-ble.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/qt-ble.cpp b/core/qt-ble.cpp index ba75c8472..b2f2edf47 100644 --- a/core/qt-ble.cpp +++ b/core/qt-ble.cpp @@ -542,4 +542,10 @@ dc_status_t qt_ble_write(void *io, const void* data, size_t size, size_t *actual return ble->write(data, size, actual); } +const char *qt_ble_get_name(void *io) +{ + BLEObject *ble = (BLEObject *) io; + return ble->get_name(); +} + } /* extern "C" */ |