Using SDK 14.0.0 with SD 132 v5, the device name I'm advertising with here is "000000DK". But the advertising module is truncating it to "0000". It will do this if I have too much advertising data, but I don't. I should have 31 bytes and that should be fine. It was fine with SDK 12.1 and an earlier SD version.
I've read this post on the same subject, but it doesn't explain this:
It looks like it's the appearance that's overflowing me. This was never a problem before and if I now omit any call to sd_ble_gap_appearance_set(), I get 0x0000 as the appearance field, whereas I think I used to get no appearance field at all. How do I remove the appearance and get the same behaviour I used to have with the earlier SDK/SD?