You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After calling hids_client_send_write_report(), the client state does not return to HIDS_CLIENT_STATE_CONNECTED.
It remains on HIDS_CLIENT_W4_WRITE_REPORT_DONE.
To Reproduce
Just call hids_client_send_write_report().
It seems that handle_report_event is ignoring the GATT_EVENT_QUERY_COMPLETE event triggered by gatt_client_write_value_of_characteristic(), and the client state remains at HIDS_CLIENT_W4_WRITE_REPORT_DONE
The text was updated successfully, but these errors were encountered:
…_STATE_CONNECTED
This commit sets the client state back to HIDS_CLIENT_STATE_CONNECTED
after receiving a GATT_EVENT_QUERY_COMPLETE event.
Fixesbluekitchen#573
Hi @ricardoquesada - the first bug was actually that the wrong packet handler was registered. With that in place, the state is set back to connected correctly. However, there was no event that indicates that the write is complete. I've changed the code to emit an empty GATTSERVICE_SUBEVENT_HID_REPORT. What do you think about this? Does this work for you?
Describe the bug
After calling
hids_client_send_write_report()
, the client state does not return toHIDS_CLIENT_STATE_CONNECTED
.It remains on
HIDS_CLIENT_W4_WRITE_REPORT_DONE
.To Reproduce
Just call
hids_client_send_write_report()
.It seems that
handle_report_event
is ignoring theGATT_EVENT_QUERY_COMPLETE
event triggered bygatt_client_write_value_of_characteristic()
, and the client state remains atHIDS_CLIENT_W4_WRITE_REPORT_DONE
The text was updated successfully, but these errors were encountered: