Commit Graph

65 Commits

Author SHA1 Message Date
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
kpl
c0b8f78fed Makefile : Added cwObjectTemplate.h to Makefile. 2020-02-29 00:16:03 -05:00
kpl
2710eb9ef7 cwDnsSd.cpp,cwEuCon.cpp : Updates to support EuCon simulation. 2020-02-29 00:15:18 -05:00
kpl
9f2ccef9aa cwIo.h/cpp,cwIoTest.cpp : Audio interface updates. 2020-02-29 00:13:11 -05:00
kpl
77c5026f14 cwObject.cpp,cwObjectTemplate.h,main.cpp : Fixed cwObject bool parsing. 2020-02-29 00:12:15 -05:00
kpl
d065dcf344 cwEuCon.cpp : Added debugging printouts. 2020-02-16 19:32:41 -05:00
kpl
d8249ab99a cwEuCon.cpp,fader.h/cpp : Initial updates to support Euphonix application messages. 2020-02-16 18:23:34 -05:00
kpl
0d977a4647 cwEuCon.cpp : Added hardcoded responses (but no change to logic). 2020-02-16 15:12:17 -05:00
kpl
b08ddaebcf main.cpp : Added ioTest(). 2020-02-13 11:31:05 -05:00
kpl
7db4474dd5 cwIo.h/cpp/test : Added initial audio implemetation. 2020-02-13 11:30:46 -05:00
kpl
f15e06695b Updated dns_sd/ to match the Arduino build.
cwAvahiSurface.cpp : initial commit.
2020-02-13 11:29:52 -05:00
kpl
ef70cd9420 Makefile : Added new files. 2020-02-12 13:44:28 -05:00
kpl
107a6b7756 cwMdns.cpp : Many changes to investigate MC Mix protocol. 2020-02-12 13:44:06 -05:00
kpl
969f1778fd dns_sd/ : Initial commit. 2020-02-12 13:43:25 -05:00
kpl
a6692e3365 cwUtility, cwDnsSd, cwEuCon : Initial commit. 2020-02-12 13:43:00 -05:00
kpl
23f1fbf460 cwThread.cpp : Added call to pthread_attr_destroy() to fix problem with pthread library memory leak. 2020-02-12 13:26:18 -05:00
kpl
b53383f6c3 Many changes and additions to cwTcpSocket* to support MDNS and DNS-SD operations. 2020-02-12 13:25:13 -05:00
kpl
be439a8331 Added cw::audio::device::report(); 2020-02-12 13:22:48 -05:00
kpl
3ef020648b cwTime.cpp/h : Added elapsedMs() 2020-02-01 10:13:21 -05:00
kpl
5927fcb43b cwTcpSocket.h/cpp : Added get_mac() 2020-02-01 10:12:51 -05:00
kpl
7d2fb0d234 cwMdns.cpp : Almost working version. 2020-01-31 16:40:33 -05:00
kpl
fafc6643de cwMdns.cpp : Working with TCP opening query/response. 2020-01-29 13:34:23 -05:00
kpl
01045493ba cwMdns.cpp : Initial working version with TCP connection. 2020-01-29 11:43:53 -05:00
kpl
6978f53626 cwTcpSocket.h/cpp,cwTcpSocketTest.cpp : Added socket::isConnected(),multicast_time_to_live(). 2020-01-29 11:42:41 -05:00
kpl
39fdb41329 Makefile : Added new modules. 2020-01-27 17:54:56 -05:00
kpl
2a97547cb8 main.cpp : Additions to support new tests. 2020-01-27 17:54:40 -05:00
kpl
2737f2accb cwIo.h/cpp, cwIoTest.h/cpp : Initial commit. 2020-01-27 17:53:44 -05:00