main_ubi_sdk v 0.1.3
This is UBI4 documentation
base_device_info.h File Reference
#include "stdint.h"
#include "stdbool.h"
#include "Data/data_table.h"
#include "Data/device_info_structs.h"
#include "Data/base_parameter.h"
#include "Devices/enum_discription.h"
#include "Drivers/base_memory_driver.h"
#include "TransportLevel/a_protocol_struct.h"
Include dependency graph for base_device_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  init_device_information_struct
 Структура для инициализации базовой информации устройства More...
 
struct  base_device_information_struct
 Структура для хранения базовой информации устройства More...
 

Functions

void * getDefaultDataTables ()
 NOT IMPLEMENTED Функция для получения указателя на таблицу данных по умолчанию
 
void init_base_device_info (init_device_information_struct *init_device_info, base_device_information_struct *device_info)
 Функция для инициализации базовой информации устройства. Вызывается в начале работы устройства
 
void ParameterRequestHandler (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки команды запроса/записи параметров устройства
 
void InicializeConnection_v2 (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки команды запроса информации об устройстве
 
void DataManagerCommand_v2 (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки команды запроса информации об устройстве
 
void ResetToFactoryCommand_v2 (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки команды сброса устройства в заводские настройки
 
void GetSerialNumber_v2 (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки команды получения серийного номера (в данный момент фиксированная строка)
 
void DeviceInformationCommand_v2 (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки команды запроса информации об устройстве
 
void Data_Transfer_Settings (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 master only
 
void Sub_Device_Manager (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 master only
 
void FullResetToFactory (base_device_information_struct *deviceInfo)
 Функция обработки команды сброса памяти устройства в заводские настройки
 
void Reinit_DeviceInfo_Callback (base_device_information_struct *deviceInfo)
 master only
 
void base_device_CustomDataManagerCommand (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки custom data manager команды
 
void base_device_CustomDeviceInformationCommand (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 Функция для обработки custom device information команды
 
void Complex_Parameter_Transfer (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 master only
 
void Data_Transfer_Setting (base_device_information_struct *deviceInfo, ubi4_bus_protocol_obj_struct *protocol_str, protocol_receive_struct receive_str)
 master only