Commit Graph

5809 Commits

Author SHA1 Message Date
marian fae42ec947 Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6037 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 09:48:21 +00:00
paulc 9aa279f97e Even if configured start RTP when generating 200 OK only if INVITE had SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6036 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 08:11:49 +00:00
marian 7866475cfc Leave tx/rx mutex locked when serializing i/o (avoid race for serialize). Don't try to serialize both tx and rx to obtain timestamps when dumping them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6035 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-15 14:54:05 +00:00
marian 4cf402e052 Yield when send/recv fails with hardware I/O error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6034 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-15 12:50:37 +00:00
marian d4f4a0d2ee Added timestamps display to show command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6033 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-11 13:17:59 +00:00
paulc 0b38ac3adc Consider undefined and null as missing name or namespace for finding XML childs.
Refuse to create an XML child with an empty or null tag.
Added constants for XML put methods.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6032 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-09 13:05:34 +00:00
paulc e1b0914d05 Fixed behavior of -Dx command line, was stopping too early.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6031 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-07 13:32:35 +00:00
paulc 79f5b70ca5 Added static Engine.replaceParams() that replaces object properties in a ${template} string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6030 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-04 20:04:02 +00:00
paulc 038bb01d1e Added engine.command cmd_header and cmd_finish parameters for proper handling of paged responses.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6029 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-01 16:14:17 +00:00
paulc 86ea2d8f3d Renamed csi-Active to csiActive to maintain uniform naming.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6028 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 12:41:58 +00:00
paulc 2c94c52e35 Added support for copy constructing a JS XML.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6027 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 11:05:58 +00:00
paulc dde5f5ca6f Added a version of the JS XML constructor that takes element name and optional text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6026 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 08:09:15 +00:00
paulc 3a638df554 Fixed the JS Array unshift() to not crash when called with no arguments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6025 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 08:06:14 +00:00
paulc 3bd65c1cc6 Add a JS Engine.name property so scripts can know how they were started.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6024 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-27 10:58:42 +00:00
paulc 307a7c09ef Added support for JS getIntValue() min/max/clamp parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6023 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-27 10:56:06 +00:00
marian b18d902a69 Added addValue() method to ConfigFile.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6022 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-25 10:18:26 +00:00
marian 66c6ee12ff Added clearSection() method to ConfigFile. Added addValue() method to ConfigSection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6021 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-25 09:37:59 +00:00
paulc 5b980e2793 Added prototypes to parsed JSON objects and arrays.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6020 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-21 13:07:19 +00:00
paulc 4a5c2f835f Added JS method to restart the Yate engine (only if allow_abort is configured).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6019 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-18 16:09:40 +00:00
paulc fb82168a58 Fixed building on 32 bit machines and those that don't define various byte swapping macros.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6018 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-18 11:24:10 +00:00
marian 1f01a0ff5f Enable by default rx timestamps check. Apply parameter on reload. Documented it. Changed invalid timestamps debug message to MILD.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6017 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-06 15:11:56 +00:00
marian ebe0799010 Moved tx timestamp mismatch debug to a lower level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6016 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-06 14:55:33 +00:00
marian 6476f94fe3 Added pulse pattern to radio test. Implemented radio read.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6015 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-04 11:34:56 +00:00
marian 70d26b2596 Added new method used to set loopback to radio interface.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6014 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-04 11:33:16 +00:00
marian fefef69fc5 Double the number of I/O buffers on USB2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6013 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-03 14:16:25 +00:00
marian 6ad706cbe9 Added small DMA transfer flag used to alter GPIO values written at address 0 (config). Fixes USB2 timestamps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6012 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 14:10:20 +00:00
paulc 2c7bd66168 Do not flush the output when connecting over a PHP socket, it is useless and causes "Headers already sent" when used from a Web server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6011 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 12:48:32 +00:00
paulc edbdb046e8 Properly package the radio modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6010 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-29 13:22:05 +00:00
marian 63e8ac7e47 Fixed bug: avoid wrting past array bound.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6009 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-28 12:02:11 +00:00
marian 5265e4d8e5 Fixed bug: use proper operator to mask freq offset.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6008 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-24 07:18:54 +00:00
marian 26df795fb0 Added math vectors to Windows build. Fixed variadic macro. Added missing export directive.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6007 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-20 12:55:56 +00:00
marian 0952e7673d Added math slice vector.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6006 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-20 11:04:45 +00:00
marian 4a6b823a77 Added brute force algorithm for phase/gain correction. Added more parameters for calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6005 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 14:53:56 +00:00
marian 837195edd4 Added capability to replace newline and tab in configured format string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6004 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 14:50:31 +00:00
marian 2355ead640 Added method used to set data dump to radio interface. Fixed bug in bladerf rx data dump: preserve original pointer when copying data to avoid dump wrong data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6003 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 09:12:20 +00:00
marian 1eed7d0259 Added extra dump info to radio file process. Added radiotest conf sample.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6002 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-15 10:10:33 +00:00
marian dff954a437 Added extra parameter to configure data dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6001 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-15 09:21:30 +00:00
marian 4431d99720 Added capability to dump data to bladerf module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6000 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:22:00 +00:00
marian c132a6a646 Added capability to process radio data file to radio test module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5999 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:19:19 +00:00
marian 8690478048 Added class used to handle radio data dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5998 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:18:17 +00:00
marian c6e7faef4c Work in progress on fixing calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5997 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-13 15:00:12 +00:00
marian 2897af7e41 Added 2 circles send pattern to radio test.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5996 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-13 14:55:14 +00:00
paulc a6529f386e Only install bladeRF FPGA files if we could build the module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5995 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 17:14:00 +00:00
marian be0303dfcd Fixed statistics reporting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5994 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 15:01:05 +00:00
marian fb80124f8e Added bladerf fpga files. Changed fpga load default path.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5993 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 14:35:37 +00:00
paulc 36afeb4b64 Copy SIP RFC3329 Security-* parameters to user.auth message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5992 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:55:01 +00:00
marian 8bcdf3d442 Added radio test module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5991 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:24:14 +00:00
marian 31a84fdce6 Added tx power balance calibration. Work in progress.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5990 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:20:01 +00:00
marian 64353a04e0 Implemented tx/rx timestamp retrieval.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5989 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 08:01:11 +00:00
paulc 826ebdaf36 Preliminary version of dummy radio interface.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5988 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-09 10:05:21 +00:00