Edit function nearBeacon and translate bluetooth