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 2019/04/16 10:21:05 UTC

[GitHub] [mynewt-nimble] mfarag13 opened a new pull request #418: nimble/gap: Remove extended Adv when receive adv_set_terminate event from LL.

mfarag13 opened a new pull request #418: nimble/gap: Remove extended Adv when receive adv_set_terminate event from LL.
URL: https://github.com/apache/mynewt-nimble/pull/418
 
 
   In case we are using extended advertising, we have to remove extended adv instance (Initialize it to zero) whenever host receive adv_set_terminated event.
   This will make us avoid issues like configuring the same instance to work with random address, but will not set the random address when enabling it because rnd_addr_set will be 1 in this case from the previous configuration.
   Controller will send an error in this case, based on BLE5.1 standard Vol2, Part E, Sec 7.8.56 as following
   
   "If the advertising set's Own_Address_Type parameter is set to 0x01 and the
   random address for the advertising set has not been initialized, the Controller
   shall return the error code Invalid HCI Command Parameters (0x12)."
   

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


With regards,
Apache Git Services