feat: add shared GMSK radio profile helpers

Add a fixed 6-byte 100 kbps GMSK profile matching the health-band telemetry packet, plus FSK packet-status helpers for RSSI and error checks. Expose instantaneous RSSI reads for CCA and image calibration for 430-440 MHz GFSK bring-up.
This commit is contained in:
2026-05-19 12:20:49 +08:00
parent f01aed8a56
commit 41b4aed456
3 changed files with 73 additions and 0 deletions
+2
View File
@@ -125,6 +125,7 @@ struct LLCC68 {
expected<status_t, error_code> get_status();
expected<packet_status_t, error_code> get_packet_status();
expected<uint8_t, error_code> get_rssi_inst_x2_neg();
expected<unit, error_code> reset();
expected<unit, error_code> set_standby();
expected<ChipType, error_code> hal_get_chip_type();
@@ -164,6 +165,7 @@ struct LLCC68 {
expected<unit, error_code> set_gfsk_crc_seed(uint16_t seed);
expected<unit, error_code> set_gfsk_crc_polynomial(uint16_t polynomial);
expected<unit, error_code> set_gfsk_whitening_seed(uint16_t seed);
expected<unit, error_code> calibrate_image(uint8_t freq1, uint8_t freq2);
expected<unit, error_code> set_tx_params(tx_params_t params);
expected<unit, error_code> set_tx_params(int8_t pwr,
LoRaTxRampTime ramp_time);