32 lines
663 B
C
32 lines
663 B
C
//
|
|
// Created by zemon on 05.04.23.
|
|
//
|
|
|
|
#ifndef UVEOS_ON_NATION_AUDIOPLAYERSIMCOMSIM7600E_H
|
|
#define UVEOS_ON_NATION_AUDIOPLAYERSIMCOMSIM7600E_H
|
|
|
|
#include "AtGsmSimcomSim7600.h"
|
|
#include "AudioPlayerInterface.h"
|
|
|
|
typedef enum {
|
|
MP3,
|
|
WAV,
|
|
} tFileType;
|
|
|
|
typedef struct {
|
|
tFileType fileType;
|
|
char *nameFile;
|
|
uint16_t nameLen;
|
|
} tFileInfo;
|
|
|
|
typedef struct {
|
|
tAtCmd *atCmd;
|
|
tFileInfo fileInfo;
|
|
bool playerIsBusy;
|
|
} tAudioPlayer;
|
|
|
|
void AudioPlayerSimComSim7600E_Init(tAudioPlayer *player, tAtCmd *env);
|
|
|
|
tAudioPlayerInterface AudioPlayerSimComSim7600E_GetInterface(tAudioPlayer *env);
|
|
#endif //UVEOS_ON_NATION_AUDIOPLAYERSIMCOMSIM7600E_H
|