Closed mathiasvdb1998 closed 3 years ago
Hi Mathias,
You don't need to, but it's a way to keep the Advertising going on in the background in some android phones.
Also, please check the example project for the setCompanyId.
Hi Vitor
Thanks for the quick response. I had a look at the example before and in my mind I set the CompanyID the right way.
Maybe you can find what i'm doing wrong?
Aren't you redefining BLEAdvertiser?
That was pretty stupid of me.
I changed the name of my component, but I still get the same error when I call BLEAdvertiser.setCompanyId(0x00c7)
.
@mathiasvdb1998 were you able to resolve the issue at all? I have the same problem.
For my master thesis I'm trying to implement a BLE advertiser to send BLE packets for an indoor positioning system. I received some info about the packet format and the manufacturer specific data from the manufacturer of the indoor positioning system.
I just don't know if I need to add the company ID in the manufacturer data when I start broadcasting.
I also get an error when I try to set the company ID.
Can someone help me please?