sjanc commented on issue #1742:
URL: https://github.com/apache/mynewt-nimble/issues/1742#issuecomment-2034656277

   Hmm I think call to bt_mesh_prov_enable() is missing in that linux 
example... not sure how it worked (?) before though
   check if following helps
   
   [janc@ix apache-mynewt-nimble]$ git diff
   diff --git a/porting/examples/linux_blemesh/ble.c 
b/porting/examples/linux_blemesh/ble.c
   index 277481d2..381c6299 100644
   --- a/porting/examples/linux_blemesh/ble.c
   +++ b/porting/examples/linux_blemesh/ble.c
   @@ -426,6 +426,8 @@ blemesh_on_sync(void)
        if (bt_mesh_is_provisioned()) {
            printk("Mesh network restored from flash\n");
        }
   +
   +    bt_mesh_prov_enable(BT_MESH_PROV_GATT | BT_MESH_PROV_ADV);
    }
   
   
   
   @KKopyscinski ^^


-- 
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: commits-unsubscr...@mynewt.apache.org

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

Reply via email to