Method | Description | |
---|---|---|
ByteArrayToString ( byte ba ) : string | ||
ByteArrayToString ( byte bytes, EncodingType encodingType ) : string | ||
StrToByteArray ( string str ) : byte[] | ||
checksum_apply ( byte complete_packet, int packet_sz ) : void | ||
close ( ) : void | ||
extract_packet ( ) : char[] | ||
packet_protocol ( spp_COMPorts cport, spp_BaudRates brate ) : System | ||
send_byte_buffer ( ) : void | ||
snd_ascii_hex ( int packet_type, byte payload, int payload_sz ) : int | ||
snd_packet ( int packet_type, byte payload, int payload_sz ) : int | ||
total_packets ( ) : int | ||
write_string ( string buffer ) : void |
Method | Description | |
---|---|---|
checksum_eval ( ) : int | ||
clean_gen_buffer ( ) : void | ||
connect ( spp_COMPorts cport, spp_BaudRates brate ) : void | ||
packet_rx_callback_latch ( string data ) : void | ||
packet_store_char ( char c ) : void | ||
port_DataReceived ( object sender, SerialDataReceivedEventArgs e ) : void | ||
process_packet ( ) : void |
public static ByteArrayToString ( byte ba ) : string | ||
ba | byte | |
return | string |
public static ByteArrayToString ( byte bytes, EncodingType encodingType ) : string | ||
bytes | byte | |
encodingType | EncodingType | |
return | string |
public static StrToByteArray ( string str ) : byte[] | ||
str | string | |
return | byte[] |
public checksum_apply ( byte complete_packet, int packet_sz ) : void | ||
complete_packet | byte | |
packet_sz | int | |
return | void |
public packet_protocol ( spp_COMPorts cport, spp_BaudRates brate ) : System | ||
cport | spp_COMPorts | |
brate | spp_BaudRates | |
return | System |
public snd_ascii_hex ( int packet_type, byte payload, int payload_sz ) : int | ||
packet_type | int | |
payload | byte | |
payload_sz | int | |
return | int |
public snd_packet ( int packet_type, byte payload, int payload_sz ) : int | ||
packet_type | int | |
payload | byte | |
payload_sz | int | |
return | int |