aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-13Possibly fixed some crashing when freeing resources, by checking for NULL ↵Martin Peach
before freeing. Added a verbosity message to control printout to console. Default is 0, or no output except errors. Fixed a bug with the [client n( message and non-existent client number. --This line, and those below, will be ignored- M tcpserver.c M tcpserver-help.pd svn path=/trunk/externals/mrpeach/; revision=17265
2014-02-12Make sure ntohl accesses 32 bits even on 64-bit systems.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17264
2014-01-27Eliminated most compiler warnings by using %zu to print size_t and changing ↵Martin Peach
signedness of some variables and parameters. svn path=/trunk/externals/mrpeach/; revision=17259
2014-01-27Add a length parameter to the read message to set the number of bytes to be ↵Martin Peach
read in. This also applies to the creation arguments. svn path=/trunk/externals/mrpeach/; revision=17258
2013-10-01Added handler for Transmit Status (series 1) packet.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17207
2013-09-17Added methods for non-OSC input, which silently route all such input to the ↵Martin Peach
rightmost outlet unchanged. svn path=/trunk/externals/mrpeach/; revision=17206
2013-06-28Added the two Series 1 transmit messages (TX64 and TX16) to the Transmit ↵Martin Peach
help patch. svn path=/trunk/externals/mrpeach/; revision=17170
2013-06-28Added handlers for transmit and receive packets for Series1 XBees (64-bit ↵Martin Peach
and 16-bit address versions). Some packets are still not implemented. svn path=/trunk/externals/mrpeach/; revision=17169
2013-06-11Add an optional value to the clear method. The current running mean will be ↵Martin Peach
written to the entire array if the length changes, avoiding glitches. svn path=/trunk/externals/mrpeach/; revision=17151
2013-05-20Added a port method to change the listening port.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17143
2013-05-19Check for space before accepting incoming connection, increased MAX_CONNECT.Martin Peach
Also changed print format for size_t from %d to %lu And commented out some unused variables. svn path=/trunk/externals/mrpeach/; revision=17142
2013-03-13Two objects to convert between floats and their binary representation as ↵Martin Peach
bytes, so you can send floats through [comport] for example. svn path=/trunk/externals/mrpeach/; revision=17064
2013-03-13Corrected for new outlet in [unpackxbee]Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17063
2013-03-13Corrected [unpackxbee] with new outlet for sample frames Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17062
2013-03-04AT and RAT messages can have parameters greater than 255.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17058
2013-02-28Added a middle outlet for sample frames. Sample frames are unpacked into ↵Martin Peach
digital bits and analog values. svn path=/trunk/externals/mrpeach/; revision=17056
2013-02-25A patch to use with remote xbee IO. [bits] is a 16-bit word to bit converter ↵Martin Peach
used in [xbeeio]. svn path=/trunk/externals/mrpeach/; revision=17051
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17049
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17048
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17047
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17046
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17045
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17044
2013-02-20fopen and fclose -> sys_fopen and sys_fclose for recent pdMartin Peach
svn path=/trunk/externals/mrpeach/; revision=17043
2013-02-20An example data transmitter.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17042
2013-02-20unpackxbee_add is declared static.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17041
2013-02-20Cleaned up packxbee help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17040
2013-02-20New unpackxbee help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=17039
2012-04-13added 5th outlet to [tcpsocketserver]Roman Haefeli
svn path=/trunk/externals/mrpeach/; revision=16122
2012-03-21Added [import moocow] so [any2string] and [string2any] will work. Removed ↵Martin Peach
[declare] objects that don't work. svn path=/trunk/externals/mrpeach/; revision=16088
2012-03-21fixed [declare] to comply with Pd-extended layoutRoman Haefeli
svn path=/trunk/externals/mrpeach/; revision=16087
2012-03-20Attempt to allow UTF-8 text in strings by only rejecting characters less ↵Martin Peach
than space (0x20). svn path=/trunk/externals/mrpeach/; revision=16082
2012-03-13Removed a debug post()Martin Peach
svn path=/trunk/externals/mrpeach/; revision=16072
2012-03-13Now accepts lists without complaining. Also routes non-OSC messages to right ↵Martin Peach
outlet. Corrected and updated help patch. svn path=/trunk/externals/mrpeach/; revision=16071
2012-02-14Added an [unpackOSC] help patch.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=15965
2011-11-17Added remote command response packet handler, fixed some signed/unsigned ↵Martin Peach
warnings. Help patch is a bit better but still needs organizing. svn path=/trunk/externals/mrpeach/; revision=15788
2011-11-16Get 64-bit address to print as 16-characters with leading zeros. Eliminate ↵Martin Peach
compiler warnings about signed/unsigned characters in floatstring. svn path=/trunk/externals/mrpeach/; revision=15775
2011-11-08Fixed an off-by-one error in thread buffer indexing.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=15714
2011-11-07Changed sscanf format for long long to $LX for non-MSVC versions. Some code ↵Martin Peach
in packxbee_pack_frame was outside of its block. Removed unused variable use_floatstring. svn path=/trunk/externals/mrpeach/; revision=15710
2011-11-06Externs to pack and unpack Xbee messages in API modes 1 or 2. Interfaces ↵Martin Peach
with an Xbee via [comport]. svn path=/trunk/externals/mrpeach/; revision=15708
2011-11-04Add a flag to sendthreadparams to indicate if the thread is in use or not. ↵Martin Peach
Don't reuse the buffer if it's still active. svn path=/trunk/externals/mrpeach/; revision=15704
2011-11-03To prevent overwriting the send buffer with multiple simultaneous messages, ↵Martin Peach
each sender thread now gets its own buffer. (Usually a multiple message results in two TCP packets, with the first message in the first packet and the rest in the second.) The buffers are preallocated and assigned to threads in round-robin fashion. There are MAX_TCPCLIENT_THREADS (32) buffers. Wait for all threads to terminate before disconnecting a socket. svn path=/trunk/externals/mrpeach/; revision=15700
2011-10-21added abstractions to the Makefile for inclusion in the libraryHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15639
2011-10-21updated udpreceive~ help with example from udpsend~ helpHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15638
2011-10-21ported to Library TemplateHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15637
2011-10-21use auto-macro _WIN32 instead of Pd-defined macro UNIX, this means the build ↵Hans-Christoph Steiner
system doesn't need to set any macros to work properly svn path=/trunk/externals/mrpeach/; revision=15636
2011-10-21A readme and license file.Martin Peach
svn path=/trunk/externals/mrpeach/; revision=15635
2011-10-21A new meta fileMartin Peach
svn path=/trunk/externals/mrpeach/; revision=15634
2011-10-21When path pattern matches exactly, don't output the empty symbol as ↵Martin Peach
selector. Instead output bang if no args, use arg[0] as selector if it's a symbol, and otherwise use "list" as the selector. This should fix bug ID: 3426523. svn path=/trunk/externals/mrpeach/; revision=15633
2011-08-05downcased library name to 'osc' to match standard for library namesHans-Christoph Steiner
svn path=/trunk/externals/mrpeach/; revision=15204