title: how to get bluetooth address of your machine using C,Linux or commandline
body: <p>I am a c++ developer.
  I want to get the bluetooth address of my machine programmatically. I am trying to make a bluetooth connection between laptop (linux machine-server) and another linux machine(client) or android(client). I want to send BT (mac of type bdaddr_t)address of server to client (over sms or socket) where they can connect to server. The clients do not have display, so, can not check BT address of server from client side.</p>