kopia lustrzana https://github.com/SP8EBC/ParaTNC
33 wiersze
836 B
C
33 wiersze
836 B
C
/*
|
|
* kiss_did.c
|
|
*
|
|
* Implementation of all arrays defining data source for DIDs and function
|
|
* which generate raw binary data to be returned to a tester
|
|
*
|
|
* Created on: Jun 27, 2023
|
|
* Author: mateusz
|
|
*/
|
|
|
|
#include <etc/kiss_did_configuration.h>
|
|
#include <etc/kiss_configuation.h>
|
|
|
|
//!< Structure to define a DID which return numeric data
|
|
typedef struct kiss_did_numeric_definition_t {
|
|
uint16_t identifier;
|
|
void* first_data;
|
|
uint8_t first_data_size;
|
|
void* second_data;
|
|
uint8_t second_data_size;
|
|
void* third_data;
|
|
uint8_t third_data_size;
|
|
}kiss_did_numeric_definition_t;
|
|
|
|
//!< Definition of all DIDs with numeric data
|
|
const kiss_did_numeric_definition_t kiss_did_def[] = {
|
|
DIDS_NUMERIC(DID_NUMERIC_DEFINITION_EXPANDER)
|
|
};
|
|
|
|
void kiss_did_response(uint16_t identifier, uint8_t * output_buffer, uint16_t buffer_ln) {
|
|
|
|
}
|