работает слейв и мастер

This commit is contained in:
2026-05-28 03:20:13 +03:00
commit cbb571f124
191 changed files with 55316 additions and 0 deletions

19
App/zigbee_port.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef ZIGBEE_PORT_H
#define ZIGBEE_PORT_H
#include <stdint.h>
#include "app_types.h"
typedef enum
{
ZIGBEE_PORT_OK = 0,
ZIGBEE_PORT_BUSY,
ZIGBEE_PORT_ERROR
} ZigbeePortStatus_t;
void ZigbeePort_Init(const AppZigbeeConfig_t *config, AppRole_t role);
void ZigbeePort_Process(void);
ZigbeePortStatus_t ZigbeePort_SendSlaveInputs(const AppSlaveInputs_t *inputs);
void ZigbeePort_OnSlaveReportReceived(const AppSlaveReport_t *report, uint32_t now_ms);
#endif