edited WIFI and BT sending  to send packets instead of file