kopia lustrzana https://github.com/SP8EBC/ParaTNC
daily commit did
rodzic
431d5a8d09
commit
280a12e9f1
|
@ -237,7 +237,7 @@ int32_t kiss_callback_read_did(uint8_t* input_frame_from_host, uint16_t input_le
|
|||
// if response is correct fill the buffer with the rest of stuff
|
||||
response_buffer[0] = FEND;
|
||||
response_buffer[1] = NONSTANDARD;
|
||||
response_buffer[2] = PROGRAM_STARTUP_LN; // message lenght
|
||||
response_buffer[2] = response_size + 5; // message lenght
|
||||
response_buffer[3] = KISS_READ_DID_RESP;
|
||||
|
||||
response_buffer[response_size + 4] = FEND;
|
||||
|
|
|
@ -180,6 +180,11 @@ int32_t kiss_parse_received(uint8_t* input_frame_from_host, uint16_t input_len,
|
|||
break;
|
||||
}
|
||||
|
||||
case KISS_READ_DID: {
|
||||
output = kiss_callback_read_did(input_frame_from_host, input_len, response_buffer, resp_buf_ln);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
default: {
|
||||
// unknown service
|
||||
|
|
|
@ -40,7 +40,8 @@ const static kiss_did_numeric_definition_t kiss_did_def[] = {
|
|||
};
|
||||
|
||||
//!< Mapping between a result of sizeof operator and a value of sizebyte
|
||||
const static uint8_t kiss_did_sizeof_to_sizebyte_mapping[4] = {
|
||||
const static uint8_t kiss_did_sizeof_to_sizebyte_mapping[5] = {
|
||||
0,// nothing
|
||||
1, // int8_t
|
||||
2, // int16_t
|
||||
0, // nothing
|
||||
|
|
Ładowanie…
Reference in New Issue