#!/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()