hello everyone ,
I have a problem that I can't solve, this is my need:
-my device is a battered BLE peripheral and it needs to generate an advertisement every 4 sec. It needs to consume as little as possible and I need to advertise the least number of packets, only the DeviceName and the few other essential ones.
-Through an app I need to connect and pair via Passkey. Only after bonded publish the full list of the 3 services that are needed.
I can do this but only if the services are added before starting with the advertisement but this involves an onerous number of packets in it and a relative consumption of energy.
Does anyone have a solution or can point me to an example from which to understand how to proceed?
thanks in advance
Fabrizio