Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use different company ID in the payload? #54

Open
aprosvetova opened this issue Apr 30, 2021 · 1 comment
Open

Can I use different company ID in the payload? #54

aprosvetova opened this issue Apr 30, 2021 · 1 comment
Labels
question Further information is requested

Comments

@aprosvetova
Copy link

As I can see, all the beacon examples use 0x4c00 (Apple) as a company ID in the advertisement payload.

There is also some code that checks if company ID equals 0x4c00, but only for nearby scanning.

My question: is it necessary to use 0x4c00?

I've tried changing it to 0x0100 and reports stopped appearing in OpenHaystack. Is it Apple's limitation or my fault?
If it's Apple's limitation, how would 3rd-party MFi beacons work then? I bet they won't use Apple's company IDs in adv packets.

@aprosvetova aprosvetova added the question Further information is requested label Apr 30, 2021
@schmittner
Copy link
Member

Short answer: Yes, Apple's company ID is necessary. Third-party MFi accessories use it as well, it's part of the specification (similar to iBeacons).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants