diff --git a/driver/bk4819.c b/driver/bk4819.c index 927e53c..3100152 100644 --- a/driver/bk4819.c +++ b/driver/bk4819.c @@ -726,3 +726,8 @@ void BK4819_EnableCTCSS(void) BK4819_WriteRegister(BK4819_REG_51, 0x904A); } +uint16_t BK4819_GetRSSI(void) +{ + return BK4819_GetRegister(BK4819_REG_67) & 0x01FF; +} + diff --git a/driver/bk4819.h b/driver/bk4819.h index 8037852..0851edf 100644 --- a/driver/bk4819.h +++ b/driver/bk4819.h @@ -100,5 +100,7 @@ void BK4819_GenTail(uint8_t Tail); void BK4819_EnableCDCSS(void); void BK4819_EnableCTCSS(void); +uint16_t BK4819_GetRSSI(void); + #endif