работает слейв и мастер
This commit is contained in:
19
App/zigbee_port.h
Normal file
19
App/zigbee_port.h
Normal 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
|
||||
Reference in New Issue
Block a user