Skip to content

Commit 5dad893

Browse files
qfischh2zero
authored andcommitted
Update 1.x_to2.x_migration_guide.md
1 parent d46d0d9 commit 5dad893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/1.x_to2.x_migration_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The default address type is public `0`, whereas many devices use a random `1` ad
5555
If you experience this issue please create your address instances with the address type specified, i.e. `NimBLEAddress address("11:22:33:44:55:66", TYPE_HERE)`
5656

5757
`NimBLEAddress::getNative` has been removed and replaced with `NimBLEAddress::getBase`.
58-
This returns a pointer to `const ble_addr_t` instead of a pointer to the address value that `getNative` did. The value can be accessed through this struct via `ble_addr_t.value` and type is in `ble_addr_t.type`.
58+
This returns a pointer to `const ble_addr_t` instead of a pointer to the address value that `getNative` did. The value can be accessed through this struct via `ble_addr_t.val` and type is in `ble_addr_t.type`.
5959
<br/>
6060

6161
## BLE UUID's

0 commit comments

Comments
 (0)