I think the device ID is part of the advertisement packet already (at least you can configure the BLE component to have it there). Would that be enough? Or you you need an explicit communication?
Thanks for the reply. But if we do it like that way, some stranger devices can send their id to my master too. I dont want them to access my network. Because of that , i want to use a authentication password. So only specific devices, which know the password, can send their id to the master node.
In short, our slave nodes connects to our master with password, then send their id to master.
In this case, just create your own custom profile. Its quite simple to do so.