i refer TI CC2540 keyfob demo to implement my anti-lost device project.
but as every one know, keyfob demo defaultly use MIN and MAX connection interval as 80 and 800.
before connecting with iPhone5, the advertisement interval is 100ms.
and connecting with iPhone5, the advertisemnet interval change to 30ms.
and when connect with iPhone5 is complete, the interval remain 30ms
so the power comsumption is big
and how to update interval to 1S.
i try to use Gaprole_Setparameter, but it could not act as i thought.
so i'd like to know 2 things:
1/ if i'd like to implement anti-lost device, which TI'source code could i refer? keyfob demo or simpleperipheral?
2/if i'd like to dynamically set interval, could you give me sample code to implement it?
Thanks.