Decemberlabs / AltBeacon

AltBeacon is an alternative to iBeacon that allows iOS devices to be advertised in the background, which is not currently possible with iBeacon.
MIT License
216 stars 30 forks source link

Where is ID2 and ID3? #5

Open mfferreira opened 10 years ago

mfferreira commented 10 years ago

After looking at the code and doing a few tests I realized I was finding ID2 and ID3. Is this intended or am I missing something?

marpal commented 10 years ago

Marco, Can you provide more context? I'm a bit lost with your question.

mfferreira commented 10 years ago

I can't find a way to set ID2 and ID3, only ALT_BEACON_SERVICE and ALT_BEACON_CHARACTERISTIC. Are these related? From the little that I know of AltBeacon, isn't it supposed to have sort of the same properties as the iBeacon? like this screenshot from radius shows.

marpal commented 10 years ago

Alright. Got it. The thing is that this AltBeacon has nothing to do with Radius Network AltBeacons. This is an open source project to overcome some limitations of iBeacon (which in fact was public a few months earlier than Radius AltBeacon thingy). Radius AltBeacon (regrettably they decided to name it the same way) is a project to bring Beacon like capabilities for Android. For what I know from talking with their CTO, they started it because they had some legal issues with Apple when using/hacking iBeacon protocol in Android.

Summarizing, if you are doing iOS stuff and need iBeacon like features (advertising) in the background this is the project, otherwise you look for the Radius one. If this is the project you are looking for, perhaps I can help you to achieve what you want with some more context.

Cheers, Martin

marpal commented 10 years ago

By the way, in the readme of the project there is a disambiguation section that talks about this.

mfferreira commented 10 years ago

Ah ok. Sorry for the confusion.

My only other question would be related to those ALT_BEACON_SERVICE and ALT_BEACON_CHARACTERISTIC properties. Are they both used to discover other altbeacon devices? If not, what are they for?

I'm very interest in the topic, ence my questions about it.

marpal commented 10 years ago

Those are used to detect other devices. By the way, we are evaluating to make a commercial release of AltBeacon with a new and improved version of it and Android support. Just our of curiosity, would you be interested in such a thing?

mfferreira commented 10 years ago

Yes I would.

I created a module for titanium based on your code, and did some minor changes to be able to set the constants like debug and intervals. So far it's working perfectly.

This one is unrelated to the topic, so I'll move it to it's own "issue" if you see fit. Wouldn't it be better to do some cleaning of the discovered UUIDs? I've read the intent of this, but won't it affect the performance once you have thousands of UUIDS cached?

marpal commented 10 years ago

Great. Cool I'm checking the Titanium one right now. Should we add a link to it in the readme? Yes please add a an issue for the suggestions. By the way I would like to ask you a coupe of questions but I will do by e-mail if that's ok with you.

mfferreira commented 10 years ago

Feel free to add the link. Contributions are always welcome.

I'll gladly try to answer the questions. My email is on my profile.

satishtestrepository commented 7 years ago

hello @mfferreira i am new to beacons i am trying to connect ios and android devices with help of altbeacon. Have you found any method for add ID2 and ID3