rpu_noob
Posts: 4
Joined: Mon Dec 05, 2016 10:00 am

RPi 3, iBeacon and how to use the hcitool

Wed Jan 11, 2017 9:55 am

Hi,

I have read through various threads on this forum, but haven't found out exactly how to configure the 'power' field when using the arbitrary cmd through hcitool.

For example, this http://www.wadewegner.com/2014/05/creat ... pberry-pi/ tutorial said to use:

Code: Select all

sudo tools/hcitool -i hci0 cmd 0x08 0x0008 1E 02 01 1A 1A FF 4C 00 02 15 63 6F 3F 8F 64 91 4B EE 95 F7 D8 CC 64 A8 63 B5 00 00 00 00 C8
with the 'power' (the last field) being set to c8, which is an RSSI value.

But, how was this RSSI value known to be optimal or correct? Does anyone know where to find a reference documentation for this cmd?
Furthermore, my layman understanding of BLE is that the transmission power is limited (or fixed) at 5 mW, so this RSSI setting is irrelevant?

Thanks.

Return to “Advanced users”