akwizgran
25fa4decfb
Include /dev/ttyusbmodem* in serial port list on OS X.
2012-12-06 14:34:10 +00:00
akwizgran
f0c61a9b25
Find Linux serial ports by exploring /dev rather than executing dmesg.
2012-12-06 14:17:03 +00:00
akwizgran
80f5e0a7ff
Don't try to close the serial port if it wasn't opened.
2012-12-06 14:07:19 +00:00
akwizgran
4ece151df8
Include stack traces in logs.
2012-12-06 14:00:31 +00:00
akwizgran
56e7f459e8
Allow the modem to respond OK more than once.
2012-12-06 13:56:14 +00:00
akwizgran
c13c01a114
Recompiled jSSC for Java 1.5.
2012-12-06 13:46:16 +00:00
akwizgran
12765ee173
Patched jSSC to recognise /dev/tty.modem as a serial port on OS X.
2012-12-06 13:43:30 +00:00
akwizgran
aec43d6de7
Enabled logging in non-JUnit modem tests.
2012-12-06 13:36:10 +00:00
akwizgran
51a4f2fd62
Updated non-JUnit plugin tests and added tests for the modem plugin.
2012-12-06 13:10:14 +00:00
akwizgran
dca9470c28
Updated ant build files for multi-project structure.
2012-12-05 23:15:35 +00:00
akwizgran
f5626bee05
Moved API classes into a separate project to enforce dependency rules.
2012-12-05 22:19:12 +00:00
akwizgran
5204e0b907
Fixed ant build files for Android project.
2012-12-05 21:31:13 +00:00
akwizgran
b995a2dce8
Set Eclipse compilation target to Java 1.5.
2012-12-05 21:02:30 +00:00
akwizgran
29d25cce6b
Fixed classpaths of Android and test projects.
2012-12-05 21:00:47 +00:00
akwizgran
fa295da4dd
Merged prototype-test repo into prototype repo, as a separate Eclipse project.
2012-12-05 20:41:01 +00:00
akwizgran
f4f7b96d50
Separated Android code and core code into distinct Eclipse projects.
...
This should make it possible to develop the core in Eclipse without the ADT.
2012-12-05 20:39:31 +00:00
akwizgran
366d391d89
Removed Java 1.6 API call.
2012-11-30 12:53:03 +00:00
akwizgran
4050c17a9a
Recompiled jSSC for Java 1.5.
2012-11-30 12:50:03 +00:00
akwizgran
79aee8141a
Logging for modem plugin.
2012-11-30 12:11:49 +00:00
akwizgran
7afd2d8f74
Don't accept an unreasonably large window size.
2012-11-27 15:38:55 +00:00
akwizgran
80543984be
Use whole buffers for reads and writes.
2012-11-27 15:16:56 +00:00
akwizgran
705b87b97c
Writes to the reliability layer should be asynchronous.
...
The flow control window will limit the amount of buffered data.
2012-11-27 14:51:34 +00:00
akwizgran
f8210e1b13
Wake any readers that are waiting for data when the modem hangs up.
2012-11-27 14:40:21 +00:00
akwizgran
4869a8034b
Removed unnecessary synchronization.
2012-11-27 00:09:33 +00:00
akwizgran
116e194185
Replace the modem instance if an exception occurs.
2012-11-27 00:05:25 +00:00
akwizgran
14f2fd1995
Code cleanup, fixed potential NullPointerException if never connected.
2012-11-27 00:00:52 +00:00
akwizgran
a0c015352d
Reliability layer for the modem plugin (untested).
2012-11-26 23:54:17 +00:00
akwizgran
38a8799a7c
Removed stack traces.
2012-11-26 23:53:15 +00:00
akwizgran
f487d4f48a
Don't allow input or output streams to be used after hanging up.
2012-11-26 22:26:07 +00:00
akwizgran
4f37cb0837
The not operator is quite important.
2012-11-26 21:26:35 +00:00
akwizgran
2a293b5018
Use a fresh receive queue for each call.
...
This prevents a caller from getting stale data and/or a stale EOF marker
if a previous caller didn't consume the queue.
2012-11-26 16:16:36 +00:00
akwizgran
98f1f26fcf
Give names to threads for debugging purposes.
2012-11-26 14:48:10 +00:00
akwizgran
721a6b8950
First pass at a modem plugin.
2012-11-26 14:09:18 +00:00
akwizgran
6cc8463209
First pass at a modem plugin (unfinished).
2012-11-24 13:35:23 +00:00
akwizgran
d706363866
Removed unnecessary throws declarations.
2012-11-24 13:35:04 +00:00
akwizgran
dc932764ec
You can't use an AtomicBoolean as a semaphore.
2012-11-24 12:32:45 +00:00
akwizgran
9a3157c3e6
Removed unnecessary locking.
2012-11-24 11:46:49 +00:00
akwizgran
eb237e5bb0
Expose transport ID through plugin factory so it's available earlier.
2012-11-24 11:13:12 +00:00
akwizgran
d90b4f4bc5
Allow Plugin.start() to fail gracefully; removed unnecessary locking.
2012-11-24 10:50:20 +00:00
akwizgran
66c155e41c
Moved blocking operations off the serial port's event thread.
2012-11-23 22:41:12 +00:00
akwizgran
f40abf1a18
Safer not to create a new queue for each connection (race condition).
2012-11-23 22:36:47 +00:00
akwizgran
61f4dce408
Try to leave the serial port in a reusable state if an exception occurs.
2012-11-23 18:00:34 +00:00
akwizgran
91cb3ce7a9
Modem implementation using jSSC (untested).
2012-11-23 17:49:04 +00:00
akwizgran
7f1b01bee1
Skeleton of modem plugin.
2012-11-22 14:06:14 +00:00
akwizgran
e5f7ab7a2d
Disable the Tor plugin by default.
2012-11-21 16:49:01 +00:00
akwizgran
eb8ea1a324
Upgraded JNA platform jar to 3.5.1.
2012-11-21 15:23:50 +00:00
akwizgran
df4e153837
Accidentally conflated two identically named fields.
2012-11-21 15:03:07 +00:00
akwizgran
a84df182e1
Updated JNA to 3.5.1.
2012-11-20 16:45:45 +00:00
akwizgran
71ee618a11
Patched Netlib to track changes in Bouncy/Spongy Castle.
...
Netlib was assuming that PEMReader would return a specific class when
parsing a public key; the latest version returns a different class.
Also patched the descriptor parser to accept fingerprint lines with or
without the opt keyword.
2012-11-20 16:28:39 +00:00
akwizgran
e416f3ba23
Updated Spongy Castle libs, added scpkix lib required by Silvertunnel.
2012-11-20 15:09:50 +00:00