SENDING GATT NOTIFICATION USING DBUS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to send GATT notification in bluez 5.43 using DBUS. But
currently the gatt-service.c doesn't provide any details how to send
it using DBUS. Currently

static DBusMessage *chr_start_notify(DBusConnection *conn, DBusMessage
*msg, void *user_data)

    return g_dbus_create_error(msg, DBUS_ERROR_NOT_SUPPORTED, "Not Supported")


is given like this as no characteristic supports notification in the
given code. But I am trying to build a custom service which has
notifiable characteristics. How should i handle it. What should be the
code that i need to write inside char_start_notify to achieve it.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux