//
// Created by Professional on 8/9/2023.
//

#ifndef MYPROJECT_READER_COMMUNICATION_H
#define MYPROJECT_READER_COMMUNICATION_H
#include "stdint-gcc.h"
typedef enum command_enum{
    LIGHT_ON = 0xF0,
    LIGHT_OFF,
    ZUMMER_ON,
    ZUMMER_OFF,
    ENTER_FIRMWARE_UPDATE,
    EXIT_FIRMWARE_UPDATE,
    GET_FIRMWARE_VERSION
};

typedef struct  command_t {
    uint8_t numOfCommand;
    uint16_t data1;  //data1
    uint16_t data2; //data2
    uint8_t data3; //data3
} ;

#endif //MYPROJECT_READER_COMMUNICATION_H
