#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
