Commit 0c31e0b
micropython/aioble: Prioritise services in advertisement payload.
A number of fields (services, appearance, manufacturer, name) can appear when a scan is requested. However there is only so much space in the header so, if a user has configured multiple fields, some may be 'pushed' into the active scan response which requires additional communication. When iOS scans for BLE devices it can filter by services, and so services must be in the advertising (as opposed to scan response) payload.1 parent 760bfef commit 0c31e0b
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 129 | + | |
| 130 | + | |
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
| |||
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
0 commit comments