|
main_ubi_sdk v 0.1.3
This is UBI4 documentation
|
#include "TransportLevel/main_receiver.h"#include "TransportLevel/a_protocol.h"#include "Data/device_command_structs.h"#include "Data/base_device_info.h"#include "utils/update_fw.h"#include "Data/data_verification.h"#include "device_info.h"#include "string.h"
Functions | |
| void | set_device_custom_main_receiver (device_custom_receiver_callback custom_receiver) |
| void | set_custom_main_receiver (custom_receiver_callback custom_receiver) |
| void | set_custom_command_selector (custom_command_selector_callback custom_selector) |
| uint8_t | registr_header (bool brige, bool request_answer, uint8_t transmitter_address, uint8_t package_id, uint8_t command, ports_enum port) |
| collect_header_struct * | get_header (uint8_t header_id) |
| void | clear_header (uint8_t header_id) |
| collect_header_struct * | find_first_header (bool brige, uint8_t address, uint8_t command) |
| void | Echo_v2 (ubi4_bus_protocol_obj_struct *protocol, protocol_receive_struct receive_str) |
| void | DeviceMainReceiver (ubi4_bus_protocol_obj_struct *protocol, protocol_receive_struct receive_str) |
| Функция разбора принятной команды | |
Variables | |
| static custom_receiver_callback | custom_main_receiver = 0 |
| static custom_command_selector_callback | custom_command_selector = 0 |
| static device_custom_receiver_callback | device_custom_receiver = 0 |
| uint8_t | Bbuf [10] |
| bool | en_var_len_package = false |
| collect_header_struct | header_arr [COLLECT_HEADER_SIZE] |
| void clear_header | ( | uint8_t | header_id | ) |
| void Echo_v2 | ( | ubi4_bus_protocol_obj_struct * | protocol, |
| protocol_receive_struct | receive_str ) |

| collect_header_struct * get_header | ( | uint8_t | header_id | ) |
| uint8_t Bbuf[10] |
|
static |
|
static |
|
static |
| bool en_var_len_package = false |