-
sbbs/exec/load/kissAX25lib.js
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Monday, March 11, 2013 11:32:19
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv5755
Added Files:
kissAX25lib.js
Log Message:
Work-in-progress rewrite of the KISS+AX.25 library for Synchronet.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Monday, March 11, 2013 16:29:43
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv6228
Modified Files:
kissAX25lib.js
Log Message:
Parent AX25 object with chillun:
AX25.KISSTNC
AX25.Packet
AX25.Client
And some properties and methods of its own.
You ain't no goddamn.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Tuesday, March 12, 2013 11:54:01
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv12865
Modified Files:
kissAX25lib.js
Log Message:
Added a buffer for outgoing I frames to the AX25.Client object.
Send an I frame rather than an RR when possible, for better throughput. (Per ax25.doc 2.4.4.1 and 2.4.4.2.1)
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Tuesday, March 12, 2013 12:20:56
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv13137
Modified Files:
kissAX25lib.js
Log Message:
In AX25.Client:
Added private 'remoteBusy' property.
Added 'canSend' property, aggregate of remoteBusy, (local N(S) < ((remote N(R) + 7) % 8)).
Set remoteBusy upon receipt of RNR, clear on receipt of UA, RR, REJ, or SABM. (Per ax25.doc 2.3.5.1.)
Check canSend before sending any I frames.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Tuesday, March 12, 2013 14:51:04
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv14361
Modified Files:
kissAX25lib.js
Log Message:
Added receiveAcknowledgement function, per 2.4.4.5.
- Updates remote N(R), splices acknowledged frames from the sentIFrames array, resets timer T1 as required.
Follow 2.4.4.6 when a REJ frame is received (retransmit all frames in the sentIFrames array, first responding with S_FRAME_RR|PF if REJ had P/F bit set.)
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Tuesday, March 12, 2013 16:44:38
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv14563
Modified Files:
kissAX25lib.js
Log Message:
Added some timer T1 / waiting for acknowledgement shit.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Tuesday, March 19, 2013 13:57:42
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv22067
Modified Files:
kissAX25lib.js
Log Message:
Committing because I'm about to rewrite AX25.Client ... the current one is somewhat motherfucked.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Tuesday, March 19, 2013 15:32:16
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv22267
Modified Files:
kissAX25lib.js
Log Message:
AX25.KISSTNC:
Buffer outgoing and incoming packets at the TNC level.
Made getPacket and sendPacket into private functions.
Added .receive() and .send(packet) methods which act upon incoming / outgoing packet queues rather than sending/receiving directly to/from the TNC.
Added .cycle() method to call getPacket until TNC has no more data waiting, sendPacket until the outgoing queue is empty.
Added boolean .dataWaiting and .dataPending properties (incoming and outgoing queues respectively.)
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Wednesday, March 20, 2013 11:47:02
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv24602
Modified Files:
kissAX25lib.js
Log Message:
AX25.Client is mostly rewritten, may be horribly broken.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Wednesday, March 20, 2013 12:34:51
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv24687
Modified Files:
kissAX25lib.js
Log Message:
AX25.Client:
Fixed so many bug like mircosoft. Seems to be worky so far.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Wednesday, March 20, 2013 17:28:19
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv25213
Modified Files:
kissAX25lib.js
Log Message:
"Done" except for the sending of FRMRs.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Wednesday, March 20, 2013 23:56:01
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv26109
Modified Files:
kissAX25lib.js
Log Message:
AX25.Client:
Separated retry counters for T1 and T3 (same retry limit.)
Terminate the link when a retry limit is reached.
Added a link error counter, increments when FRMR frames are received.
Reset the link when a FRMR is received, or disconnect if link error limit has been reached.
Rebuild the digipeater path whenever a packet is received from the remote side, inverting the sequence and unsetting the H (has-been-repeated) bit.
Added wrapAround(number, modulus) function; wraps a negative number back around the modulus (-1 % 8 == 7, etc.); isn't totally safe, could be built out a bit more.
Various other small changes.
To do:
Drop any incoming frames with a digipeater path where any repeater does not have the H bit set.
Send FRMRs as necessary.
Add connect() and disconnect() methods for locally-initiated links.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Thursday, March 21, 2013 00:20:59
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv26177
Modified Files:
kissAX25lib.js
Log Message:
AX25.Client:
Drop any frame with a digipeater path where any repeater has not yet repeated it. (Wait for the repeater to forward it to us.)
AX25.KISSTNC:
Use the KISS_ consts defined in ax25defs.js when sending commands to the TNC.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Thursday, March 21, 2013 00:53:16
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv26240
Modified Files:
kissAX25lib.js
Log Message:
AX25.Client:
Added 'callsign' and 'ssid' setters; throw a hissy fit if given invalid values that aren't valid values.
Added connect(callsign, ssid) and disconnect() methods.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Thursday, March 21, 2013 01:25:44
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv26312
Modified Files:
kissAX25lib.js
Log Message:
AX25.KISSTNC:
Added support for TNCs with multiple radio ports (I think.) It didn't break anything, anyway, though I have no real way to test it.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Thursday, March 21, 2013 11:05:12
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv30354
Modified Files:
kissAX25lib.js
Log Message:
Cleaned up the documentation.
Made a few other small changes that I can't remember.
-
From
echicken@centerofawareness.net to
cvs@centerofawareness.net on Friday, March 22, 2013 13:32:18
Update of /srv/sbbs/exec/load
In directory loveclown:/tmp/cvs-serv3573
Modified Files:
kissAX25lib.js
Log Message:
Brought stringToByteArray() and byteArrayToString() back in from the previous version.
Added AX25.Client.sendString and AX25.Client.receiveString methods.