bosko lekovic
/
EthToCom_11
nova proba
UdpToScom.cpp@18:5ee53205451a, 2020-05-17 (annotated)
- Committer:
- Bosko Lekovic
- Date:
- Sun May 17 17:16:03 2020 +0200
- Revision:
- 18:5ee53205451a
- Parent:
- 17:74c41e3f10b8
- Child:
- 19:7bdb1a10043f
udp i serial zakomentarisani
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bosko001 | 2:45b351b4fc2a | 1 | #include "mbed.h" |
bosko001 | 2:45b351b4fc2a | 2 | #include "clubbing.h" |
bosko001 | 2:45b351b4fc2a | 3 | #include "UdpToScom.h" |
bosko001 | 2:45b351b4fc2a | 4 | #include "EthernetSetup.h" |
bosko001 | 2:45b351b4fc2a | 5 | |
bosko001 | 2:45b351b4fc2a | 6 | |
bosko001 | 2:45b351b4fc2a | 7 | |
bosko001 | 9:893843262a1f | 8 | extern EthernetInterface *gp_eth; |
bosko001 | 2:45b351b4fc2a | 9 | |
bosko001 | 2:45b351b4fc2a | 10 | |
bosko001 | 2:45b351b4fc2a | 11 | |
bosko001 | 2:45b351b4fc2a | 12 | |
bosko001 | 2:45b351b4fc2a | 13 | |
bosko001 | 2:45b351b4fc2a | 14 | void init_EthToScom( void ) |
bosko001 | 2:45b351b4fc2a | 15 | { |
Bosko Lekovic |
18:5ee53205451a | 16 | // gp_eth = ethernet_setup( ); |
bosko001 | 2:45b351b4fc2a | 17 | |
Bosko Lekovic |
18:5ee53205451a | 18 | // if(gp_eth == NULL) printf("ethernet greska"); |
Bosko Lekovic |
18:5ee53205451a | 19 | // else printf("eth OK\n\r"); |
bosko001 | 2:45b351b4fc2a | 20 | |
Bosko Lekovic |
18:5ee53205451a | 21 | ethRiseUp( ); |
bosko001 | 2:45b351b4fc2a | 22 | |
Bosko Lekovic |
18:5ee53205451a | 23 | //ethRestart( ); |
Bosko Lekovic |
18:5ee53205451a | 24 | |
Bosko Lekovic |
18:5ee53205451a | 25 | |
bosko001 | 9:893843262a1f | 26 | scomRxThreadRiseUp( ); |
bosko001 | 2:45b351b4fc2a | 27 | |
Bosko Lekovic |
18:5ee53205451a | 28 | // udpRxThreadsRiseUp( ); |
bosko001 | 2:45b351b4fc2a | 29 | |
Bosko Lekovic |
18:5ee53205451a | 30 | } |