From 3d58a62727346b7ac1a6cb36fed1a06ed72228dd Mon Sep 17 00:00:00 2001 From: save Date: Mon, 7 Apr 2008 14:17:42 +0000 Subject: Moved the complete svn base into the cesar directory. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1769 017c9cb6-072f-447c-8318-d5b54f68fe89 --- .../integration/cp_beacon-dp/ucco_alone.py | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cesar/test_general/integration/cp_beacon-dp/ucco_alone.py (limited to 'cesar/test_general/integration/cp_beacon-dp/ucco_alone.py') 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() + -- cgit v1.2.3