Made changes to make transmitting similar to ibeacon