 |
WebRadioApp
0.1
|
Go to the documentation of this file.
36 #ifndef DEVICEDRIVER_H
37 #define DEVICEDRIVER_H
@ Meta
Definition: DeviceDriver.cpp:111
void HardButtonIsrCallback(int aButtonPresssed)
Callback function for the hardware button. This function is called every time the hardware button is ...
Definition: DeviceDriver.cpp:143
void SelectStationToPlay(XString aText)
Print something out from the device when a station is selected.
Definition: DeviceDriver.cpp:626
void VUMeter(XFloat *angle_L, XFloat *angle_R)
Volume unit meter.
Definition: DeviceDriver.cpp:614
int GetXCounter()
Get the x Counter of the station grid.
Definition: DeviceDriver.cpp:528
XString ReadInfo(int toRead)
Read information. It could be radio, connection, meta or station information.
Definition: DeviceDriver.cpp:446
void drawVuMeter(float *angle_L, float *angle_R)
This function generate the parameters to be able to draw a volume unit meter graph.
Definition: mp3player.cpp:647
int16_t station_id
Definition: tcp_client.cpp:46
Mp3Player * mp3PlayerInstance
Definition: mp3player.cpp:84
@ Connection
Definition: DeviceDriver.cpp:111
void EwBspClockSetTime(unsigned long aTime)
Sets the given time in seconds since 01.01.1970 at real time clock (RTC).
Definition: ew_bsp_clock.c:303
volatile int items
Definition: tcp_client.cpp:72
XString EwNewStringAnsi(register const char *aAnsi)
int yCounter
Definition: DeviceDriver.cpp:85
int DeviceDriver_ProcessData(void)
The function DeviceDriver_ProcessData() is called from the main UI loop, in order to process data and...
Definition: DeviceDriver.cpp:253
void ApplicationDeviceClass__UpdateConnectionInfo(void *_this)
Definition: Application.c:503
void ApplicationDeviceClass__UpdateFFTDraw(void *_this)
Definition: Application.c:602
int GetYCounter()
Get the y Counter of the station grid.
Definition: DeviceDriver.cpp:539
XInt32 EwStringParseInt32(XString aString, XInt32 aDefault, XInt32 aRadix)
#define Num_Fields_X
Definition: DeviceDriver.cpp:102
int value
Definition: DeviceDriver.cpp:106
void ApplicationDeviceClass__UpdateBufferValue(void *_this, XInt32 aNewValue)
Definition: Application.c:459
void drawFTT(int32_t inx, int32_t *x, int32_t *ly, int32_t ll, int32_t *ry, int32_t rr, int32_t height, int32_t FFTGraph)
This function generate the parameters to be able to draw a FFT graph.
Definition: mp3player.cpp:595
int initGrid
Definition: DeviceDriver.cpp:86
void FFTCalculations(XInt32 inx, XInt32 *x, XInt32 *ly, XInt32 ll, XInt32 *ry, XInt32 rr, XInt32 height, XInt32 FFTGraph)
Calculate FFT to display the graphics.
Definition: DeviceDriver.cpp:598
#define Num_Fields_Y
Definition: DeviceDriver.cpp:103
void DeviceDriver_SetLedStatus(XInt32 aValue)
This is a sample for a function called from the device class, when a property has changed....
Definition: DeviceDriver.cpp:374
void ApplicationDeviceClass__UpdateMetaInfo(void *_this)
Definition: Application.c:624
void EwBspInOutLedOff(void)
Switch LED off.
Definition: ew_bsp_inout.c:95
char metaInfo[240]
Definition: DeviceDriver.cpp:75
XString EwNewStringUtf8(const unsigned char *aUtf8, int aCount)
signed long XInt32
Definition: ewrte.h:1586
XRect CoreOutline aOutline XPoint value
Definition: _ViewsWarpView.h:137
void EwBspInOutInitLed(void)
Configures one LED of the board used for demo applications.
Definition: ew_bsp_inout.c:75
void EwBspInOutLedOn(void)
Switch LED on.
Definition: ew_bsp_inout.c:85
void DeviceDriver_Initialize(void)
The function DeviceDriver_Initialize() initializes the module and prepares all necessary things to ac...
Definition: DeviceDriver.cpp:168
void ApplicationDeviceClass__UpdateStationInfo(void *_this)
Definition: Application.c:525
volatile uint8_t metainfo_present_LCD
Definition: tcp_client.cpp:50
void UpdateVolume(int volume)
Update Volume.
Definition: DeviceDriver.cpp:477
void EwPrint(const char *aFormat,...)
XString InitStations()
Initialize Stations.
Definition: DeviceDriver.cpp:489
char connectionInfo[240]
Definition: DeviceDriver.cpp:74
void ApplicationDeviceClass__InitRadioStations(void *_this)
Definition: Application.c:577
char radioInfo[240]
Definition: tcp_client.cpp:35
void DeviceDriver_Deinitialize(void)
The function DeviceDriver_Deinitialize() deinitializes the module and finalizes the access or communi...
Definition: DeviceDriver.cpp:218
Cell matrixStations[Num_Fields_X][Num_Fields_Y]
Definition: DeviceDriver.cpp:110
This file implements an interface between an Embedded Wizard generated UI application and a certain d...
char stationInfo[160]
Definition: DeviceDriver.cpp:74
info
Definition: DeviceDriver.cpp:111
Radio Object.
Definition: radio.h:47
int currentVolume
Definition: mp3player.cpp:32
float XFloat
Definition: ewrte.h:1595
void ApplicationDeviceClass__TriggerHardButtonEvent(void *_this)
Definition: Application.c:429
int xCounter
Definition: DeviceDriver.cpp:85
static Station Stationlist[MaxStation]
Definition: stations.h:48
char text[10]
Definition: DeviceDriver.cpp:107
int GetCurrentID()
Get the ID Counter of the station grid.
Definition: DeviceDriver.cpp:550
int getLxValue(XInt32 index)
Get the Lx Value object.
Definition: DeviceDriver.cpp:563
XObject EwGetAutoObject(const XVariant *aAutoObject, const void *aClass)
unsigned long XUInt32
Definition: ewrte.h:1590
int currentID
Definition: DeviceDriver.cpp:85
void getEtherAndBuffer(void)
It handles the LwIP process and the buffer process.
Definition: mp3player.cpp:705
XChar * XString
Definition: ewrte.h:1656
int getLyValue(XInt32 index)
Get the Ly Value object.
Definition: DeviceDriver.cpp:575
void DeviceDriver_SetTime(XUInt32 aTime)
This is a sample for a function called from the device class, when the system time (RTC time) should ...
Definition: DeviceDriver.cpp:419
void EwBspInOutInitButton(TButtonCallback aButtonCallback)
Configures one hardware button of the board used for demo applications.
Definition: ew_bsp_inout.c:50
Mp3Player Object.
Definition: mp3player.h:59
void EwUnlockObject(register XObject aObject)
void ApplicationDeviceClass__UpdateRadioInfo(void *_this)
Definition: Application.c:481
@ StationInfo
Definition: DeviceDriver.cpp:111
void ApplicationDeviceClass__UpdateVUMeterDraw(void *_this)
Definition: Application.c:639
Definition: DeviceDriver.cpp:105
void EwLockObject(register XObject aObject)
@ Radio
Definition: DeviceDriver.cpp:111
void DeviceDriver_PrintMessage(XString aText)
This is a sample for a function that is called directly from a 'Command' method of the device class....
Definition: DeviceDriver.cpp:405