Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulated Device Crashing immediately after pairing. #13464

Closed
raju-apple opened this issue Jan 11, 2022 · 6 comments
Closed

Simulated Device Crashing immediately after pairing. #13464

raju-apple opened this issue Jan 11, 2022 · 6 comments
Labels

Comments

@raju-apple
Copy link
Contributor

In simulated devices immediately after pairing, the simulated device crashes.

This is still happening even after this PR merged

Attaching logs.

Failures when trying to commission the chip-app1 app , attaching logs [Running both the apps on the same Ubuntu machine]
chip-app1.zip
chip-tool.zip

@vivien-apple
Copy link
Contributor

Can you provide steps to reproduce ? It seems like it just works for me.

@kvikrambhat
Copy link
Contributor

kvikrambhat commented Jan 13, 2022

@vivien-apple Ensuing are the steps followed after pulling latest code

  1. Generate the ZAP files, and build the chip-app1 binary - " ./scripts/examples/gn_build_test_example.sh app1"
  2. Build everything including chip-tool - "./gn_build.sh"
  3. Run the chip-app1 - "./out/app1/chip-app1 --secured-device-port 5540 --discriminator 3840 --command Test_TC_DM_1_3_Simulated"
  4. In a new terminal run the following two commands to commission the app1 -
    a ./out/debug/standalone/chip-tool pairing ethernet 0x654321 20202021 3840 127.0.0.1 5540
    b ./out/debug/standalone/chip-tool generalcommissioning commissioning-complete 0x654321 0

@raju-apple
Copy link
Contributor Author

raju-apple commented Jan 13, 2022

@kvikrambhat Debugged this with @vivien-apple Looks like couple of things should fix it ,
Try changing these steps

@vivien-apple Ensuing are the steps followed after pulling latest code

  1. Generate the ZAP files, and build the chip-app1 binary - " ./scripts/examples/gn_build_test_example.sh app1"
  2. Build everything including chip-tool - "./gn_build.sh" ( Try running this instead ./scripts/examples/gn_build_example.sh examples/chip-tool out/debug/standalone chip_config_network_layer_ble=false)
  3. Run the chip-app1 - "./out/app1/chip-app1 --secured-device-port 5540 --discriminator 3840 --command Test_TC_DM_1_3_Simulated"
  4. In a new terminal run the following two commands to commission the app1 -
    a ./out/debug/standalone/chip-tool pairing ethernet 0x654321 20202021 3840 127.0.0.1 5540
    b ./out/debug/standalone/chip-tool generalcommissioning commissioning-complete 0x654321 0 ( This step is no longed needed , the commissioning complete is done from the platform side now )

@kvikrambhat
Copy link
Contributor

I still see the same issue when i try the suggested changes. attached logs
chip-.zip

@stale
Copy link

stale bot commented Dec 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Dec 11, 2022
@stale
Copy link

stale bot commented Dec 21, 2022

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants