TRIDENT: In-field Connectivity Assessment for Wireless Sensor Networks