I am currently making an Android utility related to Bluetooth, and I need to change the device discovery range of my device..
Is there a way for me to do so? I am currently looking into using the TPL to do this, but I am not so sure..
Either an Android application or changes in the kernel are possible.
Thank you very much.. 🙂
You seem to be on the right track. To reduce the range you would need to reduce the Tx power while searching and this should be possible through the HCI command hci_write_inquiry_transmit_power_level (external/bluetooth/bluez/lib/bluetooth/hci_lib.h)
You need to figure out how this is done in Bluez (if it is being used) and then extend it to use in your application.