\r
\r
/**\r
- * chyby generovane bth zarizenim\r
+ * Errors generated by a bluetooth device\r
*/\r
\r
static struct {\r
};\r
\r
/**\r
-* vypis chyby na terminal pres RS232\r
+* Output an error to a terminal unsing rs232\r
*/\r
void bth_error_detect_status(uint8_t status_num)\r
{\r
while(*(message+i)!=0)\r
{\r
#ifdef BTH_LX\r
- sci_rs232_sendch(*(message+i),sci_rs232_chan_default); //do PC\r
+ sci_rs232_sendch(*(message+i),sci_rs232_chan_default); //to PC\r
#endif\r
i++;\r
};\r
};\r
\r
/**\r
- * chyby programu - nutno upravit navratove parametry - sedi jenom 0 a 3\r
+ * errors in program - it is necessary to modify return parameters - matches only 0 and 3\r
*/\r
static struct {\r
uint8_t error_code;\r
char *error_doc;\r
}event_command[] = {\r
{ 0x00, "Status OK" },\r
- { 0x01, "nespecifikovana chyba" },\r
- { 0x02, "potvrzovaci fronta prazdna" },\r
- { 0x03, "fce nenapsana" },\r
+ { 0x01, "unspecified error" },\r
+ { 0x02, "confirmation queue is empty" },\r
+ { 0x03, "function is not implemented" },\r
};\r
\r
\r
\r
/**\r
- * vypis chyby na terminal pres RS232\r
+ * Output an error to terminal through RS232\r
*/\r
void bth_error_detect_event(uint8_t status_num)\r
{\r