wizturn beacon sample code