projects
/
SaveMySugar
/
python3-savemysugar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f26f10
)
CallDistanceTransceiver.py: add a transmission test in test_send_receive()
author
Antonio Ospite <ao2@ao2.it>
Sat, 2 Jan 2016 15:25:02 +0000
(16:25 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 4 Jan 2016 09:48:15 +0000
(10:48 +0100)
src/savemysugar/CallDistanceTransceiver.py
patch
|
blob
|
history
diff --git
a/src/savemysugar/CallDistanceTransceiver.py
b/src/savemysugar/CallDistanceTransceiver.py
index
6361afa
..
3cc4a12
100755
(executable)
--- a/
src/savemysugar/CallDistanceTransceiver.py
+++ b/
src/savemysugar/CallDistanceTransceiver.py
@@
-457,6
+457,8
@@
def test_send_receive():
modem.transceiver = xcv
modem.transceiver = xcv
+ xcv.transmit("CODEX PARIS", "0")
+
while True:
xcv.receive_loop()
modem.ring_count = 0
while True:
xcv.receive_loop()
modem.ring_count = 0