Hi !
I'm working on a project and I've got some questions about GAP configuration :
Here is the organisation of my system :
Phone 1 Phone 2
Device 1
Phone 1 is bonded with Device1. But want Phone2 to get some information about Device1. I've seens that it's possible to advertise while being bonded.
I want to insert the Device1_ID, but also the Tx_power in the advertising packet. Is that possible ? (I think so).
Actually I want phone 2 to be able to estimate the distance between it and Device1.
For that I've understood that I can configure the GAP layer with the tag GAP_AD_TYPE_TRANSMIT_POWER (gap.h). But I can't find where.
Or is it already implemented ?
Thanks in advance for your reply !
Keywords:
Hello Valex, i checked the API docs and cannot find any reference to this. The only scenario i've seen this added is in this thread below. I can check with the team (note that it will take some time since we have a couple of SW people out and a backlog..). Let me know if you want me to look into this further or if the thread below is enough to help you here.
BR JE_Dialog..
http://support.dialog-semiconductor.com/advertising-scan-response-problems
Hi JE_Dialog
Is there any more documentation available for GAP_AD_TYPE_TRANSMIT_POWER ? In particular I want to control how much power is used for advertising. What is the default advertising power, and how can we change it ? I want to advertise over a short range.
Hi ankitdaf,
Please check your other posts:
http://support.dialog-semiconductor.com/controlling-tx-power-advertising...
http://support.dialog-semiconductor.com/tx-power
Thanks MT_dialog
Hi JE_Dialog,
The link you've given looks promissing. Plus, I've just found something interresting in the "application to GAP API" chapter of "software architecture" data sheet.
No need for you to further into it, I'll get back to you in the futur in case needed !
Thanks for your response !
Valex