Commit Graph

91 Commits

Author SHA1 Message Date
kevin.larke
bc3c683e41 cwSocket.h/cpp : Changed name of cbId_t to cbOpId_t 2020-04-01 10:46:31 -04:00
kevin.larke
14ee0765db cwEuCon.cpp : Updated status messages. 2020-03-31 14:34:13 -04:00
kevin.larke
2372f153b3 cwUi : Initial UI creation from resource file. 2020-03-31 13:10:45 -04:00
kevin.larke
80cd776337 html/websockSrvTest.hmtl : Updated to get URL from DOM and send to particular or all connected endpoints. 2020-03-31 12:56:00 -04:00
kevin.larke
93b1af1a42 cwSocket.h/cpp : Update test() to get server parameters from a specific NIC device. 2020-03-31 12:54:20 -04:00
kevin.larke
e0f1e6b948 cwWebSock.h/cpp : Added 'sessionId' to send() (and msg_t) to allow a message to be sent to a specific endpoint. 2020-03-31 12:53:14 -04:00
kevin.larke
10b2a36970 cwObject.h/cpp,cwObjectTemplate.h : Initial implementation of newObject(). Added flags to find(). 2020-03-31 12:51:17 -04:00
kevin.larke
98c9150809 cwFile.cpp : Fixed bug in _fnToBuf(). 2020-03-31 12:49:24 -04:00
kevin.larke
0a293ba910 cwCommon.h Added kLabelNotFouncRC and kDuplicateRC, 2020-03-31 12:47:37 -04:00
kevin.larke
9d1170b1eb cwUi.h/cpp : Added shell for functions createFromFile(), createFromText(). 2020-03-25 11:35:37 -04:00
kevin.larke
e4328c950b cwObject.h/cpp : Added unlink() and non const find(),par_value(),list_ele(). 2020-03-25 11:34:28 -04:00
kevin.larke
1a11282915 cwUi : Create message changed 'value' field to 'children'. 2020-03-24 08:53:42 -04:00
kevin.larke
938e8c284d cwObject*,cwText* : Added object_t.to_string() function 2020-03-24 08:53:00 -04:00
kevin.larke
7b2ebd5580 Changes to support autotools build.
Changed #define cwLINUX to OS_LINUX.
2020-03-24 08:51:51 -04:00
kpl
29e34cbeca main.cpp : Updated 'sockMgrTest' usage string. 2020-03-23 16:48:43 -04:00
kpl
3c9d4282cd cwDnsSd, dns_sd/ : Updates to integrate Arduino version with Linux version. 2020-03-23 16:48:17 -04:00
kpl
8c685cb517 cwTcpSocket.cpp : Changed select_receive() to use p->fdH when available. 2020-03-23 16:46:04 -04:00
kpl
d0eccbd6be cwEuCon.cpp : Handshake protocol no longer waits for a heart-beat before sending second handshake msg (i.e. 0xc ...) 2020-03-23 15:58:13 -04:00
kpl
8ca40945e4 cwEuCon.cpp : Change to match with Arduino DNS-SD client. 2020-03-23 15:50:25 -04:00
kpl
8b112b39fe cwIo* : Updates to include 'decl' files in header and initial sketch of interface. 2020-03-23 13:14:42 -04:00
kpl
8f88355f36 main.cpp : Updates to include uiTest() and more variadic template experiments. 2020-03-23 10:52:04 -04:00
kpl
1a437951ce README.md : updates 2020-03-23 10:51:29 -04:00
kpl
dcc1a5f291 .gitignore : updates 2020-03-23 10:51:18 -04:00
kpl
78b351b753 cwUi* : Initial implementation. 2020-03-23 10:50:10 -04:00
kpl
545f8b808f cwNumericConvert.h : Added string_to_number<boo>() 2020-03-23 10:43:38 -04:00
kpl
bcb6b37df4 cwText.h/cpp : Added nextNonWhiteChar() functions and toText() functions. 2020-03-23 10:42:16 -04:00
kpl
5cda838a93 Added 'decls' include files to hold public declarations for audio,midi,serial,socket, and websock modules.
Other minor changes to prepare for integration into cwIo.
In cwMidi* replaced 'byte_t' with 'uint8_t'.
In cwAudioDevice* removed redundant 'device' prefix from function names.
2020-03-23 10:41:28 -04:00
kpl
11f6d38330 cwSocket.cpp : Sockets are now automatically closed when poll() detects HUP or NVAL conditions. 2020-03-18 19:54:01 -04:00
kpl
33aca956da cwThread.cpp : Threads are no longer created in detached state
because it no longer solves the problems of internal memory leaks when the thread is closed.
Instead we use pthread_join() when the thread is closed.
2020-03-18 19:05:48 -04:00
kpl
414bce83e5 cwSocket.cpp : Children sockets are no unlinked from their parent when they are disconnected. 2020-03-18 19:04:33 -04:00
kpl
46a84600a6 cwSocket.cpp : Added extended socket status checking in _poll(). 2020-03-18 17:20:38 -04:00
kpl
f4e11db89a cwSocket.cpp : Added 'remoteSockAddr' to the socket structure. Fixed bug in 'connId' assignment. 2020-03-18 17:07:33 -04:00
kpl
66e664ec54 cwSocket.cpp : print error mesg. when test send fails. 2020-03-18 16:20:23 -04:00
kpl
de306242bb cwSocket.cpp : Added more reporting from test callback. 2020-03-18 16:03:12 -04:00
kpl
fe142ad7a8 cwSocket.h/cpp : added callback on connection. 2020-03-18 15:53:11 -04:00
kevin
47bcd57d79 README.md : Added 'Development Setup' section. 2020-03-18 15:11:39 -04:00
kpl
49bec1142f cwSocket.h/cpp, main.cpp : Updates to socksrv::test(). 2020-03-18 14:08:21 -04:00
kpl
be5ae7e63e valgrind_test.sh : Add 5th command line argument placeholder. 2020-03-16 22:59:31 -04:00
kpl
f105d2d9db cwSocket.h/cpp,Makefile : New socket system implementation. 2020-03-16 22:59:07 -04:00
kpl
f2ec64c722 cwCommon.h : Add literal result code values to result code comments. 2020-03-16 22:58:05 -04:00
kpl
af87b52d2f cwIo.cpp : Temporarily remove call to serialPortSrv:create() while serial port system is modified. 2020-03-16 22:56:58 -04:00
kpl
85993019b4 cwDnsSd.cpp/cwMdns.cpp : Remove use of socket handle in calls to socket::initAddr(). 2020-03-16 22:55:39 -04:00
kpl
38cf5a0714 cwSerialPort.cpp : fix bug where the incorrect byte count could be sent on a receive callback. 2020-03-16 22:54:14 -04:00
kpl
14c560a64d cwTcpSocket.h/cpp : Remove the handle_t argument in initAddr() 2020-03-16 22:52:21 -04:00
kpl
465d7f6fd6 cwSerialPort.h/cpp,cwSerialPortSrv.h/cpp : serialPort now manages multiple ports. 2020-03-05 22:04:53 -05:00
kpl
24c68c158f .gitignore : initial commit. 2020-03-04 14:26:33 -05:00
kpl
78bb8cd9be dns_sd/rpt.h/cpp : Initial commit. 2020-03-04 14:25:59 -05:00
kpl
20f1008665 dns_sd/fader.cpp : Check for the protocol state before sending heart beat in fader::tick() 2020-03-04 14:08:41 -05:00
kpl
e0c69bfd25 cwTime.h : Added now(), advanceMs() and futureMs(). 2020-03-04 14:06:27 -05:00
kpl
dfe4ca02a1 cwLib.h/cpp, cwMutex.h/cpp : Initial commit. 2020-03-04 14:05:54 -05:00