background image

 

July 2021 

Sender Address: 

 

The sender address field defines the bus address of the transmitting device. 

 

The sender shall populate this field with its own unique bus address.  

 

The receiver will use this address to direct its responses. 

 

The address is two ASCII characters representing a hexadecimal value. 

 

Address Range: 0x00 to 0xFE (0 to 254), 0xFF is a broadcast address. 

Sender Id: 

 

This field identifies the process on the sending device that initiated the message. 

Receiver Address:  

 

The receiver address field defines the bus address of the receiving device.  

 

The transmitter shall populate this field with the bus address of the intended receiver. 

 

The address is two ASCII characters representing a hexadecimal value. 

 

Address Range: 0x00 to 0xFF (0 to 255), 0xFF is a broadcast address. 

Receiver Id: 

 

This field identifies the process on the receiving device that should process this message. 

Flags: 

 

Part of the protocol’s error detection features. 

 

An ACK request flag is set by the transmitter to indicate to the receiver if an ACK response is expected. 

 

A receiver can also use this field to specify a NAK when a bad packet is received. 

 

Please see the Packet diagram for the possible values for the flags field. 

Type: 

 

This field identifies the type of traffic this message belongs to. The two primary types are client traffic 
and flow control traffic. This allows the transport element of the protocol to immediately identify traffic 
that is outside of the normal client Sender Addr/Id to Receiver Addr/Id traffic. 

Sequence Number: 

 

The Sequence Number, placed in the upper half of the length field, is used in conjunction with the ACK 

Flag to inform the transmitter which packet is being ACK-ed. 

 

Each packet sent via the protocol will have a ‘unique’ Sequence Number.  

 

Unique value in the realm of 0x0-0xFF in ASCII representation. 

 

The Packet ID is a two ASCII character representing a hexadecimal number. 

 

The Packet ID Range is `0x0` to `0xFF` (0-255)  

 
 

Length: 

 

This field specifies the length of the entire packet ( Payload) 

Содержание ReCO2ver

Страница 1: ...Rapid Recovery CO2 Incubator Baker Packet Communications Protocol User s Guide This Manual applies to Models REC 602 REC 602 Plus...

Страница 2: ...der Packaging client payload 10 Sender Packaging client payload into a packet 10 Messages 11 State Status Events Error Bookmark not defined Normal Operation 11 State Status Events Error Bookmark not d...

Страница 3: ...July 2021 3 Network Topology 33 Link Type 33 Point to Point P2P 33 Point to Multipoint 34 Multipoint to Point 34 Duplex 34 Packet Protocol 34...

Страница 4: ...he payload portion of the packet contains information specific to the Incubator The packets are generated in three phases Startup Messages Provides power on reset notifications Any detected system fai...

Страница 5: ...ol Version This field contains a major and minor version number to be used to identify the version of the Baker Packet Protocol in use This protocol shall follow the semantic versioning system of the...

Страница 6: ...rotocol s error detection features An ACK request flag is set by the transmitter to indicate to the receiver if an ACK response is expected A receiver can also use this field to specify a NAK when a b...

Страница 7: ...the payload It will always be L for incubator Logging Payload Message Type The message type defines what the contents of the body will contain and how the receiver should parse its contents The messag...

Страница 8: ...July 2021 8 Figure 2 Data Packet Figure 3 Event Packet...

Страница 9: ...ess resides in the packet header Decode the recipient address If the recipient address is not ourselves reset to step 1 6 Using the protocol version determine where the flags field resides in the pack...

Страница 10: ...h Alarm set point IV Low Alarm set point 5 The third space delimited field contains the CO2 datums These are the following each separated by a comma I Current CO2 percentage II Set Point desired CO2 p...

Страница 11: ...ence number value and increment the sequence number value 14 Combine the length of the client data payload header length packet header length and store into the packet header length field 15 Fill the...

Страница 12: ...ent shall be generated when the Transient Recovery state is changed to ACTIVE from another state RECOVERY OFF n a The Transient Recovery state changes from ACTIVE to another state RECOVERY ERR The Tra...

Страница 13: ...ove the HI alarm set point CO2 LOW ALARM n a This indicates that the CO2 has gone below the LO alarm set point CO2 1 OK LOW The status of pressure from CO2 Tank 1 CO2 2 OK LOW The status of pressure f...

Страница 14: ...at the H2O2 Decontamination has started H2O2 ABORT This event shall be generated when the UI s Decon Abort 36 14 screen s OK button is pressed This denotes that the user has aborted the H2O2 Decontami...

