Red Light Work
Fork of realtimeMMLib by
Coms.h@2:ed0430db9b2b, 2018-02-15 (annotated)
- Committer:
- ChrisAydon
- Date:
- Thu Feb 15 16:17:25 2018 +0000
- Revision:
- 2:ed0430db9b2b
- Parent:
- 0:9f82ee1feae7
Pushing Latest Changes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GTNicholson | 0:9f82ee1feae7 | 1 | class Coms { |
GTNicholson | 0:9f82ee1feae7 | 2 | public: |
GTNicholson | 0:9f82ee1feae7 | 3 | int EthernetInitialise(char* IPAddress, char* NetworkMask, char* DefaultGateway); |
GTNicholson | 0:9f82ee1feae7 | 4 | char* getMACAddress(); |
GTNicholson | 0:9f82ee1feae7 | 5 | int EthernetConnect(); |
GTNicholson | 0:9f82ee1feae7 | 6 | void EthernetDisconnect(); |
GTNicholson | 0:9f82ee1feae7 | 7 | int EthernetSocketConnect(char* IPAddress, int Port); |
GTNicholson | 0:9f82ee1feae7 | 8 | int EthernetSocketSendAll(char* datasample, int samplesize); |
GTNicholson | 0:9f82ee1feae7 | 9 | int EthernetSocketReceive(char* datasample, int samplesize); |
GTNicholson | 0:9f82ee1feae7 | 10 | int EthernetSocketClose(); |
GTNicholson | 0:9f82ee1feae7 | 11 | }; |