ios - Setting the major and minor value of iBeacon -


i want set major , minor value correctly enter in region.for example,i have different queues different kinds of customer. premium , silver categories.

if customer goes in lane of premium, should broadcast major value value of lane standing i.e. premium , number minor.

how set these values correctly according current position of customer?

premium = 1; silver = 2; self.mybeaconregion = [[clbeaconregion alloc] initwithproximityuuid:uuid major:premium minor:2 identifier:@"com.example.beacon"]; 

the major , minor values set on beacon - these values received app indicate region device located.

so, in case have have 2 beacons, 1 configured 'premium' value , 1 'silver' values same uuid. in app can define region uuid , examine major/minor in didenterregion determine specific beacon detected.

however, unless queues fair distance apart may have difficulty locating user accurately


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -