This commit is contained in:
Willy-JL
2023-09-08 04:11:19 +02:00
36 changed files with 414 additions and 125 deletions
+2 -2
View File
@@ -1461,7 +1461,7 @@ Function,+,furi_hal_subghz_flush_tx,void,
Function,+,furi_hal_subghz_get_data_gpio,const GpioPin*,
Function,+,furi_hal_subghz_get_ext_power_amp,_Bool,
Function,+,furi_hal_subghz_get_lqi,uint8_t,
Function,+,furi_hal_subghz_get_rolling_counter_mult,uint8_t,
Function,+,furi_hal_subghz_get_rolling_counter_mult,int8_t,
Function,+,furi_hal_subghz_get_rssi,float,
Function,+,furi_hal_subghz_idle,void,
Function,-,furi_hal_subghz_init,void,
@@ -1481,7 +1481,7 @@ Function,+,furi_hal_subghz_set_ext_power_amp,void,_Bool
Function,+,furi_hal_subghz_set_frequency,uint32_t,uint32_t
Function,+,furi_hal_subghz_set_frequency_and_path,uint32_t,uint32_t
Function,+,furi_hal_subghz_set_path,void,FuriHalSubGhzPath
Function,+,furi_hal_subghz_set_rolling_counter_mult,void,uint8_t
Function,+,furi_hal_subghz_set_rolling_counter_mult,void,int8_t
Function,+,furi_hal_subghz_shutdown,void,
Function,+,furi_hal_subghz_sleep,void,
Function,+,furi_hal_subghz_start_async_rx,void,"FuriHalSubGhzCaptureCallback, void*"
1 entry status name type params
1461 Function + furi_hal_subghz_get_data_gpio const GpioPin*
1462 Function + furi_hal_subghz_get_ext_power_amp _Bool
1463 Function + furi_hal_subghz_get_lqi uint8_t
1464 Function + furi_hal_subghz_get_rolling_counter_mult uint8_t int8_t
1465 Function + furi_hal_subghz_get_rssi float
1466 Function + furi_hal_subghz_idle void
1467 Function - furi_hal_subghz_init void
1481 Function + furi_hal_subghz_set_frequency uint32_t uint32_t
1482 Function + furi_hal_subghz_set_frequency_and_path uint32_t uint32_t
1483 Function + furi_hal_subghz_set_path void FuriHalSubGhzPath
1484 Function + furi_hal_subghz_set_rolling_counter_mult void uint8_t int8_t
1485 Function + furi_hal_subghz_shutdown void
1486 Function + furi_hal_subghz_sleep void
1487 Function + furi_hal_subghz_start_async_rx void FuriHalSubGhzCaptureCallback, void*
+3 -3
View File
@@ -489,7 +489,7 @@ bool furi_hal_bt_custom_adv_set(const uint8_t* adv_data, size_t adv_len) {
FURI_LOG_E(TAG, "custom_adv_set failed %d", status);
return false;
} else {
FURI_LOG_I(TAG, "custom_adv_set success");
FURI_LOG_D(TAG, "custom_adv_set success");
return true;
}
}
@@ -511,7 +511,7 @@ bool furi_hal_bt_custom_adv_start(
FURI_LOG_E(TAG, "custom_adv_start failed %d", status);
return false;
} else {
FURI_LOG_I(TAG, "custom_adv_start success");
FURI_LOG_D(TAG, "custom_adv_start success");
return true;
}
}
@@ -522,7 +522,7 @@ bool furi_hal_bt_custom_adv_stop() {
FURI_LOG_E(TAG, "custom_adv_stop failed %d", status);
return false;
} else {
FURI_LOG_I(TAG, "custom_adv_stop success");
FURI_LOG_D(TAG, "custom_adv_stop success");
return true;
}
}
@@ -52,7 +52,7 @@ typedef struct {
volatile SubGhzRegulation regulation;
const GpioPin* async_mirror_pin;
uint8_t rolling_counter_mult;
int8_t rolling_counter_mult;
bool ext_power_amp : 1;
bool extended_frequency_i : 1;
} FuriHalSubGhz;
@@ -66,11 +66,11 @@ volatile FuriHalSubGhz furi_hal_subghz = {
.extended_frequency_i = false,
};
uint8_t furi_hal_subghz_get_rolling_counter_mult(void) {
int8_t furi_hal_subghz_get_rolling_counter_mult(void) {
return furi_hal_subghz.rolling_counter_mult;
}
void furi_hal_subghz_set_rolling_counter_mult(uint8_t mult) {
void furi_hal_subghz_set_rolling_counter_mult(int8_t mult) {
furi_hal_subghz.rolling_counter_mult = mult;
}
@@ -173,15 +173,15 @@ uint32_t furi_hal_subghz_set_frequency_and_path(uint32_t value);
*/
bool furi_hal_subghz_is_tx_allowed(uint32_t value);
/** Get the current rolling protocols counter ++ value
* @return uint8_t current value
/** Get the current rolling protocols counter ++/-- value
* @return int8_t current value
*/
uint8_t furi_hal_subghz_get_rolling_counter_mult(void);
int8_t furi_hal_subghz_get_rolling_counter_mult(void);
/** Set the current rolling protocols counter ++ value
* @param mult uint8_t = 1, 2, 4, 8
/** Set the current rolling protocols counter ++/-- value
* @param mult int8_t = -1, -10, -100, 0, 1, 10, 100
*/
void furi_hal_subghz_set_rolling_counter_mult(uint8_t mult);
void furi_hal_subghz_set_rolling_counter_mult(int8_t mult);
/** Set frequency
*