Text this: Priority-based message forwarding and query processing in opportunistic wireless sensor network