解决乘车码未知错误问题 1803/2 1803/head
authorluozheng <1732036298@qq.com>
Tue, 3 Jun 2025 02:25:26 +0000 (10:25 +0800)
committerluozheng <1732036298@qq.com>
Tue, 3 Jun 2025 02:25:26 +0000 (10:25 +0800)
code/sdk/application/wearable/service/ble_service/transspecard/transspecard.c

index 8261c34..170f14c 100644 (file)
@@ -624,6 +624,7 @@ uint8_t parse_transspecard_data(void *buf, uint16_t event_size)
         receive_packet_total = current_packet_total;
         receive_total_datalen = current_total_datalen;
 
+        #if 0 
         if (receive_total_datalen > MAX_RECEIVE_BUFFER_SIZE)
         {
             printf("Received data length exceeds buffer size,receive_total_datalen:%u!\r\n",receive_total_datalen);
@@ -632,6 +633,7 @@ uint8_t parse_transspecard_data(void *buf, uint16_t event_size)
             notify_resend(RECEIVE_PACKET_FIRST);
             return ALIPAY_TRANSSPECARD_ERRCODE_FAIL;
         }
+        #endif
 
         packet_received_flags = (uint8_t *)malloc(receive_packet_total);
         if (packet_received_flags == NULL)