-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Hub name #52
Comments
@dlech @laurensvalk |
Yes, see #173 for an option to choose the name when you install the firmware. Would that work? In terms of self-identification, we can probably also make its own Bluetooth address readable. |
+1000 for naming the hubs! |
Are they both the same type? If they're different, you could Two other different options:
|
Working with |
There have been a lot of builds since then. |
This modifies the advertising data and device name characteristics to use the hub name from a special place in the firmware flash memory. The offset and size of this location is stored in the firmware metadata json file to allow modifying the hub name before flashing the firmware. The name must be zero-terminated since we are using strlen(), so the max size in the metadata includes the zero-termination byte. Issue: pybricks/support#52
This modifies the advertising data and device name characteristics to use the hub name from a special place in the firmware flash memory. The offset and size of this location is stored in the firmware metadata json file to allow modifying the hub name before flashing the firmware. The name must be zero-terminated since we are using strlen(), so the max size in the metadata includes the zero-termination byte. Issue: pybricks/support#52
This modifies the advertising data and device name characteristics to use the hub name from a special place in the firmware flash memory. The offset and size of this location is stored in the firmware metadata json file to allow modifying the hub name before flashing the firmware. The name must be zero-terminated since we are using strlen(), so the max size in the metadata includes the zero-termination byte. Issue: pybricks/support#52
This modifies the advertising data and device name characteristics to use the hub name from a special place in the firmware flash memory. The offset and size of this location is stored in the firmware metadata json file to allow modifying the hub name before flashing the firmware. The name must be zero-terminated since we are using strlen(), so the max size in the metadata includes the zero-termination byte. Issue: pybricks/support#52
Setting hub name is now possible with https://github.com/pybricks/pybricksdev/releases/tag/v1.0.0-alpha.10 and firmware >= v3.1.0a1. |
Add a method/property to the hub class to set/get the name of the hub.
This name is useful to identify the hub when searched by BLE scan.
The text was updated successfully, but these errors were encountered: