mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(nimble): Update example READMEs with correct console log information
This commit is contained in:
@@ -61,139 +61,46 @@ This is the console output on successful connection:
|
||||
|
||||
|
||||
```
|
||||
I (456) NimBLE_BLE_PHY_CENT: BLE Host Task Started
|
||||
I (456) NimBLE: Default LE PHY set successfully; tx_phy = 7, rx_phy = 7
|
||||
I (456) NimBLE: GAP procedure initiated: extended discovery;
|
||||
I (...) NimBLE_BLE_PHY_CENT: BLE Host Task Started
|
||||
I (...) NimBLE: Default LE PHY set successfully; tx_phy = 7, rx_phy = 7
|
||||
I (...) NimBLE: GAP procedure initiated: extended discovery;
|
||||
I (...) main_task: Returned from app_main()
|
||||
|
||||
I (466) main_task: Returned from app_main()
|
||||
I (6316) NimBLE: Attempting to connect to : 60 55 f9 f7 3e 23 with type 0
|
||||
I (...) NimBLE: Attempting to connect to : xx xx xx xx xx xx with type 0
|
||||
I (...) NimBLE: GAP procedure initiated: extended connect;
|
||||
I (...) NimBLE: Connection established on 1M Phy
|
||||
I (...) NimBLE:
|
||||
|
||||
I (6316) NimBLE: GAP procedure initiated: extended connect;
|
||||
I (...) NimBLE: GATT procedure initiated: discover all services
|
||||
I (...) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (...) NimBLE: start_handle=1 end_handle=5
|
||||
I (...) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (...) NimBLE: start_handle=6 end_handle=13
|
||||
I (...) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (...) NimBLE: start_handle=14 end_handle=65535
|
||||
I (...) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (...) NimBLE: chr_val_handle=8 end_handle=9
|
||||
I (...) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (...) NimBLE: chr_val_handle=16 end_handle=65535
|
||||
I (...) NimBLE: Service discovery complete; status=0 conn_handle=0
|
||||
I (...) NimBLE: GATT procedure initiated: read;
|
||||
I (...) NimBLE: att_handle=16
|
||||
I (...) NimBLE: Read complete; status=261 conn_handle=0
|
||||
I (...) NimBLE: GATT procedure initiated: write long;
|
||||
I (...) NimBLE: att_handle=16 len=1000
|
||||
I (...) NimBLE: Write complete; status=261 conn_handle=0
|
||||
I (...) NimBLE: GAP procedure initiated: terminate connection; conn_handle=0 hci_reason=19
|
||||
I (...) NimBLE: disconnect; reason=534
|
||||
|
||||
I (6386) NimBLE: Connection established 1M PhY
|
||||
I (6386) NimBLE:
|
||||
I (...) NimBLE: Attempting to initiate connection on 2M PHY
|
||||
I (...) NimBLE: GAP procedure initiated: extended connect;
|
||||
I (...) NimBLE: Connection established on 2M Phy
|
||||
I (...) NimBLE: ... (same discovery, read, write long, and disconnect flow)
|
||||
|
||||
I (6386) NimBLE: GATT procedure initiated: discover all services
|
||||
|
||||
I (6446) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (6446) NimBLE: start_handle=1 end_handle=5
|
||||
|
||||
I (6636) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (6636) NimBLE: start_handle=6 end_handle=9
|
||||
|
||||
I (6836) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (6836) NimBLE: start_handle=10 end_handle=65535
|
||||
|
||||
I (7036) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (7036) NimBLE: chr_val_handle=8 end_handle=9
|
||||
|
||||
I (7136) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (7136) NimBLE: chr_val_handle=12 end_handle=65535
|
||||
|
||||
I (7236) NimBLE: Service discovery complete; status=0 conn_handle=1
|
||||
|
||||
I (7236) NimBLE: GATT procedure initiated: read;
|
||||
I (7236) NimBLE: att_handle=12
|
||||
|
||||
I (7336) NimBLE: Read complete; status=261 conn_handle=1
|
||||
I (7336) NimBLE:
|
||||
|
||||
I (7336) NimBLE: GATT procedure initiated: write long;
|
||||
I (7346) NimBLE: att_handle=12 len=1000
|
||||
|
||||
I (7436) NimBLE: Write complete; status=261 conn_handle=1
|
||||
I (7436) NimBLE: GAP procedure initiated: terminate connection; conn_handle=1 hci_reason=19
|
||||
|
||||
I (7446) NimBLE:
|
||||
|
||||
I (7486) NimBLE: disconnect; reason=534
|
||||
I (7486) NimBLE:
|
||||
|
||||
I (7486) NimBLE: Attempting to initiate connection on 2M PHY
|
||||
|
||||
I (7496) NimBLE: GAP procedure initiated: extended connect;
|
||||
|
||||
I (7596) NimBLE: Connection established on 2M Phy
|
||||
I (7596) NimBLE:
|
||||
|
||||
I (7596) NimBLE: GATT procedure initiated: discover all services
|
||||
|
||||
I (7696) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (7706) NimBLE: start_handle=1 end_handle=5
|
||||
|
||||
I (7896) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (7896) NimBLE: start_handle=6 end_handle=9
|
||||
|
||||
I (8096) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (8096) NimBLE: start_handle=10 end_handle=65535
|
||||
|
||||
I (8296) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (8296) NimBLE: chr_val_handle=8 end_handle=9
|
||||
|
||||
I (8396) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (8396) NimBLE: chr_val_handle=12 end_handle=65535
|
||||
|
||||
I (8496) NimBLE: Service discovery complete; status=0 conn_handle=1
|
||||
|
||||
I (8496) NimBLE: GATT procedure initiated: read;
|
||||
I (8506) NimBLE: att_handle=12
|
||||
|
||||
I (8596) NimBLE: Read complete; status=261 conn_handle=1
|
||||
I (8596) NimBLE:
|
||||
|
||||
I (8606) NimBLE: GATT procedure initiated: write long;
|
||||
I (8606) NimBLE: att_handle=12 len=1000
|
||||
|
||||
I (8696) NimBLE: Write complete; status=261 conn_handle=1
|
||||
I (8696) NimBLE: GAP procedure initiated: terminate connection; conn_handle=1 hci_reason=19
|
||||
|
||||
I (8706) NimBLE:
|
||||
|
||||
I (8746) NimBLE: disconnect; reason=534
|
||||
I (8746) NimBLE:
|
||||
|
||||
I (8756) NimBLE: Attempting to initiate connection on Coded PHY
|
||||
|
||||
I (8756) NimBLE: GAP procedure initiated: extended connect;
|
||||
|
||||
I (8876) NimBLE: Connection established on Coded Phy
|
||||
I (8876) NimBLE:
|
||||
|
||||
I (8876) NimBLE: GATT procedure initiated: discover all services
|
||||
|
||||
I (8976) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (8976) NimBLE: start_handle=1 end_handle=5
|
||||
|
||||
I (9176) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (9176) NimBLE: start_handle=6 end_handle=9
|
||||
|
||||
I (9426) NimBLE: GATT procedure initiated: discover all characteristics;
|
||||
I (9426) NimBLE: start_handle=10 end_handle=65535
|
||||
|
||||
I (9626) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (9626) NimBLE: chr_val_handle=8 end_handle=9
|
||||
|
||||
I (9776) NimBLE: GATT procedure initiated: discover all descriptors;
|
||||
I (9776) NimBLE: chr_val_handle=12 end_handle=65535
|
||||
|
||||
I (9876) NimBLE: Service discovery complete; status=0 conn_handle=1
|
||||
|
||||
I (9876) NimBLE: GATT procedure initiated: read;
|
||||
I (9876) NimBLE: att_handle=12
|
||||
|
||||
I (9976) NimBLE: Read complete; status=261 conn_handle=1
|
||||
I (9976) NimBLE:
|
||||
|
||||
I (9976) NimBLE: GATT procedure initiated: write long;
|
||||
I (9976) NimBLE: att_handle=12 len=1000
|
||||
|
||||
I (10076) NimBLE: Write complete; status=261 conn_handle=1
|
||||
I (10076) NimBLE: GAP procedure initiated: terminate connection; conn_handle=1 hci_reason=19
|
||||
|
||||
I (10076) NimBLE:
|
||||
|
||||
I (10126) NimBLE: disconnect; reason=534
|
||||
I (10126) NimBLE:
|
||||
I (...) NimBLE: Attempting to initiate connection on Coded PHY
|
||||
I (...) NimBLE: GAP procedure initiated: extended connect;
|
||||
I (...) NimBLE: Connection established on Coded Phy
|
||||
I (...) NimBLE: ... (same discovery, read, write long, and disconnect flow)
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -52,100 +52,32 @@ See the [Getting Started Guide](https://idf.espressif.com/) for full steps to co
|
||||
This is the console output on successful connection:
|
||||
|
||||
```
|
||||
I (459) NimBLE_BLE_PHY_PRPH: BLE Host Task Started
|
||||
I (459) NimBLE: Device Address:
|
||||
I (459) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (469) NimBLE:
|
||||
I (...) NimBLE_BLE_PHY_PRPH: BLE Host Task Started
|
||||
I (...) NimBLE: Device Address:
|
||||
I (...) NimBLE: xx:xx:xx:xx:xx:xx
|
||||
I (...) NimBLE:
|
||||
I (...) NimBLE: Default LE PHY set successfully
|
||||
I (...) NimBLE: GAP procedure initiated: extended advertise; instance=0
|
||||
I (...) uart: queue free spaces: 8
|
||||
I (...) main_task: Returned from app_main()
|
||||
|
||||
I (469) NimBLE: Default LE PHY set successfully
|
||||
I (479) NimBLE: GAP procedure initiated: extended advertise; instance=0
|
||||
I (...) NimBLE: advertise complete; reason=0
|
||||
I (...) NimBLE: connection established; status=0
|
||||
I (...) NimBLE: handle=0 ... conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
I (...) NimBLE:
|
||||
|
||||
I (479) uart: queue free spaces: 8
|
||||
I (489) main_task: Returned from app_main()
|
||||
I (599) NimBLE: connection established; status=0
|
||||
I (599) NimBLE: handle=1 our_ota_addr_type=0 our_ota_addr=
|
||||
I (599) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (599) NimBLE: our_id_addr_type=0 our_id_addr=
|
||||
I (609) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (609) NimBLE: peer_ota_addr_type=0 peer_ota_addr=
|
||||
I (619) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (619) NimBLE: peer_id_addr_type=0 peer_id_addr=
|
||||
I (619) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (629) NimBLE: conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
I (...) NimBLE: disconnect; reason=531
|
||||
I (...) NimBLE: handle=0 ... conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
I (...) NimBLE:
|
||||
|
||||
I (639) NimBLE:
|
||||
|
||||
I (639) NimBLE: advertise complete; reason=0
|
||||
I (1749) NimBLE: disconnect; reason=531
|
||||
I (1749) NimBLE: handle=1 our_ota_addr_type=0 our_ota_addr=
|
||||
I (1749) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (1749) NimBLE: our_id_addr_type=0 our_id_addr=
|
||||
I (1759) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (1759) NimBLE: peer_ota_addr_type=0 peer_ota_addr=
|
||||
I (1759) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (1769) NimBLE: peer_id_addr_type=0 peer_id_addr=
|
||||
I (1769) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (1779) NimBLE: conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
|
||||
I (1789) NimBLE:
|
||||
|
||||
I (1789) NimBLE: GAP procedure initiated: extended advertise; instance=0
|
||||
|
||||
I (1809) NimBLE: connection established; status=0
|
||||
I (1809) NimBLE: handle=1 our_ota_addr_type=0 our_ota_addr=
|
||||
I (1809) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (1819) NimBLE: our_id_addr_type=0 our_id_addr=
|
||||
I (1819) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (1819) NimBLE: peer_ota_addr_type=0 peer_ota_addr=
|
||||
I (1829) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (1829) NimBLE: peer_id_addr_type=0 peer_id_addr=
|
||||
I (1839) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (1839) NimBLE: conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
|
||||
I (1849) NimBLE:
|
||||
|
||||
I (1859) NimBLE: advertise complete; reason=0
|
||||
I (3009) NimBLE: disconnect; reason=531
|
||||
I (3009) NimBLE: handle=1 our_ota_addr_type=0 our_ota_addr=
|
||||
I (3009) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (3009) NimBLE: our_id_addr_type=0 our_id_addr=
|
||||
I (3019) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (3019) NimBLE: peer_ota_addr_type=0 peer_ota_addr=
|
||||
I (3029) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (3029) NimBLE: peer_id_addr_type=0 peer_id_addr=
|
||||
I (3039) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (3039) NimBLE: conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
|
||||
I (3049) NimBLE:
|
||||
|
||||
I (3059) NimBLE: GAP procedure initiated: extended advertise; instance=0
|
||||
|
||||
I (3079) NimBLE: connection established; status=0
|
||||
I (3079) NimBLE: handle=1 our_ota_addr_type=0 our_ota_addr=
|
||||
I (3079) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (3079) NimBLE: our_id_addr_type=0 our_id_addr=
|
||||
I (3089) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (3089) NimBLE: peer_ota_addr_type=0 peer_ota_addr=
|
||||
I (3099) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (3099) NimBLE: peer_id_addr_type=0 peer_id_addr=
|
||||
I (3109) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (3109) NimBLE: conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
|
||||
I (3119) NimBLE:
|
||||
|
||||
I (3129) NimBLE: advertise complete; reason=0
|
||||
I (4379) NimBLE: disconnect; reason=531
|
||||
I (4379) NimBLE: handle=1 our_ota_addr_type=0 our_ota_addr=
|
||||
I (4379) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (4379) NimBLE: our_id_addr_type=0 our_id_addr=
|
||||
I (4389) NimBLE: 60:55:f9:f7:3e:23
|
||||
I (4389) NimBLE: peer_ota_addr_type=0 peer_ota_addr=
|
||||
I (4399) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (4399) NimBLE: peer_id_addr_type=0 peer_id_addr=
|
||||
I (4409) NimBLE: 60:55:f9:f7:3e:25
|
||||
I (4409) NimBLE: conn_itvl=40 conn_latency=0 supervision_timeout=256 encrypted=0 authenticated=0 bonded=0
|
||||
|
||||
I (7872) NimBLE:
|
||||
I (...) NimBLE: GAP procedure initiated: extended advertise; instance=0
|
||||
I (...) NimBLE: advertise complete; reason=0
|
||||
I (...) NimBLE: connection established; status=0
|
||||
I (...) NimBLE: ...
|
||||
I (...) NimBLE: disconnect; reason=531
|
||||
I (...) NimBLE: ...
|
||||
I (...) NimBLE: GAP procedure initiated: extended advertise; instance=0
|
||||
I (...) NimBLE: ...
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user