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

Unable to change scan response flag #9

Closed KST-collin closed 9 years ago

KST-collin commented 9 years ago

The flag:

define TS_SEND_SCAN_RSP (1)

in the ts_controller.c file for the advertiser cannot be set to 0. All advertisements, including non-connectable, are sent with a scan response

trond-snekvik commented 9 years ago

This issue is fixed in the newest commit. Note that when setting the flag to zero, the advertisement type is forced to ADV_INT_NONCONN, disregarding whatever is provided in the setup parameters.