Skip to content
Snippets Groups Projects
Commit 72aead34 authored by echicken's avatar echicken
Browse files

More gooder.

parent 25a71212
No related branches found
No related tags found
No related merge requests found
...@@ -535,6 +535,7 @@ function ax25Client(destination, destinationSSID, source, sourceSSID, k) { ...@@ -535,6 +535,7 @@ function ax25Client(destination, destinationSSID, source, sourceSSID, k) {
} else { } else {
a.assemble(this.callsign, this.ssid, this.kissTNC.callsign, this.kissTNC.ssid, false, U_FRAME_SABM); a.assemble(this.callsign, this.ssid, this.kissTNC.callsign, this.kissTNC.ssid, false, U_FRAME_SABM);
this.init(); this.init();
this.expectUA = true;
} }
} else if((p.control & U_FRAME_FRMR) == U_FRAME_FRMR && this.connected) { } else if((p.control & U_FRAME_FRMR) == U_FRAME_FRMR && this.connected) {
a.assemble(this.callsign, this.ssid, this.kissTNC.callsign, this.kissTNC.ssid, false, U_FRAME_SABM); a.assemble(this.callsign, this.ssid, this.kissTNC.callsign, this.kissTNC.ssid, false, U_FRAME_SABM);
...@@ -660,6 +661,7 @@ function ax25Client(destination, destinationSSID, source, sourceSSID, k) { ...@@ -660,6 +661,7 @@ function ax25Client(destination, destinationSSID, source, sourceSSID, k) {
var i = 0; var i = 0;
while(this.connected && i < 5){ while(this.connected && i < 5){
this.sendPacket(a); this.sendPacket(a);
this.expectUA = true;
mswait(3000); mswait(3000);
this.receive(); this.receive();
i++; i++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment