| | |
| | | #define AIR780E_UART_TX_QUEUE_MEMBER_CNT 16 /* 串口未使用DMA模式,不需要 */ |
| | | |
| | | /* AT相关 */ |
| | | #define AIR780E_AT_SEND_BUF_SIZE (1024 + 512) /* 发送的单条AT指令的最大长度 */ |
| | | #define AIR780E_AT_RECV_BUF_SIZE (1024 + 512) /* 单挑AT指令 */ |
| | | #define AIR780E_AT_SEND_BUF_SIZE ((5 * 1024) + 512) /* 发送的单条AT指令的最大长度 */ |
| | | #define AIR780E_AT_RECV_BUF_SIZE ((5 * 1024) + 512) /* 单挑AT指令 */ |
| | | |
| | | /******************************************************************************* |
| | | * Type Definition * |
| | |
| | | stUartInit.m_pu8TxBuf = l_au8AIR780EUartTxBuf; |
| | | stUartInit.m_u32TxBufSize = AIR780E_UART_TX_BUF_SIZE; |
| | | stUartInit.m_u32TxQueueMemberCnt = AIR780E_UART_TX_QUEUE_MEMBER_CNT; |
| | | stUartInit.m_u32BaudRate = 115200; |
| | | stUartInit.m_u32BaudRate = 9600; |
| | | if(Uart_Init(UART_ID_4G, &stUartInit) != HIDO_OK) |
| | | { |
| | | return HIDO_ERR; |