forked from xuos/xiuos
update lorawan submodule, fix create event bug
This commit is contained in:
@@ -76,7 +76,7 @@ void Uart485Init(uint32_t baud_rate, uint8_t data_bits, uint8_t stop_bits, uint8
|
||||
ioctl_cfg.args = &pin_param;
|
||||
PrivIoctl(pin_fd, OPE_CFG, &ioctl_cfg);
|
||||
|
||||
uart_fd = open(CONTROL_FRAMEWORK_UART_DEV, O_RDWR);
|
||||
uart_fd = PrivOpen(CONTROL_FRAMEWORK_UART_DEV, O_RDWR);
|
||||
if (uart_fd < 0) {
|
||||
printf("open fd error %d\n", uart_fd);
|
||||
return;
|
||||
|
||||
@@ -43,6 +43,9 @@ extern "C" {
|
||||
|
||||
#define NAME_NUM_MAX 32
|
||||
|
||||
#define LINKLIST_FLAG_FIFO 0x00
|
||||
#define LINKLIST_FLAG_PRIO 0x01
|
||||
|
||||
#ifndef EVENT_AND
|
||||
#define EVENT_AND (1 << 0)
|
||||
#endif
|
||||
@@ -169,6 +172,8 @@ struct SerialDataCfg
|
||||
uint16_t serial_buffer_size;
|
||||
int32 serial_timeout;
|
||||
|
||||
int (*dev_recv_callback) (void *dev, size_t length);
|
||||
|
||||
uint8_t is_ext_uart;
|
||||
uint8_t ext_uart_no;
|
||||
enum ExtSerialPortConfigure port_configure;
|
||||
|
||||
Submodule APP_Framework/lib/lorawan/lora_radio_driver updated: 1c3adb9154...2d8abd3eff
Submodule APP_Framework/lib/lorawan/lorawan_devicenode updated: dbced0da18...197c320b99
Reference in New Issue
Block a user