GAP configuration - advertising TX_POWER

5 posts / 0 new
Last post
valex05
Offline
Last seen:5 years 8 months ago
加入:2015-02-05 15:29
GAP configuration - advertising TX_POWER

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 !

JE_Dialog
Offline
Last seen:1个月4天前
Staff
加入:2013-12-05 14:02
Hello Valex, i checked the

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

ankitdaf
Offline
Last seen:2 years 9 months ago
加入:2015-09-03 20:14
Hi JE_Dialog

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.

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi ankitdaf,
valex05
Offline
Last seen:5 years 8 months ago
加入:2015-02-05 15:29
Hi JE_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