I am working in NS2 and want to do the simulation of my new protocol. My protocol is regarding peer to peer overlay network. In the algorithm of my protocol i need to know the Battery Status and Geo Location of a node.
I would like to know whether it is possible to check the battery status and geo-location of a node? If yes..then kindly elaborate it...!!!