You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/05/15 21:43:54 UTC

[GitHub] [mynewt-nimble] zacwbond opened a new issue #817: Central/Peripheral + BLE Mesh at the same time?

zacwbond opened a new issue #817:
URL: https://github.com/apache/mynewt-nimble/issues/817


   Is it possible to run BLE mesh in addition to standard BLE?  
   
   I would like to implement mesh alongside existing BLE central and peripheral functions.  I have gotten the mesh to work, but the central and peripheral code is broken because the `ble_gap_adv_start()` always returns `EALREADY`, since, of course, the mesh code is advertising.
   
   I see that if extended advertisements are enabled, then the mesh-related advertising looks to be confined to the two upper-most advertising instances, and at I could simply run my current code using a separate instance.  Unfortunately, I am on the ESP32 platform, which is a 5.0 device that doesn't actually support a bunch of 5.0 features, such as extended advertisements, so that solution won't work.
   
   Right now my only idea is to periodically call `bt_mesh_suspend()` and `bt_mesh_resume()`, with brief periods for my own advertising in between.  I'd be interested to know if this should work or, if not, what my other options are.  Maybe I'm missing something obvious.
   
   
   
   


----------------------------------------------------------------
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.

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



[GitHub] [mynewt-nimble] rymanluk commented on issue #817: Central/Peripheral + BLE Mesh at the same time?

Posted by GitBox <gi...@apache.org>.
rymanluk commented on issue #817:
URL: https://github.com/apache/mynewt-nimble/issues/817#issuecomment-663362823


   @zacwbond 
   
   Imho toggling advertising between mesh and standard BLE  using `bt_mesh_suspend()/resume()` might be risky. But I can't see other option.


----------------------------------------------------------------
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.

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



[GitHub] [mynewt-nimble] rymanluk closed issue #817: Central/Peripheral + BLE Mesh at the same time?

Posted by GitBox <gi...@apache.org>.
rymanluk closed issue #817:
URL: https://github.com/apache/mynewt-nimble/issues/817


   


----------------------------------------------------------------
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.

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