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_advertisementble_stop_advertisementACTS Steps:
ble_start_generic_nonconnectable_advertisementble_stop_advertisementACTS Steps:
ble_start_generic_connectable_advertisementble_stop_advertisementACTS Steps:
btc_request_discovery true (wait some time for scan results)btc_request_discovery falsebtc_get_known_remote_devicesACTS Steps:
btc_request_discovery true (wait some time for scan results)btc_request_discovery falsebtc_get_known_remote_devicesACTS Steps:
btc_request_discovery true (wait some time for scan results)btc_request_discovery falsebtc_get_known_remote_devicesACTS Steps:
btc_request_discovery true (wait some time for scan results)btc_request_discovery falsebtc_get_known_remote_devicesACTS Steps:
btc_request_discovery true (wait some time for scan results)btc_request_discovery falsebtc_get_known_remote_devicesNote: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed.
ACTS Steps:
tool_refresh_unique_id_using_bt_controlgattc_connectgattc_read_all_charsgattc_disconnectNote: Run GAP/CONN/GCEP/BV-02-C first to get the unique id needed.
ACTS Steps:
tool_refresh_unique_id_using_bt_controlgattc_connectACTS Steps:
tool_refresh_unique_id_using_bt_controlACTS Steps:
tool_refresh_unique_id_using_bt_controlACTS Steps:
ble_start_generic_nonconnectable_advertisementACTS Steps:
ble_start_generic_nonconnectable_advertisementACTS Steps:
ble_start_generic_connectable_advertisementACTS Steps:
ble_start_generic_connectable_advertisementNote: 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_connectgattc_disconnectACTS Steps:
tool_refresh_unique_idgattc_connectgattc_disconnectNote: 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_connectgattc_disconnectNote: 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_connectgattc_disconnectNote: 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_connectgattc_disconnectNote: 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_connectgattc_disconnectNote: 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_connectgattc_disconnectNote: 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_connectgattc_disconnectNote: 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_connectgattc_disconnectPre-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_pairingble_start_generic_connectable_advertisementPre-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_pairingble_start_generic_connectable_advertisementbtc_get_known_remote_devices - Save peer ‘id’ from the responseble_start_generic_connectable_advertisementNote: 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_pairingtool_refresh_unique_idgattc_connectbtc_pair ENCRYPTED BONDABLE LEgattc_connectNote: PTS is buggy, run twice ACTS Steps:
btc_accept_pairingble_start_generic_connectable_advertisementble_start_generic_connectable_advertisementble_start_generic_connectable_advertisementNote: 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_pairingtool_refresh_unique_idgattc_connectgattc_disconnect - When promptedgattc_connectACTS Steps:
gatts_setup_database TEST_DB_2btc_set_io_capabilities KEYBOARD DISPLAYbtc_accept_pairingble_start_generic_connectable_advertisementbtc_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_idbtc_accept_pairinggatts_setup_database TEST_DB_2gattc_connectPre-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_idbtc_accept_pairinggattc_connectgattc_read_char_by_id 0009Pre-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_pairingble_start_generic_connectable_advertisementbtc_get_known_remote_devices - Save peer ‘id’ from the responsegattc_connectgattc_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_pairingtool_refresh_unique_idgattc_connectbtc_pair ENCRYPTED BONDABLE LEbtc_forget_all_known_devicestool_refresh_unique_idgattc_connectgattc_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_pairingble_start_generic_connectable_advertisementble_start_generic_connectable_advertisementbtc_get_known_remote_devices - Save peer ‘id’ from the responsegattc_connectgattc_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_pairingtool_refresh_unique_idgattc_connectbtc_pair ENCRYPTED BONDABLE LEgattc_connectPre-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_pairingble_start_generic_connectable_advertisementble_start_generic_connectable_advertisementbtc_get_known_remote_devices - Save peer ‘id’ from the responsebtc_pair ENCRYPTED BONDABLE LEPre-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 DISPLAYbtc_accept_pairinggatts_setup_database TEST_DB_2ble_start_generic_connectable_advertisementble_start_generic_connectable_advertisementPre-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 DISPLAYbtc_accept_pairinggatts_setup_database TEST_DB_2tool_refresh_unique_idgattc_connectgattc_disconnectgattc_connectbtc_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 DISPLAYbtc_accept_pairingbtc_connectNote: 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 truebtc_accept_pairingbtc_set_discoverable truebtc disconnecttool_refrsh_unique_idgattc_connectbtc_pair ENCRYPTED BONDABLE LEgattc_connectACTS Steps:
tool_refresh_unique_id_using_bt_controltool_refresh_unique_idtool_refresh_unique_id_using_bt_controltool_refresh_unique_idACTS Steps:
tool_refresh_unique_id_using_bt_controlACTS Steps:
tool_refresh_unique_idgattc_connectgattc_read_all_charsgattc_disconnectNote: Put public address in IXIT ACTS Steps:
btc_set_discoverable_trueble_start_generic_connectable_advertisement [TBD on the rest, still a failure]ACTS Steps:
btc_set_discoverable_trueble_start_generic_connectable_advertisementACTS Steps:
tool_refresh_unique_idgattc_connectACTS Steps:
ble_start_generic_connectable_advertisementACTS Steps:
ble_start_generic_connectable_advertisementACTS Steps:
btc_set_discoverable_truetool_refresh_unique_idgattc_connectgattc_disconnectACTS Steps: None. Wait 30 seconds.
ACTS Steps:
btc_set_discoverable_trueACTS Steps:
btc_set_discoverable_trueACTS Steps:
btc_set_discoverable_true