3.27_433:实现并验证RF433模块接收相应指令:新增UART路由核心模块,使程序能响应RF433/RS485指令,并向UART2输出LOG(RS485由于硬件原因未验证)

This commit is contained in:
2026-03-27 16:21:00 +08:00
parent 71027ebc46
commit c809273bd9
78 changed files with 7188 additions and 2811 deletions

View File

@ -28,7 +28,7 @@ extern "C" {
#define RF433_MODE_BOTH 3
#ifndef RF433_MODE
#define RF433_MODE RF433_MODE_TX
#define RF433_MODE RF433_MODE_BOTH
#endif
/* ============================================================================

View File

@ -363,7 +363,6 @@ rf433_error_t rf433_transmit(uint8_t *buffer, uint16_t length)
{
return RF433_ERROR_TIMEOUT;
}
printf("Sent: %s", (char*)buffer); // DEBUG_LOG未定义使用printf替代
return RF433_OK;
}