c1219.data

Classes

class c1219.data.C1219ProcedureInit(endianess, table_proc_nbr, std_vs_mfg, selector, seqnum, params='')

A C1219 Procedure Request, this data is written to table 7 in order to start a procedure.

Parameters:
  • endianess (str) – The endianess to use when packing values (‘>’ or ‘<’)
  • table_proc_nbr (int) – The numeric procedure identifier (0 <= table_proc_nbr <= 2047).
  • std_vs_mfg (bool) – Whether the procedure is manufacturer specified or not. True is manufacturer specified.
  • selector (int) – Controls how data is returned (0 <= selector <= 15). 0: Post response in PROC_RESPONSE_TBL (#8) on completion. 1: Post response in PROC_RESPONSE_TBL (#8) on exception. 2: Do not post response in PROC_RESPONSE_TBL (#8). 3: Post response in PROC_RESPONSE_TBL (#8) immediately and another response in PROC_RESPONSE_TBL (#8) on completion. 4-15: Reserved.
  • seqnum (int) – The identifier for this procedure to be used for coordination (0x00 <= seqnum <= 0xff).
  • params (str) – The parameters to pass to the procedure initiation request.
__init__(endianess, table_proc_nbr, std_vs_mfg, selector, seqnum, params='')
build()
static parse(endianess, data)