Hi,
We have a need to have a Nordic app for nRF51822 which both serves as a beacon and also offers a connectable service.
It's my distinct impression at present we cannot do both these things at the same time, because it looks from the API like one can only have one set of advertising data at once. So the first question is - am I correct about this?
Assuming that I am, it seems that we will have to have the app switch back and forth between being a beacon and being a connectable service with some duty cycle and period, switching the advertising data back and forth in a corresponding fashion. I'm guessing that the connectable service will only be "active" when we are advertising the associated service. The beacon obviously has no services.
I can't find any example code in the SDK that does anything like this, so I thought before running into obscure problems related to an unusual use case, I would ask for some guidance on this sort of application. Are there special considerations and techniques to be aware of in terms of "activating" and "decactivating" a service dynamically and changing the advertising data dynamically?
Thanks in advance for any help!