This demo can turn your mac as a beacon.