Страница 15: ...Open during the H2O2 states of WARM_UP WAIT SOAK DESTRUCT_1 and DESTRUCT_2 During the H2O2 State of Warm Up Wait and the general H2O2 timer expires Restart Cause while in the main system state of H2O...

Страница 16: ...ialization Error This event shall be generated when there is an error with the internal RTC RTC EXTRN 1 2 4 8 16 Low Battery Read Error Write Error Dad Data Initialization Error This event shall be ge...

Страница 17: ...Prep screen 36 13 This indicates the firmware update has started UPDATE STATE 0 All firmware related have been successfully copied from the USB drive to the internal SD drive 1 The system has or will...

Страница 18: ...ser has enabled the UV Decontamination UV DECON OFF n a The user has disabled the UV Decontamination TEMP SET value The new set point value The Air Temperature Set Point value has changed HI TEMP SET...

Страница 19: ...as changed LO CO2 SET value The new LO alarm set point The CO2 Alarm Low set point value has changed CO2 OFFSET value The new OFFSET value The CO2 Offset value has changed CO2 SLOPE value The new SLOP...

Страница 20: ...TC LOG DATE date Append the new date This event shall be generated when the Data Logging starting export date is changed CONFIG UPD bits 0 7 8 9 10 11 12 31 The argument is a 8 digit hexadecimal value...

Страница 21: ...invoked whether the GUI is invoked or not If the GUI is not present then the ouput is to the command line Fletcher32_16 Provides the Fletcher32_16 algorithm Jon Busenkell Version 1 02 01 2019 import...

Страница 22: ...None self rawFile None self dataFilename None self dataFile None self eventFilename None self eventFile None if self gui None self start self gui mainloop def run self while True try print self portN...

Страница 23: ...self senderAddr int header self senderAddrOffset self senderAddrOffset 2 16 self senderID int header self senderIDOffset self senderIDOffset 1 16 self str self str Sender Addr Id hex self senderAddr h...

Страница 24: ...tes packetBody 3 self bodyStr dataBytes decode utf 8 self timedate self bodyStr split 2 self msg self timedate 2 if in self msg junk self msg split 1 self msg junk 0 self code junk 1 self typeStr even...

Страница 25: ...int packet f Fletcher32_16 f update packet self calculatedChecksum f digest if self parsedChecksum self calculatedChecksum print self calculatedChecksum hex self calculatedChecksum print c p hex self...

Страница 26: ...ter import messagebox message is hidden during the above import it must be done separately import tkinter ttk as ttk import asyncio for Semaphore from BPPReader import BPPReader class BPPReader_GUI Tk...

Страница 27: ...ame grid_columnconfigure 8 minsize 80 O2 self statusFrame grid_columnconfigure 9 minsize 50 self statusFrame grid_columnconfigure 10 minsize 50 self statusFrame grid_columnconfigure 11 minsize 50 self...

Страница 28: ...grid_rowconfigure 1 minsize 24 l2 grid_rowconfigure 2 minsize 24 l2 grid_rowconfigure 3 minsize 24 l ttk Label l2 text Cur cur l grid row 0 column 0 sticky e padx 2 self CO2 StringVar self CO2Val ttk...

Страница 29: ...O2 StringVar self O2Val ttk Label l2 textvariable self O2 style VAL TLabel self O2Val grid row 0 column 1 sticky w l ttk Label l2 text Set Set l grid row 1 column 0 sticky e padx 2 self O2Set StringVa...

Страница 30: ...mmand self tv yview self title BPPReader title BPPReader ver self protocol WM_DELETE_WINDOW self handleClose self tv tag_configure alarmRow background yellow self tv tag_configure faultRow background...

Страница 31: ...r tag resetRow elif HIB in rdr bodyStr self mode set Hibernate rdr tag modeRow elif RUN in rdr bodyStr self mode set RUN rdr tag modeRow elif H2O2 in rdr bodyStr self mode set H2O2 rdr tag modeRow eli...

Страница 32: ...July 2021 32 Glossary...

Страница 33: ...sent as the electrical circuit or airwave frequency ies used to connect the entities of the communications system The physical medium itself may packetize data for transmission purposes but that does...

Страница 34: ...the Slave Client Peripheral responds if necessary Packet Protocol A packet protocol is a communications method in which data is packaged into packets which are defined as having a header and a payload...

Отзывы: