Commit | Line | Data |
---|---|---|
4eb9c745 AW |
1 | #ifndef utils_h |
2 | #define utils_h | |
3 | ||
423df6df AW |
4 | #include <stdint.h> |
5 | using namespace std; | |
4eb9c745 | 6 | #include <string> |
5efaa1b1 | 7 | #include <vector> |
4eb9c745 | 8 | using std::string; |
4eb9c745 | 9 | |
4df07f88 MM |
10 | extern volatile bool _isr_context; |
11 | ||
4eb9c745 AW |
12 | string lc(string str); |
13 | ||
a699b669 AW |
14 | string remove_non_number( string str ); |
15 | ||
4eb9c745 AW |
16 | uint16_t get_checksum(string to_check); |
17 | ||
4464301d | 18 | void get_checksums(uint16_t check_sums[], string key); |
5efaa1b1 | 19 | |
4eb9c745 AW |
20 | string shift_parameter( string ¶meters ); |
21 | ||
cebe90b6 AW |
22 | string get_arguments( string possible_command ); |
23 | ||
8d857d2e L |
24 | bool file_exists( string file_name ); |
25 | ||
4de76b51 | 26 | void system_reset( void ); |
4eb9c745 AW |
27 | |
28 | ||
29 | ||
30 | ||
31 | #endif |