This commit is contained in:
小马_666 2025-05-29 10:14:38 +08:00
parent 23174359f8
commit ab83a29699
3 changed files with 2 additions and 4 deletions

View File

@ -34,7 +34,7 @@
#define CMD_TYPE_INSTRUCTION_REPLY 0x14 // 命令类型 - 指令下发回复 (设备->平台)
#define CMD_TYPE_TIME_CALIBRATION 0x15 // 命令类型 - 时间校准 (设备->平台)
#define PROTOCOL_VERSION 0x42 /*协议版本*/
#define PROTOCOL_VERSION 0x11 /*协议版本*/
/*数据序列号*/
#define DATA_SERIAL_NUM 0x0001 // 1

View File

@ -2,7 +2,7 @@
* @Author: mbw
* @Date: 2024-11-30 15:46:21
* @LastEditors: mbw && 1600520629@qq.com
* @LastEditTime: 2025-05-29 09:39:47
* @LastEditTime: 2025-05-29 10:12:17
* @FilePath: \ble_bjq_ch303rct6_ml307\bsp\src\at_device_ml307.c
* @Description:
*
@ -186,7 +186,6 @@ static void urc_tcp_connect_state(struct at_client *client, const char *data, rt
if (sscanf(data, "+MIPOPEN:%d,%d", &id, &err_code) == 2)
{
socket_id = id;
{
switch (err_code)
{

View File

@ -486,7 +486,6 @@ int Ml307_Send_Alarm (struct at_device *device, void *param)
LOG_E ("ml307 param error\n");
return RT_ERROR;
}
rt_err_t ret = RT_EOK;
ret = device->class->device_ops->control (device, AT_DEVICE_CTRL_GET_SIGNAL, RT_NULL);
if (ret != RT_EOK)
{