Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devices/device.pyc
blob: df471e1620dfd8127a9e46f19bdad1ef0a6fee02 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 09 aa f7 4c 63 00 00 00 00 00 00 00 00 03 00 00 00 40 00 00 00 73 29 00 00 00 64 00 .......Lc............@...s)...d.
0020 00 64 01 00 6c 00 00 5a 00 00 64 02 00 65 00 00 6a 01 00 66 01 00 64 03 00 84 00 00 83 00 00 59 .d..l..Z..d..e..j..f..d........Y
0040 5a 02 00 64 01 00 53 28 04 00 00 00 69 ff ff ff ff 4e 74 0a 00 00 00 52 46 49 44 44 65 76 69 63 Z..d..S(....i....Nt....RFIDDevic
0060 65 63 00 00 00 00 00 00 00 00 04 00 00 00 42 00 00 00 73 8b 00 00 00 65 00 00 5a 01 00 64 00 00 ec............B...s....e..Z..d..
0080 5a 02 00 69 02 00 65 03 00 6a 04 00 65 03 00 6a 05 00 65 03 00 6a 06 00 66 01 00 66 03 00 64 01 Z..i..e..j..e..j..e..j..f..f..d.
00a0 00 36 65 03 00 6a 04 00 65 03 00 6a 05 00 65 03 00 6a 06 00 66 01 00 66 03 00 64 02 00 36 5a 07 .6e..j..e..j..e..j..f..f..d..6Z.
00c0 00 64 03 00 84 00 00 5a 08 00 64 04 00 84 00 00 5a 09 00 64 05 00 84 00 00 5a 0a 00 64 06 00 84 .d.....Z..d.....Z..d.....Z..d...
00e0 00 00 5a 0b 00 64 07 00 84 00 00 5a 0c 00 64 08 00 84 00 00 5a 0d 00 64 09 00 84 00 00 5a 0e 00 ..Z..d.....Z..d.....Z..d.....Z..
0100 52 53 28 0a 00 00 00 73 7a 00 00 00 0a 20 20 20 20 41 6e 63 65 73 74 6f 72 20 63 6c 61 73 73 20 RS(....sz........Ancestor.class.
0120 66 6f 72 20 65 76 65 72 79 20 73 75 70 70 6f 72 74 65 64 20 64 65 76 69 63 65 2e 0a 20 20 20 20 for.every.supported.device......
0140 54 68 65 20 6d 61 69 6e 20 63 6c 61 73 73 20 66 6f 72 20 74 68 65 20 64 65 76 69 63 65 20 64 72 The.main.class.for.the.device.dr
0160 69 76 65 72 20 6d 75 73 74 20 62 65 20 63 61 6c 6c 65 64 20 22 52 46 49 44 52 65 61 64 65 72 22 iver.must.be.called."RFIDReader"
0180 2e 0a 20 20 20 20 73 08 00 00 00 74 61 67 2d 72 65 61 64 74 0c 00 00 00 64 69 73 63 6f 6e 6e 65 ......s....tag-readt....disconne
01a0 63 74 65 64 63 01 00 00 00 01 00 00 00 01 00 00 00 43 00 00 00 73 0e 00 00 00 7c 00 00 6a 00 00 ctedc............C...s....|..j..
01c0 83 00 00 01 64 01 00 53 28 02 00 00 00 73 40 00 00 00 0a 20 20 20 20 20 20 20 20 49 6e 69 74 69 ....d..S(....s@............Initi
01e0 61 6c 69 7a 65 72 2e 20 53 75 62 63 6c 61 73 73 65 73 20 6d 75 73 74 20 63 61 6c 6c 20 74 68 69 alizer..Subclasses.must.call.thi
0200 73 20 6d 65 74 68 6f 64 2e 0a 20 20 20 20 20 20 20 20 4e 28 01 00 00 00 74 10 00 00 00 5f 5f 67 s.method..........N(....t....__g
0220 6f 62 6a 65 63 74 5f 69 6e 69 74 5f 5f 28 01 00 00 00 74 04 00 00 00 73 65 6c 66 28 00 00 00 00 object_init__(....t....self(....
0240 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 6f 70 2f 41 (....sD.../home/walter/Desktop/A
0260 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 6c 65 41 72 74 2e 61 63 74 69 76 69 74 79 2f 64 65 76 ctivities/TurtleArt.activity/dev
0280 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 74 08 00 00 00 5f 5f 69 6e 69 74 5f 5f 12 00 00 00 73 ices/device.pyt....__init__....s
02a0 02 00 00 00 00 04 63 01 00 00 00 01 00 00 00 01 00 00 00 43 00 00 00 73 0a 00 00 00 74 00 00 82 ......c............C...s....t...
02c0 01 00 64 01 00 53 28 02 00 00 00 73 75 00 00 00 0a 20 20 20 20 20 20 20 20 54 68 69 73 20 6d 65 ..d..S(....su............This.me
02e0 74 68 6f 64 20 6d 75 73 74 20 64 65 74 65 63 74 20 69 66 20 74 68 65 20 64 65 76 69 63 65 20 69 thod.must.detect.if.the.device.i
0300 73 20 70 72 65 73 65 6e 74 2c 20 72 65 74 75 72 6e 69 6e 67 20 54 72 75 65 20 69 66 20 73 6f 2c s.present,.returning.True.if.so,
0320 0a 20 20 20 20 20 20 20 20 6f 72 20 46 61 6c 73 65 20 6f 74 68 65 72 77 69 73 65 2e 0a 20 20 20 .........or.False.otherwise.....
0340 20 20 20 20 20 4e 28 01 00 00 00 74 13 00 00 00 4e 6f 74 49 6d 70 6c 65 6d 65 6e 74 65 64 45 72 .....N(....t....NotImplementedEr
0360 72 6f 72 28 01 00 00 00 52 03 00 00 00 28 00 00 00 00 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d ror(....R....(....(....sD.../hom
0380 65 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 6f 70 2f 41 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 e/walter/Desktop/Activities/Turt
03a0 6c 65 41 72 74 2e 61 63 74 69 76 69 74 79 2f 64 65 76 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 leArt.activity/devices/device.py
03c0 74 0b 00 00 00 67 65 74 5f 70 72 65 73 65 6e 74 18 00 00 00 73 02 00 00 00 00 05 63 01 00 00 00 t....get_present....s......c....
03e0 01 00 00 00 01 00 00 00 43 00 00 00 73 0a 00 00 00 74 00 00 82 01 00 64 01 00 53 28 02 00 00 00 ........C...s....t.....d..S(....
0400 73 3b 00 00 00 0a 20 20 20 20 20 20 20 20 52 65 74 75 72 6e 73 20 61 20 64 65 73 63 72 69 70 74 s;............Returns.a.descript
0420 69 76 65 20 74 65 78 74 20 6f 66 20 74 68 65 20 64 65 76 69 63 65 2e 0a 20 20 20 20 20 20 20 20 ive.text.of.the.device..........
0440 4e 28 01 00 00 00 52 05 00 00 00 28 01 00 00 00 52 03 00 00 00 28 00 00 00 00 28 00 00 00 00 73 N(....R....(....R....(....(....s
0460 44 00 00 00 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 6f 70 2f 41 63 74 69 76 69 74 D.../home/walter/Desktop/Activit
0480 69 65 73 2f 54 75 72 74 6c 65 41 72 74 2e 61 63 74 69 76 69 74 79 2f 64 65 76 69 63 65 73 2f 64 ies/TurtleArt.activity/devices/d
04a0 65 76 69 63 65 2e 70 79 74 0b 00 00 00 67 65 74 5f 76 65 72 73 69 6f 6e 1f 00 00 00 73 02 00 00 evice.pyt....get_version....s...
04c0 00 00 04 63 01 00 00 00 01 00 00 00 01 00 00 00 43 00 00 00 73 0a 00 00 00 74 00 00 82 01 00 64 ...c............C...s....t.....d
04e0 01 00 53 28 02 00 00 00 73 63 00 00 00 0a 20 20 20 20 20 20 20 20 43 6f 6e 6e 65 63 74 73 20 74 ..S(....sc............Connects.t
0500 6f 20 74 68 65 20 64 65 76 69 63 65 2e 0a 20 20 20 20 20 20 20 20 4d 75 73 74 20 72 65 74 75 72 o.the.device..........Must.retur
0520 6e 20 54 72 75 65 20 69 66 20 73 75 63 63 65 73 73 66 75 6c 6c 2c 20 46 61 6c 73 65 20 6f 74 68 n.True.if.successfull,.False.oth
0540 65 72 77 69 73 65 2e 0a 20 20 20 20 20 20 20 20 4e 28 01 00 00 00 52 05 00 00 00 28 01 00 00 00 erwise..........N(....R....(....
0560 52 03 00 00 00 28 00 00 00 00 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 R....(....(....sD.../home/walter
0580 2f 44 65 73 6b 74 6f 70 2f 41 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 6c 65 41 72 74 2e 61 63 /Desktop/Activities/TurtleArt.ac
05a0 74 69 76 69 74 79 2f 64 65 76 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 74 0a 00 00 00 64 6f 5f tivity/devices/device.pyt....do_
05c0 63 6f 6e 6e 65 63 74 25 00 00 00 73 02 00 00 00 00 05 63 01 00 00 00 01 00 00 00 01 00 00 00 43 connect%...s......c............C
05e0 00 00 00 73 0a 00 00 00 74 00 00 82 01 00 64 01 00 53 28 02 00 00 00 73 2e 00 00 00 0a 20 20 20 ...s....t.....d..S(....s........
0600 20 20 20 20 20 44 69 73 63 6f 6e 6e 65 63 74 73 20 66 72 6f 6d 20 74 68 65 20 64 65 76 69 63 65 .....Disconnects.from.the.device
0620 2e 0a 20 20 20 20 20 20 20 20 4e 28 01 00 00 00 52 05 00 00 00 28 01 00 00 00 52 03 00 00 00 28 ..........N(....R....(....R....(
0640 00 00 00 00 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 ....(....sD.../home/walter/Deskt
0660 6f 70 2f 41 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 6c 65 41 72 74 2e 61 63 74 69 76 69 74 79 op/Activities/TurtleArt.activity
0680 2f 64 65 76 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 74 0d 00 00 00 64 6f 5f 64 69 73 63 6f 6e /devices/device.pyt....do_discon
06a0 6e 65 63 74 2c 00 00 00 73 02 00 00 00 00 04 63 01 00 00 00 01 00 00 00 01 00 00 00 43 00 00 00 nect,...s......c............C...
06c0 73 0a 00 00 00 74 00 00 82 01 00 64 01 00 53 28 02 00 00 00 73 4d 00 00 00 0a 20 20 20 20 20 20 s....t.....d..S(....sM..........
06e0 20 20 52 65 74 75 72 6e 73 20 74 68 65 20 36 34 20 62 69 74 20 64 61 74 61 20 69 6e 20 68 65 78 ..Returns.the.64.bit.data.in.hex
0700 20 66 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 6c 61 73 74 20 72 65 61 64 20 74 61 67 2e 0a 20 20 .format.of.the.last.read.tag....
0720 20 20 20 20 20 20 4e 28 01 00 00 00 52 05 00 00 00 28 01 00 00 00 52 03 00 00 00 28 00 00 00 00 ......N(....R....(....R....(....
0740 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 6f 70 2f 41 (....sD.../home/walter/Desktop/A
0760 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 6c 65 41 72 74 2e 61 63 74 69 76 69 74 79 2f 64 65 76 ctivities/TurtleArt.activity/dev
0780 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 74 08 00 00 00 72 65 61 64 5f 74 61 67 32 00 00 00 73 ices/device.pyt....read_tag2...s
07a0 02 00 00 00 00 04 63 02 00 00 00 02 00 00 00 01 00 00 00 43 00 00 00 73 04 00 00 00 64 01 00 53 ......c............C...s....d..S
07c0 28 02 00 00 00 73 dd 00 00 00 0a 20 20 20 20 20 20 20 20 43 6f 75 6c 64 20 62 65 20 69 6d 70 6c (....s.............Could.be.impl
07e0 65 6d 65 6e 74 65 64 20 69 66 20 74 68 65 20 64 65 76 69 63 65 20 69 73 20 63 61 70 61 62 6c 65 emented.if.the.device.is.capable
0800 20 6f 66 20 77 72 69 74 69 6e 67 20 74 61 67 73 2e 0a 20 20 20 20 20 20 20 20 52 65 63 65 69 76 .of.writing.tags..........Receiv
0820 65 73 20 74 68 65 20 68 65 78 20 76 61 6c 75 65 20 28 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 49 es.the.hex.value.(according.to.I
0840 53 4f 20 31 31 37 38 34 29 20 74 6f 20 62 65 20 77 72 69 74 74 65 6e 2e 0a 20 20 20 20 20 20 20 SO.11784).to.be.written.........
0860 20 52 65 74 75 72 6e 73 20 54 72 75 65 20 69 66 20 73 75 63 63 65 73 73 66 75 6c 6c 20 6f 72 20 .Returns.True.if.successfull.or.
0880 46 61 6c 73 65 20 69 66 20 73 6f 6d 65 74 68 69 6e 67 20 77 65 6e 74 20 77 72 6f 6e 67 2e 0a 20 False.if.something.went.wrong...
08a0 20 20 20 20 20 20 20 4e 28 00 00 00 00 28 02 00 00 00 52 03 00 00 00 74 07 00 00 00 68 65 78 5f .......N(....(....R....t....hex_
08c0 76 61 6c 28 00 00 00 00 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 2f 44 val(....(....sD.../home/walter/D
08e0 65 73 6b 74 6f 70 2f 41 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 6c 65 41 72 74 2e 61 63 74 69 esktop/Activities/TurtleArt.acti
0900 76 69 74 79 2f 64 65 76 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 74 09 00 00 00 77 72 69 74 65 vity/devices/device.pyt....write
0920 5f 74 61 67 38 00 00 00 73 00 00 00 00 28 0f 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d 65 5f 5f 74 _tag8...s....(....t....__name__t
0940 0a 00 00 00 5f 5f 6d 6f 64 75 6c 65 5f 5f 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 74 07 00 00 00 67 ....__module__t....__doc__t....g
0960 6f 62 6a 65 63 74 74 0f 00 00 00 53 49 47 4e 41 4c 5f 52 55 4e 5f 4c 41 53 54 74 09 00 00 00 54 objectt....SIGNAL_RUN_LASTt....T
0980 59 50 45 5f 4e 4f 4e 45 74 0b 00 00 00 54 59 50 45 5f 53 54 52 49 4e 47 74 0c 00 00 00 5f 5f 67 YPE_NONEt....TYPE_STRINGt....__g
09a0 73 69 67 6e 61 6c 73 5f 5f 52 04 00 00 00 52 06 00 00 00 52 07 00 00 00 52 08 00 00 00 52 09 00 signals__R....R....R....R....R..
09c0 00 00 52 0a 00 00 00 52 0c 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 44 00 00 00 ..R....R....(....(....(....sD...
09e0 2f 68 6f 6d 65 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 6f 70 2f 41 63 74 69 76 69 74 69 65 73 2f /home/walter/Desktop/Activities/
0a00 54 75 72 74 6c 65 41 72 74 2e 61 63 74 69 76 69 74 79 2f 64 65 76 69 63 65 73 2f 64 65 76 69 63 TurtleArt.activity/devices/devic
0a20 65 2e 70 79 52 00 00 00 00 03 00 00 00 73 1a 00 00 00 06 04 06 05 03 01 0c 01 10 01 0c 01 13 02 e.pyR........s..................
0a40 09 06 09 07 09 06 09 07 09 06 09 06 28 03 00 00 00 52 10 00 00 00 74 07 00 00 00 47 4f 62 6a 65 ............(....R....t....GObje
0a60 63 74 52 00 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 44 00 00 00 2f 68 6f 6d 65 ctR....(....(....(....sD.../home
0a80 2f 77 61 6c 74 65 72 2f 44 65 73 6b 74 6f 70 2f 41 63 74 69 76 69 74 69 65 73 2f 54 75 72 74 6c /walter/Desktop/Activities/Turtl
0aa0 65 41 72 74 2e 61 63 74 69 76 69 74 79 2f 64 65 76 69 63 65 73 2f 64 65 76 69 63 65 2e 70 79 74 eArt.activity/devices/device.pyt
0ac0 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 01 00 00 00 73 02 00 00 00 0c 02 ....<module>....s......