NordicPlayground / nRF51-multi-role-conn-observer-advertiser

Runs an Observer or Advertiser role (timeslot API) with a Connection. Provides a HCI interface to the Observer and Advertiser. Advertiser provides SCAN REQs back to application.
42 stars 25 forks source link

32 bit data type for scan interval and scan window and channel info in advertising report #12

Open alessandro-montanari opened 9 years ago

alessandro-montanari commented 9 years ago

The fields in the struct nrf_radio_request_earliest_t in nrf_soc.h are 32 bit long so even the values in btle.h have to be 32 bit long otherwise the behaviour is not correct. I have checked it looking at the power profile while scanning and noticed that the interval between scans was not correct. I haven't checked for the advertising but I expect a similar problem.

CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.