Commit Graph

101 Commits

Author SHA1 Message Date
kevin.larke
0b2f8091d0 Merge branch 'master' of gitea.larke.org:klarke/libcw 2020-04-04 17:28:01 -04:00
kevin.larke
5fdab1080d README.md : Added Raspberry Pi build notes. 2020-04-04 17:27:45 -04:00
kevin
86c641c4ab Minor changes for Raspberry Pi Build. 2020-04-04 20:53:20 +00:00
kevin.larke
c266475c99 cwEuCon.cpp : Fixed bug where multiple handshake-0's could be sent. 2020-04-04 09:28:32 -04:00
kevin.larke
3a840015cf cwEuCon.h/cpp : Allow the Fader service port to be set from the program arguments (even though it should be read from DNS-SD). 2020-04-03 17:42:07 -04:00
kevin.larke
def9f601c0 README.md : updates 2020-04-03 16:41:11 -04:00
kevin.larke
f2bfc13419 cwEucon.h/cpp : Initial updates to support fader bank array server. 2020-04-03 10:36:10 -04:00
kevin.larke
6d623c3a2a cwEuCon.cpp : Fixed extra bytes in RESPONSE_4_B. 2020-04-02 14:41:23 -04:00
kevin.larke
4ef49b84d4 cwSocket.cpp : Fixed comments and error messages. 2020-04-02 14:40:49 -04:00
kevin.larke
46fc9721ca README.md : Updates 2020-04-02 14:40:26 -04:00
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