You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "LingaoM (via GitHub)" <gi...@apache.org> on 2026/10/26 12:03:13 UTC

[PR] readme: Add BSWorld integration testing [mynewt-nimble]

LingaoM opened a new pull request, #2356:
URL: https://github.com/apache/mynewt-nimble/pull/2356

   NuttX now runs Bluetooth runtime tests in CI with BSWorld (apache/nuttx#20880, apache/nuttx-apps#3896). The stock NimBLE blecent and bleprph examples run on the NuttX simulator, joined to BabbleSim discrete time, against simulated Controllers. The tests cover discovery, connection, GATT discovery and subscription, and keep HCI and over-the-air traces.
   
   NimBLE already has BabbleSim support in babblesim/, but it is hard to use in practice. It needs the nRF52 hardware models and nrfx from outside the tree, builds only the Controller side on nrf52_bsim, and ships no test runner or scenarios. CI does not build it.
   
   NimBLE CI only builds code. It runs no simulated radio tests. The "Build Nuttx port" step also fails on master, but continue-on-error hides the failure. Since d804258f ("nimble/host: Use Mbed-TLS in Security Manager"), ble_sm_alg.c includes mbedtls/aes.h, and the nuttx-apps NimBLE package does not provide Mbed TLS:
   
     nimble/host/src/ble_sm_alg.c:32:10: fatal error: mbedtls/aes.h:
     No such file or directory
   
   Point users to BSWorld for hardware-free integration testing. The same setup that NuttX uses can also run in NimBLE CI against the revision under test.
   
   
   Assisted-by: Kiro


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] readme: Add BSWorld integration testing [mynewt-nimble]

Posted by "LingaoM (via GitHub) via notifications" <no...@mynewt.apache.org>.
LingaoM commented on code in PR #2356:
URL: https://github.com/apache/mynewt-nimble/pull/2356#discussion_r4524564392


##########
README.md:
##########
@@ -122,6 +122,12 @@ Several other projects provide support for using NimBLE either by [NPL port](htt
 
  If you publish a NimBLE port, please let us know to include it here!
 
+## Integration testing
+
+[BSWorld](https://github.com/XiaoMi/bsworld) provides hardware-free integration
+testing for NimBLE with deterministic radio simulation and HCI and
+over-the-air traces.

Review Comment:
   Thanks. BSWorld currently covers the NuttX port and the Linux port (porting/examples/linux), not Mynewt builds; I updated the text to say so.



##########
README.md:
##########
@@ -122,6 +122,12 @@ Several other projects provide support for using NimBLE either by [NPL port](htt
 
  If you publish a NimBLE port, please let us know to include it here!
 
+## Integration testing
+
+[BSWorld](https://github.com/XiaoMi/bsworld) provides hardware-free integration
+testing for NimBLE with deterministic radio simulation and HCI and
+over-the-air traces.

Review Comment:
   Thanks. BSWorld currently covers the [NuttX port](https://github.com/XiaoMi/bsworld/blob/main/tests/integration/nuttx/nimble/README.md) and the [Linux port](https://github.com/XiaoMi/bsworld/blob/main/tests/integration/uml/nimble/README.md) (porting/examples/linux), not Mynewt builds; I updated the text to say so.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] readme: Add BSWorld integration testing [mynewt-nimble]

Posted by "LingaoM (via GitHub) via notifications" <no...@mynewt.apache.org>.
LingaoM commented on code in PR #2356:
URL: https://github.com/apache/mynewt-nimble/pull/2356#discussion_r4524627297


##########
README.md:
##########
@@ -122,6 +122,12 @@ Several other projects provide support for using NimBLE either by [NPL port](htt
 
  If you publish a NimBLE port, please let us know to include it here!
 
+## Integration testing
+
+[BSWorld](https://github.com/XiaoMi/bsworld) provides hardware-free integration
+testing for NimBLE with deterministic radio simulation and HCI and
+over-the-air traces.

Review Comment:
   By the way, the [Linux port](https://github.com/XiaoMi/bsworld/blob/main/tests/integration/uml/nimble/README.md)(porting/examples/linux) would be a better fit for NimBLE CI, since it builds directly from this tree. If you're interested, have a look at [BSWorld](https://github.com/XiaoMi/bsworld).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] readme: Add BSWorld integration testing [mynewt-nimble]

Posted by "sjanc (via GitHub) via notifications" <no...@mynewt.apache.org>.
sjanc commented on code in PR #2356:
URL: https://github.com/apache/mynewt-nimble/pull/2356#discussion_r4523988993


##########
README.md:
##########
@@ -122,6 +122,12 @@ Several other projects provide support for using NimBLE either by [NPL port](htt
 
  If you publish a NimBLE port, please let us know to include it here!
 
+## Integration testing
+
+[BSWorld](https://github.com/XiaoMi/bsworld) provides hardware-free integration
+testing for NimBLE with deterministic radio simulation and HCI and
+over-the-air traces.

Review Comment:
   I'm fine with adding this note however it would be good to mention that this is for NuttX port only (at least for now, until we get this working for mynewt)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] readme: Add BSWorld integration testing [mynewt-nimble]

Posted by "LingaoM (via GitHub) via notifications" <no...@mynewt.apache.org>.
LingaoM commented on code in PR #2356:
URL: https://github.com/apache/mynewt-nimble/pull/2356#discussion_r4524564392


##########
README.md:
##########
@@ -122,6 +122,12 @@ Several other projects provide support for using NimBLE either by [NPL port](htt
 
  If you publish a NimBLE port, please let us know to include it here!
 
+## Integration testing
+
+[BSWorld](https://github.com/XiaoMi/bsworld) provides hardware-free integration
+testing for NimBLE with deterministic radio simulation and HCI and
+over-the-air traces.

Review Comment:
   Thanks. BSWorld currently covers the NuttX port and the Linux port (porting/examples/linux), not Mynewt builds; I updated the text to say so.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org