nova verzija tcp+udp->serial com

Committer:
bosko001
Date:
Sat May 23 00:30:00 2020 +0200
Revision:
19:7bdb1a10043f
Parent:
18:5ee53205451a
prva verzija, rade serial i tcp klijenti

Who changed what in which revision?

UserRevisionLine numberNew 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 19:7bdb1a10043f 26 start_serialCom( );
bosko001 19:7bdb1a10043f 27 start_TcpClients( );
bosko001 19:7bdb1a10043f 28
bosko001 19:7bdb1a10043f 29
bosko001 2:45b351b4fc2a 30
Bosko Lekovic 18:5ee53205451a 31 // udpRxThreadsRiseUp( );
bosko001 2:45b351b4fc2a 32
Bosko Lekovic 18:5ee53205451a 33 }