arch/dev/radio/dw1000/dw1000-config.c
/* Applies the recommended TX parameters for the current radio configuration
 * and the requested smart TX power control feature.
 *
 * Returns false if the requested configuration is not supported.
 */
Applies the recommended TX parameters for the current radio configuration
and the requested smart TX power control feature.

Returns false if the requested configuration is not supported.
Applies the recommended TX parameters for the current radio configuration and the requested smart TX power control feature . Returns false if the requested configuration is not supported .
bool
dw1000_set_recommended_tx_cfg(bool smart) {
  dwt_txconfig_t tmp;
  if (!dw1000_get_recommended_tx_cfg(&current_cfg, smart, &tmp)) {
    return false;
  }
  return dw1000_configure_tx(&tmp, smart);
}
bool dw1000_set_recommended_tx_cfg ( bool smart ) { dwt_txconfig_t tmp ; if ( ! dw1000_get_recommended_tx_cfg ( & current_cfg , smart , & tmp ) ) { return false ; } return dw1000_configure_tx ( & tmp , smart ) ; }
Applies the recommended TX parameters for the current radio configuration
 and the requested smart TX power control feature.
Applies the recommended TX parameters for the current radio configuration and the requested smart TX power control feature .