kopia lustrzana https://github.com/ge0rg/aprsdroid
BT: fix tx debug output
rodzic
83b02f7b7a
commit
e794871eeb
|
@ -220,7 +220,7 @@ class BluetoothTnc(service : AprsService, prefs : PrefsWrapper) extends AprsIsUp
|
||||||
|
|
||||||
class KissWriter(os : OutputStream) {
|
class KissWriter(os : OutputStream) {
|
||||||
def writePacket(p : Array[Byte]) {
|
def writePacket(p : Array[Byte]) {
|
||||||
Log.d(TAG, "KissWriter.writePacket: %s".format(p))
|
Log.d(TAG, "KissWriter.writePacket: %s".format(new String(p)))
|
||||||
os.write(Kiss.FEND)
|
os.write(Kiss.FEND)
|
||||||
os.write(Kiss.CMD_DATA)
|
os.write(Kiss.CMD_DATA)
|
||||||
os.write(p)
|
os.write(p)
|
||||||
|
|
Ładowanie…
Reference in New Issue