Skip to content

Commit f3431e7

Browse files
authored
Update README.md
1 parent adcdac7 commit f3431e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ In begin() {} before starting to scan, you need to add these lines:
5555
Bluefruit.begin(0, 2); // sets bluefruit to 2 central connections here
5656
bt2Reader.setDeviceTableSize(1); // creates space for 1 connection to a BT2 device (the library can handle more)
5757
bt2Reader.addTargetBT2Device((char *)"BT-TH-XXXXXXX"); // sets the target BT2 device name to connect to
58-
bt2Reader.setLoggingLevel(BT2READER_VERBOSE); // BT2READER_ERRORS_ONLY and BT2READER_QUIET also supports
58+
// you can also omit this and it will connect to whichever BT2 device it can find
59+
// you can also addTargetBT2Device(uint8_t * macAddress) where macAddress is 6 bytes
60+
bt2Reader.setLoggingLevel(BT2READER_VERBOSE); // BT2READER_ERRORS_ONLY and BT2READER_QUIET also supported
5961
bt2Reader.begin(); // initializes the class
6062
```
6163
Add these lines to scanCallback:

0 commit comments

Comments
 (0)