I am currently working on a project which uses BLE advertising. My code runs on a Puck.js and on an ESP32 board. The signal range of the ESP32 is impressive and the BLE advertisment is picked up from several meters and even behind walls.
However the Puck.js performs badly. I tried to set the TxPower via setTxPower(4) but this doesn't have the desired effect. The documention at https://www.espruino.com/Reference#l_NRF_setTxPower is bit unclear. What unit is TxPower in? Does a negative value means more transmit power or less?
What can I do to improve the range of the Puck.js?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
I am currently working on a project which uses BLE advertising. My code runs on a Puck.js and on an ESP32 board. The signal range of the ESP32 is impressive and the BLE advertisment is picked up from several meters and even behind walls.
However the Puck.js performs badly. I tried to set the TxPower via setTxPower(4) but this doesn't have the desired effect. The documention at https://www.espruino.com/Reference#l_NRF_setTxPower is bit unclear. What unit is TxPower in? Does a negative value means more transmit power or less?
What can I do to improve the range of the Puck.js?
Thank you!