WebRadioApp  0.1
Http_ssi.h
Go to the documentation of this file.
1 
21 #include "web_radio_config.h"
22 #include "mp3player.h"
23 #include "mp3dec.h"
24 #include "stations.h"
25 #include "tcp_client.h"
26 
27 typedef const char *SSI_t;
28 
29 // note maximum name tag length = 8 CHARACTERS !!
30 
31 static SSI_t SSI_Tags[] = {
32  "led1_s", /* Tag 0 = led1 status */
33  "led2_s", /* Tag 1 = led2 status */
34  "led3_s", /* Tag 2 = led3 status */
35  "led4_s", /* Tag 3 = led4 status */
36  "srv_adr", /* Tag 4 = server address */
37  "statname", /* Tag 5 = client all connections */
38  "strtitle", /* Tag 6 = client successfull connections */
39  "strmurl", /* Tag 7 = client percentage */
40  "bitrate", /* Tag 8 = client TX bytes */
41  "samprate", /* Tag 9 = client RX bytes */
42  "channels", /* Tag 10 = server all connections */
43  "outsamps", /* Tag 11 = server TX bytes */
44  "bpersamp", /* Tag 12 = server RX bytes */
45  "buffitms", /* Tag 13 = MAC address */
46  "gateway", /* Tag 14 = gateway */
47  "netmask", /* Tag 15 = netmask */
48  "link", /* Tag 16 = link status */
49  "duplex", /* Tag 17 = duplex status */
50  "hardware", /* Tag 18 = hardware where code is running */
51  "rtc_time", /* Tag 19 = current RTC time */
52  "compiled", /* Tag 20 = compiled on date and time */
53  "sentlen", /* Tag 21 = received bytes */
54 };
56 uint16_t SSICallback(int iIndex, char *pcInsert, int iInsertLen);
57 
SSI_t
const typedef char * SSI_t
Definition: Http_ssi.h:27
SSI_Tags
static SSI_t SSI_Tags[]
Definition: Http_ssi.h:31
hrng
RNG_HandleTypeDef hrng
Definition: main.cpp:27
StreamTitle
char StreamTitle[500]
Definition: tcp_client.cpp:37
StreamURL
char StreamURL[500]
Definition: tcp_client.cpp:39
XTAL_Year
int XTAL_Year
Definition: Http_ssi.cpp:23
mp3player.h
Mp3 Player.
SSICallback
uint16_t SSICallback(int iIndex, char *pcInsert, int iInsertLen)
SSICallback.
Definition: Http_ssi.cpp:63
MP3errorreason
int MP3errorreason
Definition: mp3player.cpp:43
stationname
char stationname[160]
Definition: tcp_client.cpp:32
szTitle
char szTitle[120]
ulNMAddress
unsigned long ulNMAddress
Definition: main.cpp:62
ulIPAddress2
unsigned long ulIPAddress2
Definition: Http_ssi.cpp:25
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition: main.cpp:693
tcp_client.h
tcp client application using LwIP RAW API
szArtist
char szArtist[120]
XTAL_Hour
int XTAL_Hour
Definition: Http_ssi.cpp:23
mp3FrameInfo
MP3FrameInfo mp3FrameInfo
Definition: mp3player.cpp:40
MP3errorcount
int MP3errorcount
Definition: mp3player.cpp:42
XTAL_Day
int XTAL_Day
Definition: Http_ssi.cpp:23
web_radio_config.h
Web Radio Framework configuration.
ulGWAddress
unsigned long ulGWAddress
Definition: main.cpp:61
ulIPAddress3
unsigned long ulIPAddress3
Definition: Http_ssi.cpp:25
ulIPAddress1
unsigned long ulIPAddress1
Definition: Http_ssi.cpp:25
XTAL_Month
int XTAL_Month
Definition: Http_ssi.cpp:23
stations.h
Stations.
XTAL_Min
int XTAL_Min
Definition: main.cpp:48
sent_len
long long unsigned int sent_len
Definition: tcp_client.cpp:61
XTAL_Sec
int XTAL_Sec
Definition: Http_ssi.cpp:23
items
volatile int items
Definition: tcp_client.cpp:72
ulIPAddress
unsigned long ulIPAddress
Definition: main.cpp:60
Http_ssi.h
HTML - SSI (Server Side Includes)