ARMmbed / ble-nrf51822

Nordic stack and drivers for the mbed BLE_API
Other
46 stars 51 forks source link

clearScanResponse() #30

Closed ghost closed 9 years ago

ghost commented 9 years ago

I use accumulateScanResponse to send scan Response, but later I want to stop sending the scan Response on a certain condition. I tried using clearScanResponse() for this but the observer device still receives scan response (same as the previously received scan response) if active scanning is enabled on it.

The clearScanResponse() function should allow the advertising device to have the authority of not sending any scan response if it wants.

rgrover commented 9 years ago

clearScanResponse() clears the scan-response payload, but setting a null scan-response results in a no-op for the nordic stack. This we need to do something about this.

rgrover commented 9 years ago

will be handled by https://github.com/ARMmbed/BLE_API/issues/64

rgrover commented 9 years ago

closing this because I believe this has been fixed. Please re-open if you disagree.