Voting: 
Vote up!
0 Votes
3 Replies
Unanswered

Beacon Monitoring

Question asked by Caroline Gessner on Jul 14, 2017 09:24 EDT

Hello there, I am working on an app that is supposed to react to several beacons. All the beacons use the same UUID, but are seperated into different major-groups and  have their own minor-value. I know I have to create a beaconRegion, but I'm not quite sure how I can cover several majors and minors. As far as I understand - according to http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/content/com.kony_functions.htm - the minor value is optional, which makes sense. Can I just leave it out or do I have to null it? And according to the same page the major is "A number that contains groups related sets of beacons", which isn't really clear to me what it's supposed to mean. Please help me with this example: several beacons have the major 1, some more have major 49 and the last group has major 100 - do I have to setup 3 beacon Regions to watch them all? Or can I set it to 100 and all groups with lower numbers will be monitored as well?   Thanks in advance,   Caroline Gessner

Vote up!
0 votes
Vote down!

Can nobody help me on this?

Replied by: Jul 25, 2017 01:08 EDT
Vote up!
0 votes
Vote down!

Hi Caroline,

Kindly go through the following application in which iBeacon has been implemented.

https://github.com/kony/iBeacon-Sample

https://github.com/Kony-CSE/iOS_iBeacons_Application

Hope this helps.

Thank you

Rashmi Menon
Customer Success Engineering

Replied by: Aug 15, 2017 02:20 EDT
Gold
Vote up!
0 votes
Vote down!

Hello Rashmi,

 

unfortunately it does not really help, since the SampleApp only watches one exact BeaconRegion - identified by major = 10 and minor = 12. In my use case I have lots of beacons in a rather small area, I could put them all under one major group, but I would still need them to be identified by seperate minor values.

I do know the minor value when creating a new BeaconRegion is optional, so I understand I can 'null' the minor to watch all beacons with the same major-value.

What I am asking is do I need to create several BeaconReagions to watch beacons with different major values or is there a way to deal with that?

 

Thanks in advance,

 

Caroline Gessner

Replied by: Aug 15, 2017 03:01 EDT