Text this: Active-Margin Transmission Power Control for Wireless Sensor Networks