Tools used to pass GAP tests in PTS:
TSPX_iut_device_name_in_adv_packaet_for_random_address: fs_test
ACTS Steps:
ble_start_generic_nonconnectable_advertisement
ble_stop_advertisement
ACTS Steps:
ble_start_generic_nonconnectable_advertisement
ble_stop_advertisement
ACTS Steps:
ble_start_generic_connectable_advertisement
ble_stop_advertisement
ACTS Steps:
btc_request_discovery true
(wait some time for scan results)btc_request_discovery false
btc_get_known_remote_devices
ACTS Steps:
btc_request_discovery true
(wait some time for scan results)btc_request_discovery false
btc_get_known_remote_devices
ACTS Steps:
btc_request_discovery true
(wait some time for scan results)btc_request_discovery false
btc_get_known_remote_devices
ACTS Steps:
btc_request_discovery true
(wait some time for scan results)btc_request_discovery false
btc_get_known_remote_devices
ACTS Steps:
btc_request_discovery true
(wait some time for scan results)btc_request_discovery false
btc_get_known_remote_devices
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed.
ACTS Steps:
tool_refresh_unique_id_using_bt_control
gattc_connect
gattc_read_all_chars
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed.
ACTS Steps:
tool_refresh_unique_id_using_bt_control
gattc_connect
ACTS Steps:
tool_refresh_unique_id_using_bt_control
ACTS Steps:
tool_refresh_unique_id_using_bt_control
ACTS Steps:
ble_start_generic_nonconnectable_advertisement
ACTS Steps:
ble_start_generic_nonconnectable_advertisement
ACTS Steps:
ble_start_generic_connectable_advertisement
ACTS Steps:
ble_start_generic_connectable_advertisement
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Note: Send the connection request very quickly to PTS after the test starts Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
ACTS Steps:
tool_refresh_unique_id
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Note: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed. Send outgoing connection very quickly after the test starts. Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
ACTS Steps:
gattc_connect
gattc_disconnect
Pre-steps: Replace TSPX_bd_addr_iut with the random address of the Fuchsia device. This can be one by:
Note: PTS is buggy, run twice ACTS Steps:
btc_accept_pairing
ble_start_generic_connectable_advertisement
Pre-steps: Note: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O
ACTS Steps:
btc_accept_pairing
ble_start_generic_connectable_advertisement
btc_get_known_remote_devices
- Save peer ‘id’ from the responseble_start_generic_connectable_advertisement
Note: PTS is buggy Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run.
ACTS Steps:
btc_accept_pairing
tool_refresh_unique_id
gattc_connect
btc_pair ENCRYPTED BONDABLE LE
gattc_connect
Note: PTS is buggy, run twice ACTS Steps:
btc_accept_pairing
ble_start_generic_connectable_advertisement
ble_start_generic_connectable_advertisement
ble_start_generic_connectable_advertisement
Note: PTS is buggy Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run.
ACTS Steps:This can be one by:
btc_accept_pairing
tool_refresh_unique_id
gattc_connect
gattc_disconnect
- When promptedgattc_connect
ACTS Steps:
gatts_setup_database TEST_DB_2
btc_set_io_capabilities KEYBOARD DISPLAY
btc_accept_pairing
ble_start_generic_connectable_advertisement
btc_input_pairing_pin [pin]
- Pin from PTS promptPre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run.
ACTs Steps
tool_refresh_unique_id
btc_accept_pairing
gatts_setup_database TEST_DB_2
gattc_connect
Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run.
ACTs Steps
tool_refresh_unique_id
btc_accept_pairing
gattc_connect
gattc_read_char_by_id 0009
Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run.
ACTS Steps:
btc_accept_pairing
ble_start_generic_connectable_advertisement
btc_get_known_remote_devices
- Save peer ‘id’ from the responsegattc_connect
gattc_read_char_by_id
[id from PTS]Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run.
ACTS Steps:
btc_accept_pairing
tool_refresh_unique_id
gattc_connect
btc_pair ENCRYPTED BONDABLE LE
btc_forget_all_known_devices
tool_refresh_unique_id
gattc_connect
gattc_read_char_by_id [id]
- ID provided by PTSgattc_read_char_by_id [id]
- ID provided by PTSPre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run. Note: This test is pretty broken as it doesn't respond to security upgrades after the read char command. bt-cli will have to be used in conjunction.
ACTS Steps:
btc_accept_pairing
ble_start_generic_connectable_advertisement
ble_start_generic_connectable_advertisement
btc_get_known_remote_devices
- Save peer ‘id’ from the responsegattc_connect
gattc_read_char_by_id [id]
- ID provided by PTSgattc_read_char_by_id [id]
- ID provided by PTSPre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run. Note: Very finiky test
ACTS Steps:
btc_accept_pairing
tool_refresh_unique_id
gattc_connect
btc_pair ENCRYPTED BONDABLE LE
gattc_connect
Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run. ACTS Steps:
btc_accept_pairing
ble_start_generic_connectable_advertisement
ble_start_generic_connectable_advertisement
btc_get_known_remote_devices
- Save peer ‘id’ from the responsebtc_pair ENCRYPTED BONDABLE LE
Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run. Note: Secure connections only mode must be enabled. ACTS Steps:
btc_set_io_capability KEYBOARD DISPLAY
btc_accept_pairing
gatts_setup_database TEST_DB_2
ble_start_generic_connectable_advertisement
ble_start_generic_connectable_advertisement
Pre-steps: Run the test a first time and it will fail. Change the TSPX_bd_addr_iut ixit value address to be the peer address in the PTS logs that start with: SEC_LE?SEC_LE_REMOTE_CSRK_REQUEST_IND=PDU peerAddr: ‘xxxxxxxxxxxx’O Also verify that neither PTS or Fuchsia has no bonded devices before the test is run. Note: Secure connections only mode must be enabled. Note: This test is a bit flakey (sometimes stalls) ACTS Steps:
btc_set_io_capability KEYBOARD DISPLAY
btc_accept_pairing
gatts_setup_database TEST_DB_2
tool_refresh_unique_id
gattc_connect
gattc_disconnect
gattc_connect
btc_get_pairing_pin
(run until you get a full 6 digit key. the first pairing attempt may populate the first call with just 0)Tentative steps: Set PSM in IXIT to 0001
btc_set_io_capabilities KEYBOARD DISPLAY
btc_accept_pairing
btc_connect
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
Note: LE advertisement address must match in TSPX bd_addr_iut. Use a second device to find the LE advertisement address
ACTS Steps:
btc_set_discoverable true
btc_accept_pairing
btc_set_discoverable true
btc disconnect
tool_refrsh_unique_id
gattc_connect
btc_pair ENCRYPTED BONDABLE LE
gattc_connect
ACTS Steps:
tool_refresh_unique_id_using_bt_control
tool_refresh_unique_id
tool_refresh_unique_id_using_bt_control
tool_refresh_unique_id
ACTS Steps:
tool_refresh_unique_id_using_bt_control
ACTS Steps:
tool_refresh_unique_id
gattc_connect
gattc_read_all_chars
gattc_disconnect
Note: Put public address in IXIT ACTS Steps:
btc_set_discoverable_true
ble_start_generic_connectable_advertisement
[TBD on the rest, still a failure]ACTS Steps:
btc_set_discoverable_true
ble_start_generic_connectable_advertisement
ACTS Steps:
tool_refresh_unique_id
gattc_connect
ACTS Steps:
ble_start_generic_connectable_advertisement
ACTS Steps:
ble_start_generic_connectable_advertisement
ACTS Steps:
btc_set_discoverable_true
tool_refresh_unique_id
gattc_connect
gattc_disconnect
ACTS Steps: None. Wait 30 seconds.
ACTS Steps:
btc_set_discoverable_true
ACTS Steps:
btc_set_discoverable_true
ACTS Steps:
btc_set_discoverable_true