Securing RPL routing protocol from blackhole attacks using a trust-based mechanism | Synapse