tinyb
tinyb copied to clipboard
TinyB exposes the BLE GATT API for C++, Java and other languages, using BlueZ over DBus.
I am trying to read temperature values from a BLE Temperature sensor (bluemaestro tempo disc) I am developing in c++ using tinyb library. Relevant code snippet: ``` using Iter =...
I've been ask to report this issue concerning error with Java 10: https://stackoverflow.com/questions/50184247/tinybs-cmake-script-cannot-find-javah if there is a quick fix I would like to know a step by step tutorial as...
Hello: I have the following setup: Hello: 4.19.27-gentoo-r1 dev-libs/glib-2.56.4:2 sys-apps/dbus-1.12.12-r1 net-wireless/bluez-5.50-r1 g++ (Gentoo Hardened 8.2.0-r6 p1.7) 8.2.0 I have read the previous posts on this issue. However they have not...
It seems that the maximum number of devices connected at the same time is 3. Is this correct? If so, how to change this number? Thanks.
I've got the following error when running TinyB. ``` hg A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f8d14014f50, pid=4066, tid=4127 JRE version: Java(TM)...
I've measured the duration of sending one packet of 8 bytes to the peripheral with the code below: auto tick = boost::posix_time::microsec_clock::local_time(); this->nus_char_tx->write_value(buffer); auto now = boost::posix_time::microsec_clock::local_time(); boost::posix_time::time_duration diff =...
Hi I would like to connect to more than one BLE device via tinyb. My current workflow is the following: // First device manager = BluetoothManager::get_bluetooth_manager(); manager->start_discovery() auto foundServices =...
Hi, I am using the tinyb library successfully under my Linux VM and it runs like a charm. So far thanks for it. Do you have plans to port the...
In function: ``` /* D-Bus method calls: */ std::vector BluetoothGattCharacteristic::read_value (uint16_t offset) { GError *error = NULL; GBytes *result_gbytes; GVariantDict dict; g_variant_dict_init(&dict, NULL); if (offset != 0) g_variant_dict_insert_value(&dict, "offset", g_variant_new_uint16(offset));...
Resolves #135 Signed-off-by: Paolo Fisico