{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/1628","repository_url":"https://api.github.com/repos/espressif/esp-idf","labels_url":"https://api.github.com/repos/espressif/esp-idf/issues/1628/labels{/name}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/1628/comments","events_url":"https://api.github.com/repos/espressif/esp-idf/issues/1628/events","html_url":"https://github.com/espressif/esp-idf/issues/1628","id":297650912,"number":1628,"title":"[TW#18636] ble esp_ble_gattc_register_for_indicate","user":{"login":"chegewara","id":1406020,"avatar_url":"https://avatars1.githubusercontent.com/u/1406020?v=4","gravatar_id":"","url":"https://api.github.com/users/chegewara","html_url":"https://github.com/chegewara","followers_url":"https://api.github.com/users/chegewara/followers","following_url":"https://api.github.com/users/chegewara/following{/other_user}","gists_url":"https://api.github.com/users/chegewara/gists{/gist_id}","starred_url":"https://api.github.com/users/chegewara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chegewara/subscriptions","organizations_url":"https://api.github.com/users/chegewara/orgs","repos_url":"https://api.github.com/users/chegewara/repos","events_url":"https://api.github.com/users/chegewara/events{/privacy}","received_events_url":"https://api.github.com/users/chegewara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-16T01:01:24Z","updated_at":"2018-02-23T10:39:02Z","closed_at":null,"author_association":"NONE","body":"Hi, is there a plan to add function to register for indications similar to `esp_ble_gattc_register_for_notify`. I know i can register for indications by writing 0x0200 to proper descriptor, but it would be nice to have API to do it."},"comment":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/comments/367973644","html_url":"https://github.com/espressif/esp-idf/issues/1628#issuecomment-367973644","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/1628","id":367973644,"user":{"login":"heyinling","id":23134411,"avatar_url":"https://avatars1.githubusercontent.com/u/23134411?v=4","gravatar_id":"","url":"https://api.github.com/users/heyinling","html_url":"https://github.com/heyinling","followers_url":"https://api.github.com/users/heyinling/followers","following_url":"https://api.github.com/users/heyinling/following{/other_user}","gists_url":"https://api.github.com/users/heyinling/gists{/gist_id}","starred_url":"https://api.github.com/users/heyinling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyinling/subscriptions","organizations_url":"https://api.github.com/users/heyinling/orgs","repos_url":"https://api.github.com/users/heyinling/repos","events_url":"https://api.github.com/users/heyinling/events{/privacy}","received_events_url":"https://api.github.com/users/heyinling/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T10:39:02Z","updated_at":"2018-02-23T10:39:02Z","author_association":"CONTRIBUTOR","body":"@chegewara I mean `esp_ble_gattc_register_for_notify` won't write CCC. it can be used for both notification and indication. But I haven't tested it for some time, not 100% sure about the current behavior.\r\n\r\ncould you please help to check if calling `esp_ble_gattc_register_for_notify` in client side will write CCC? you may use 2 ESP32 board and check if GATTS side receive CCC write event."}}
{"actor":{"display_login":"heyinling"}}