def publish(beacon, string): """Start broadcasting beacon to peers at the specified interval""" return C.zbeacon_publish(beacon, string, len(string))