A Bayesian Packet Sharing Approach for Noisy IoT Scenarios