bosko lekovic
/
EthTCPclient_05_03
p1
ParkareClient.h@7:be56cf51685d, 2020-06-18 (annotated)
- Committer:
- bosko001
- Date:
- Thu Jun 18 15:23:39 2020 +0000
- Revision:
- 7:be56cf51685d
p1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bosko001 | 7:be56cf51685d | 1 | #ifndef PARKARECLIENT_H |
bosko001 | 7:be56cf51685d | 2 | #define PARKARECLIENT_H |
bosko001 | 7:be56cf51685d | 3 | |
bosko001 | 7:be56cf51685d | 4 | #include "mbed.h" |
bosko001 | 7:be56cf51685d | 5 | #include "EthernetInterface.h" |
bosko001 | 7:be56cf51685d | 6 | |
bosko001 | 7:be56cf51685d | 7 | struct s_rm { |
bosko001 | 7:be56cf51685d | 8 | EthernetInterface *e; |
bosko001 | 7:be56cf51685d | 9 | SocketAddress *sa; |
bosko001 | 7:be56cf51685d | 10 | char *tx_msg; |
bosko001 | 7:be56cf51685d | 11 | void (*fun_rec)(char*); |
bosko001 | 7:be56cf51685d | 12 | int response; |
bosko001 | 7:be56cf51685d | 13 | }; |
bosko001 | 7:be56cf51685d | 14 | |
bosko001 | 7:be56cf51685d | 15 | |
bosko001 | 7:be56cf51685d | 16 | void requestMessageThread(struct s_rm *s); |
bosko001 | 7:be56cf51685d | 17 | |
bosko001 | 7:be56cf51685d | 18 | void crm_fun( char *rx); |
bosko001 | 7:be56cf51685d | 19 | void srm_fun( char *rx ); |
bosko001 | 7:be56cf51685d | 20 | |
bosko001 | 7:be56cf51685d | 21 | |
bosko001 | 7:be56cf51685d | 22 | |
bosko001 | 7:be56cf51685d | 23 | |
bosko001 | 7:be56cf51685d | 24 | #endif |