I am trying to understand the difference between BLE.setDeviceName and then the appendLocalName on the advertisement data.
setDeviceName does not appear to be in the docs at this point but is still there on the BLE class. Does it do anything?Generally, appendLocalName does do what I expect it too, it changes the local name from Argon-xxxxx to whatever I specify.
However, appending a local name uses some custom data bytes, where leaving it “Argon-xxxxx” does not. In my use case I would like to use as much custom data as possible, which leaves me scratching my head a bit. How is Argon-xxxxx being set and not using any custom data space? And can I override that some other way?