From 012f7bf4e14a8e92f5bba7a2c80b78cbe42fb362 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 23 三月 2021 12:17:37 +0800 Subject: [PATCH] V1.42 增加全基站数据模式,配合新华智云测试 --- 源码/核心板/Src/application/serial_at_cmd_app.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" index 2993869..c81b079 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.c" @@ -35,11 +35,12 @@ send_frame[3] = 8; send_frame[4] = pack_msgtype; send_frame[5] = pack_length; - +OUT485_ENABLE; checksum = Checksum_u16(&send_frame[2],8); memcpy(&send_frame[10],&checksum,2); USART_puts(send_frame, 12); + OUT485_DISABLE; } void SendComMap(uint8_t data_length, uint8_t index) { -- Gitblit v1.9.3