main_ubi_sdk v 0.1.3
This is UBI4 documentation
Base_device_info_group

Описание базовой информации устройства More...

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
 

Detailed Description

Описание базовой информации устройства

Function Documentation

◆ base_device_CustomDataManagerCommand()

void base_device_CustomDataManagerCommand ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки custom data manager команды

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ base_device_CustomDeviceInformationCommand()

void base_device_CustomDeviceInformationCommand ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки custom device information команды

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Complex_Parameter_Transfer()

void Complex_Parameter_Transfer ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

master only

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Data_Transfer_Setting()

void Data_Transfer_Setting ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

master only

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Data_Transfer_Settings()

void Data_Transfer_Settings ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

master only

◆ DataManagerCommand_v2()

void DataManagerCommand_v2 ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки команды запроса информации об устройстве

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeviceInformationCommand_v2()

void DeviceInformationCommand_v2 ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки команды запроса информации об устройстве

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ FullResetToFactory()

void FullResetToFactory ( base_device_information_struct * deviceInfo)

Функция обработки команды сброса памяти устройства в заводские настройки

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDefaultDataTables()

void * getDefaultDataTables ( )

NOT IMPLEMENTED Функция для получения указателя на таблицу данных по умолчанию

Returns
void*

◆ GetSerialNumber_v2()

void GetSerialNumber_v2 ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки команды получения серийного номера (в данный момент фиксированная строка)

Parameters
data_tableУказатель на структуру таблицы данных
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the caller graph for this function:

◆ InicializeConnection_v2()

void InicializeConnection_v2 ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки команды запроса информации об устройстве

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_base_device_info()

void init_base_device_info ( init_device_information_struct * init_device_info,
base_device_information_struct * device_info )

Функция для инициализации базовой информации устройства. Вызывается в начале работы устройства

Parameters
init_device_info
device_info
Here is the call graph for this function:

◆ ParameterRequestHandler()

void ParameterRequestHandler ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки команды запроса/записи параметров устройства

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reinit_DeviceInfo_Callback()

void Reinit_DeviceInfo_Callback ( base_device_information_struct * deviceInfo)

master only

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResetToFactoryCommand_v2()

void ResetToFactoryCommand_v2 ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

Функция для обработки команды сброса устройства в заводские настройки

Parameters
deviceInfoУказатель на структуру deviceInfo
protocol_strУказатель на структуру протокола
receive_strУказатель на структуру принятого пакета
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Sub_Device_Manager()

void Sub_Device_Manager ( base_device_information_struct * deviceInfo,
ubi4_bus_protocol_obj_struct * protocol_str,
protocol_receive_struct receive_str )

master only

Here is the call graph for this function:
Here is the caller graph for this function: