Hello all,
Does anyone know if there is a way to change the name of an XRP. I have a class set, and while it is easy to identify when an XRP has been paired, when unpaired, it isn’t.
Any assistance is helpful.
Thanks.
Hello all,
Does anyone know if there is a way to change the name of an XRP. I have a class set, and while it is easy to identify when an XRP has been paired, when unpaired, it isn’t.
Any assistance is helpful.
Thanks.
We do not have a way to rename them. But, if you connect one with a cable, its name will show up under the RUN button. Then you can mark the XRP with that number.
If you’re feeling adventurous, there is a way to do this, but beware that it’s not officially supported and can break with future updates.
With your XRP connected to XRPCode, use the file browser on the left panel to open `lib/ble/blerepl.py` then scroll down to line 97 (as of writing, might change in the future). The line is:
uart = BLEUART(ble, name="XRP-" + x[11:], rxbuf = 250)
To force a specific name, change it to:
uart = BLEUART(ble, name="My custom XRP name", rxbuf = 250)
Beware that if there’s an update in the future, your change will be overwritten. Also, I believe the name under the RUN button will still show the old `XRP-abcde` (or whatever string of characters for your XRP). Also also, be sure to set different names if you have multiple XRPs to avoid confusion. But if those are acceptable tradeoffs for you, then it can be done!
Hope this helps!