Please take a look at following example (I have Java background):
const char* BT_ADDRESS = "abcd,ef,ghijkl";
void printbar(const char* string) {
...
}
void foo() {
printbar("AT+BIND=" + BT_ADDRESS);
printbar("AT+LINK=" + BT_ADDRESS);
}
How to achieve this with "Arduino-C++" so BT_ADDRESS only has to be entered at one location?