summaryrefslogtreecommitdiff
path: root/cesar/test_general/integration/cp_beacon-dp/ucco_alone.py
diff options
context:
space:
mode:
authorsave2008-04-07 14:17:42 +0000
committersave2008-04-07 14:17:42 +0000
commit3d58a62727346b7ac1a6cb36fed1a06ed72228dd (patch)
treed7788c3cf9f76426aef0286d0202e2097f0fa0eb /cesar/test_general/integration/cp_beacon-dp/ucco_alone.py
parent095dca4b0a8d4924093bab424f71f588fdd84613 (diff)
Moved the complete svn base into the cesar directory.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1769 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/test_general/integration/cp_beacon-dp/ucco_alone.py')
-rw-r--r--cesar/test_general/integration/cp_beacon-dp/ucco_alone.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/cesar/test_general/integration/cp_beacon-dp/ucco_alone.py b/cesar/test_general/integration/cp_beacon-dp/ucco_alone.py
new file mode 100644
index 0000000000..dee643f754
--- /dev/null
+++ b/cesar/test_general/integration/cp_beacon-dp/ucco_alone.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+
+import sys
+sys.path.append('../../../maximus/python/obj');
+
+from interface import *
+from string import *
+from struct import *
+
+maximus = Maximus()
+maximus.init (sys.argv + ['-e', './obj/cp_beacon.elf'])
+
+cco = maximus.create_sta()
+#cco.debug()
+
+fc1 = maximus.create_fcall ("fc_cco_set_status")
+fc1.set_sta (cco)
+fc1.send()
+
+for i in range (1,3):
+ fc1 = maximus.create_fcall ("fc_beacon_send_discover_beacon")
+ fc1.set_sta (cco)
+ fc1.send()
+ maximus.wait (3000000)
+
+
+cco.remove()
+