Red Light Work
Fork of realtimeMMLib by
Coms.h@0:9f82ee1feae7, 2017-10-02 (annotated)
- Committer:
- GTNicholson
- Date:
- Mon Oct 02 11:18:47 2017 +0000
- Revision:
- 0:9f82ee1feae7
Initial Publish Version
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 | }; |