badiu:
Why do you want to change the name?
The current code generates a unique name based on the MAC address of the device. This permits unique names for each ruuvi.
Right now im doing some project on ruuvi ,my company will buy several of Ruuvi and place them in several block and level. My idea to put Ruuvi name according to block and its level such RuuviB1L2(ruuvi at block 1 and at level 2)
Making a separate firmware for each tag might not be the best approach. Have you considered using MAC addresses of RuuviTags to identify the beacon and name the beacons by MAC on your application or backend?
You can check lab.ruuvi.com live demo for an example on how to name tags on the backend side rather than renaming the tags themselves.