STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_ota_flash.py File Reference

Go to the source code of this file.

Classes

class  test_ota_flash.FakeBoard
class  test_ota_flash.Results

Namespaces

namespace  test_ota_flash

Functions

str test_ota_flash.find_ota_service ()
int test_ota_flash.pick_free_port ()
bool test_ota_flash.wait_until_listening (int port, float deadline)
str test_ota_flash.send_command (int port, str line)
tuple[str, bytes] test_ota_flash.make_firmware (str tmpdir, str name, int size)
None test_ota_flash.run_flash (int port, str ip, str path, str behavior, Results r, str label, bool expect_ok, bytes|None verify_bytes)
int test_ota_flash.main ()

Variables

int test_ota_flash.OTA_BOARD_PORT = 3232
str test_ota_flash.BOARD_IP = "127.0.0.1"
float test_ota_flash.CONNECT_WAIT_S = 5.0
float test_ota_flash.REPLY_WAIT_S = 20.0