메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string |
public static ByteArrayToString ( byte bytes, EncodingType encodingType ) : string | ||
bytes | byte | |
encodingType | EncodingType | |
리턴 | string |
public static StrToByteArray ( string str ) : byte[] | ||
str | string | |
리턴 | byte[] |
public checksum_apply ( byte complete_packet, int packet_sz ) : void | ||
complete_packet | byte | |
packet_sz | int | |
리턴 | void |
public packet_protocol ( spp_COMPorts cport, spp_BaudRates brate ) : System | ||
cport | spp_COMPorts | |
brate | spp_BaudRates | |
리턴 | System |
public snd_ascii_hex ( int packet_type, byte payload, int payload_sz ) : int | ||
packet_type | int | |
payload | byte | |
payload_sz | int | |
리턴 | int |
public snd_packet ( int packet_type, byte payload, int payload_sz ) : int | ||
packet_type | int | |
payload | byte | |
payload_sz | int | |
리턴 | int |