beacon get event

Prepared code for getting events through beacon [ID,major,minor]