Skip to content

Commit cbf01ba

Browse files
authored
Added note on active scan (scan response)
1 parent 3a03895 commit cbf01ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Bluefruit52Lib/examples/Central/central_bleuart_multiple/central_bleuart_multiple.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ void setup()
110110
/* Start Central Scanning
111111
* - Enable auto scan if disconnected
112112
* - Interval = 100 ms, window = 80 ms
113-
* - Don't use active scan
113+
* - Don't use active scan (used to retrieve the optional scan response adv packet)
114114
* - Start(0) = will scan forever since no timeout is given
115115
*/
116116
Bluefruit.Scanner.setRxCallback(scan_callback);
117117
Bluefruit.Scanner.restartOnDisconnect(true);
118118
Bluefruit.Scanner.setInterval(160, 80); // in units of 0.625 ms
119-
Bluefruit.Scanner.useActiveScan(false);
119+
Bluefruit.Scanner.useActiveScan(false); // Don't request scan response data
120120
Bluefruit.Scanner.start(0); // 0 = Don't stop scanning after n seconds
121121
}
122122

0 commit comments

Comments
 (0)