jacobrosenthal commented on issue #831: apps/ble: Fix GATT discovery in some apps URL: https://github.com/apache/mynewt-core/pull/831#issuecomment-367373064 Which for posterity looked like this ``` 000876 [ts=6843696ssb, mod=4 level=0] Command Status: status=0 cmd_pkts=1 ocf=0xd ogf=0x8 000878 [ts=6859320ssb, mod=4 level=0] LE connection complete. handle=1 role=0 paddrtype=1 addr=f9.7b.73.ef.2c.63 local_rpa=0.0.0.0.0.0 peer_rpa=0.0.0.0.0.0 itvl=40 latency=0 spvn_tmo=256 mca=4 000878 [ts=6859320ssb, mod=64 level=1] Connection established handle=1 our_ota_addr_type=0 our_ota_addr=0a:0a:0a:0a:0a:0a our_id_addr_type=0 our_id_addr=0a:0a:0a:0a:0a:0a peer_ota_addr_type=1 peer_ota_addr=f9:7b:73:ef:2c:63 peer_id_addr_type=1 peer_id_addr=f9:7b:73:ef:2c:63 conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0 000879 [ts=6867132ssb, mod=4 level=1] GATT procedure initiated: discover all services 000879 [ts=6867132ssb, mod=4 level=0] txed att command: read group type req; conn=1 start_handle=0x0001 end_handle=0xffff 000879 [ts=6867132ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000879 [ts=6867132ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x10 0x01 0x00 0xff 0xff 0x00 0x28 000879 [ts=6867132ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x0016 len=2 000879 [ts=6867132ssb, mod=4 level=0] 0x16 0x20 0x02 0x01 0x00 000879 [ts=6867132ssb, mod=4 level=0] Command Status: status=0 cmd_pkts=1 ocf=0x16 ogf=0x8 000879 [ts=6867132ssb, mod=4 level=0] Unknown LE event 000885 [ts=6914004ssb, mod=4 level=0] LE Remote Used Features. handle=1 feat=01 00 00 00 00 00 00 00 000885 [ts=6914004ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000885 [ts=6914004ssb, mod=4 level=0] handle:1 pkts:1 000891 [ts=6960876ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=24 data=0x14 0x00 0x04 0x00 0x11 0x06 0x01 0x00 0x07 0x00 0x00 0x18 0x08 0x00 0x08 0x00 0x01 0x18 0x09 0x00 0x11 0x00 0x0a 0x18 000892 [ts=6968688ssb, mod=4 level=0] rxed att command: read group type rsp; conn=1 length=6 000892 [ts=6968688ssb, mod=4 level=0] txed att command: read group type req; conn=1 start_handle=0x0012 end_handle=0xffff 000892 [ts=6968688ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000892 [ts=6968688ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x10 0x12 0x00 0xff 0xff 0x00 0x28 000898 [ts=7015624ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000898 [ts=7015624ssb, mod=4 level=0] handle:1 pkts:1 000904 [ts=7062496ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=18 data=0x0e 0x00 0x04 0x00 0x11 0x06 0x12 0x00 0x17 0x00 0x0d 0x18 0x18 0x00 0x1b 0x00 0x0f 0x18 000904 [ts=7062496ssb, mod=4 level=0] rxed att command: read group type rsp; conn=1 length=6 000904 [ts=7062496ssb, mod=4 level=0] txed att command: read group type req; conn=1 start_handle=0x001c end_handle=0xffff 000905 [ts=7070308ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000905 [ts=7070308ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x10 0x1c 0x00 0xff 0xff 0x00 0x28 000911 [ts=7117180ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000911 [ts=7117180ssb, mod=4 level=0] handle:1 pkts:1 000917 [ts=7164052ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=26 data=0x16 0x00 0x04 0x00 0x11 0x14 0x1c 0x00 0xff 0xff 0x02 0x50 0xf4 0x1d 0x0a 0x4b 0x89 0x90 0x99 0x4c 0xac 0x6c 0x00 0x30 0xba 0xf0 000917 [ts=7164052ssb, mod=4 level=0] rxed att command: read group type rsp; conn=1 length=20 000917 [ts=7164052ssb, mod=4 level=1] GATT procedure initiated: discover all characteristics; start_handle=1 end_handle=7 000917 [ts=7164052ssb, mod=4 level=0] txed att command: read type req; conn=1 start_handle=0x0001 end_handle=0x0007 000918 [ts=7171864ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000918 [ts=7171864ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x08 0x01 0x00 0x07 0x00 0x03 0x28 000923 [ts=7210924ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000923 [ts=7210924ssb, mod=4 level=0] handle:1 pkts:1 000930 [ts=7265608ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=27 data=0x17 0x00 0x04 0x00 0x09 0x07 0x02 0x00 0x0a 0x03 0x00 0x00 0x2a 0x04 0x00 0x02 0x05 0x00 0x01 0x2a 0x06 0x00 0x02 0x07 0x00 0x04 0x2a 000930 [ts=7265608ssb, mod=4 level=0] rxed att command: read type rsp; conn=1 length=7 000930 [ts=7265608ssb, mod=4 level=0] txed att command: read type req; conn=1 start_handle=0x0007 end_handle=0x0007 000930 [ts=7265608ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000930 [ts=7265608ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x08 0x07 0x00 0x07 0x00 0x03 0x28 000936 [ts=7312480ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000936 [ts=7312480ssb, mod=4 level=0] handle:1 pkts:1 000943 [ts=7367164ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=9 data=0x05 0x00 0x04 0x00 0x01 0x08 0x07 0x00 0x0a 000943 [ts=7367164ssb, mod=4 level=0] rxed att command: error rsp; conn=1 req_op=8 handle=0x0007 error_code=10 000943 [ts=7367164ssb, mod=4 level=1] GATT procedure initiated: discover all characteristics; start_handle=8 end_handle=8 000943 [ts=7367164ssb, mod=4 level=0] txed att command: read type req; conn=1 start_handle=0x0008 end_handle=0x0008 000943 [ts=7367164ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000943 [ts=7367164ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x08 0x08 0x00 0x08 0x00 0x03 0x28 000949 [ts=7414036ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000949 [ts=7414036ssb, mod=4 level=0] handle:1 pkts:1 000955 [ts=7460908ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=9 data=0x05 0x00 0x04 0x00 0x01 0x08 0x08 0x00 0x0a 000956 [ts=7468720ssb, mod=4 level=0] rxed att command: error rsp; conn=1 req_op=8 handle=0x0008 error_code=10 000956 [ts=7468720ssb, mod=4 level=1] GATT procedure initiated: discover all characteristics; start_handle=8 end_handle=8 000956 [ts=7468720ssb, mod=4 level=0] txed att command: read type req; conn=1 start_handle=0x0008 end_handle=0x0008 000956 [ts=7468720ssb, mod=4 level=0] host tx hci data; handle=1 length=11 000956 [ts=7468720ssb, mod=4 level=0] ble_hs_hci_acl_tx(): 0x01 0x00 0x0b 0x00 0x07 0x00 0x04 0x00 0x08 0x08 0x00 0x08 0x00 0x03 0x28 000962 [ts=7515592ssb, mod=4 level=0] Number of Completed Packets: num_handles=1 000962 [ts=7515592ssb, mod=4 level=0] handle:1 pkts:1 000968 [ts=7562464ssb, mod=4 level=0] ble_hs_hci_evt_acl_process(): conn_handle=1 pb=2 len=9 data=0x05 0x00 0x04 0x00 0x01 0x08 0x08 0x00 0x0a 000968 [ts=7562464ssb, mod=4 level=0] rxed att command: error rsp; conn=1 req_op=8 handle=0x0008 error_code=10 000968 [ts=7562464ssb, mod=4 level=1] GATT procedure initiated: discover all characteristics; start_handle=8 end_handle=8 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services