Commit 0376547
committed
Jira 870, Change sensortag_button.ino to use localName
Feature added:
- Since the BLE library now support the Scan
Response Data processing, update the sketch
to look for the sensorTag localName instead
of its specific unit address.
Cod mods:
1. sensortag_button.ino:
- Replace MAC address comparison with localName
string comparison.1 parent 17d642b commit 0376547
File tree
1 file changed
+6
-17
lines changed- libraries/CurieBLE/examples/central/sensortag_button
1 file changed
+6
-17
lines changedLines changed: 6 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
63 | 52 | | |
64 | 53 | | |
65 | 54 | | |
| |||
0 commit comments