bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
Udp.h@11:2cc7e6f06cff, 2020-05-01 (annotated)
- Committer:
- bosko001
- Date:
- Fri May 01 10:43:05 2020 +0000
- Revision:
- 11:2cc7e6f06cff
- Parent:
- 9:893843262a1f
- Child:
- 13:03617f6ed112
funkcionalna verzija. Web parametarizacija radi na TCP socketu samo ako je NO_UDP = 1 u Udp.h fajlu, tj, samo prvi udp kanal je funkcionalan. U slucaju da nam treba vise kanala (do 4) stavljamo NO_UDP 2,3, ili 4 ali programiranje na TCP tada ne radi
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bosko001 | 9:893843262a1f | 1 | #ifndef UDP_H |
bosko001 | 9:893843262a1f | 2 | #define UDP_H |
bosko001 | 9:893843262a1f | 3 | |
bosko001 | 11:2cc7e6f06cff | 4 | #define NO_UDP 1 |
bosko001 | 11:2cc7e6f06cff | 5 | |
bosko001 | 11:2cc7e6f06cff | 6 | |
bosko001 | 11:2cc7e6f06cff | 7 | |
bosko001 | 9:893843262a1f | 8 | void sendToUdp( char *buffer, int val ); |
bosko001 | 9:893843262a1f | 9 | |
bosko001 | 9:893843262a1f | 10 | void udpRxThreadCancel( void ); |
bosko001 | 9:893843262a1f | 11 | void udpRxThreadRiseUp( void ); |
bosko001 | 9:893843262a1f | 12 | void udpRxThreadRestart( void ); |
bosko001 | 9:893843262a1f | 13 | |
bosko001 | 9:893843262a1f | 14 | |
bosko001 | 9:893843262a1f | 15 | |
bosko001 | 9:893843262a1f | 16 | |
bosko001 | 9:893843262a1f | 17 | #endif |