You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UriBeaconConfigService (or the main.c) requires a default array for Advertised Tx Power Levels. Indexing by the current mode results in the dBm value transmitted in the ADV packet.
Since the value used for nRF51822n::setTxPower may not be the same as the Advertised value we also recommend an array for this purpose.
// Values included in ADV packets for
// TX_POWER_MODE_LOWEST through TX_POWER_MODE_HIGH
// TODO: adjust these values using measurements for the packaged device
uint8_t[4] advertisedTxPowerLevels = {-40, -20, -12, 4};
// Values for nRF51822n::setTxPower for
// TX_POWER_MODE_LOWEST through TX_POWER_MODE_HIGH
uint8_t[4] firmwareTxPowerLevels = {-40, -20, -12, 4};
The text was updated successfully, but these errors were encountered:
Hi @rgrover @roywant
The UriBeaconConfigService (or the main.c) requires a default array for Advertised Tx Power Levels. Indexing by the current mode results in the dBm value transmitted in the ADV packet.
Since the value used for
nRF51822n::setTxPower
may not be the same as the Advertised value we also recommend an array for this purpose.nRF51822n::setTxPower
takes values of-40, -20, -16, -12, -8, -4, 0, 4
Suggest
The text was updated successfully, but these errors were encountered: