该文被密码保护。 阅读全文
posted @ 2025-09-02 17:55
我不是萧海哇~~~
阅读(0)
评论(0)
推荐(0)
摘要:
在这段代码中,memcpy 的作用是 解决内存对齐问题和不可访问内存的读取问题。以下是详细分析: 1. 核心用途 if (!esp_ptr_byte_accessible(buffer)) { memcpy(temp_buffer, buffer, (bytes_cur_line + 3) / 4 阅读全文
posted @ 2025-09-02 16:54
我不是萧海哇~~~
阅读(17)
评论(0)
推荐(0)
摘要:
#define BYTES_PER_LINE 16 void esp_log_buffer_hex_internal(const char* tag, const void* buffer, uint16_t buff_len) { if (buff_len == 0) { return; } ch 阅读全文
posted @ 2025-09-02 16:39
我不是萧海哇~~~
阅读(10)
评论(0)
推荐(0)
摘要:
// 基本用法 __declspec(deprecated) void old_function() { // 旧函数实现 } // 可以添加自定义警告消息(C++14 起支持) __declspec(deprecated("This function is obsolete. Use new_fu 阅读全文
posted @ 2025-09-02 15:06
我不是萧海哇~~~
阅读(7)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2025-09-02 14:34
我不是萧海哇~~~
阅读(0)
评论(0)
推荐(0)
摘要:
url="http://worldtimeapi.org/api/timezone/UTC" headers={'content-type': 'application/json','user-agent': 'Mozilla/5.0 (Windows NT 10'} response=reques 阅读全文
posted @ 2025-09-02 14:01
我不是萧海哇~~~
阅读(9)
评论(0)
推荐(0)
摘要:
import requests headers = { "accept": "text/event-stream, text/event-stream", "accept-language": "zh-CN,zh;q=0.9", "cache-control": "no-cache", "conte 阅读全文
posted @ 2025-09-02 11:10
我不是萧海哇~~~
阅读(15)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2025-09-02 10:39
我不是萧海哇~~~
阅读(0)
评论(0)
推荐(0)
摘要:
MQTT Keepalive=0 意味着客户端不希望发送心跳包(PINGREQ),也不希望服务器发送心跳响应(PINGRESP)。 这是一个特殊的值,具有特定的含义和重要的注意事项。 详细解释 1. 正常 Keepalive 机制 在深入了解 keepalive=0 之前,先理解正常的 keepal 阅读全文
posted @ 2025-09-02 09:35
我不是萧海哇~~~
阅读(65)
评论(0)
推荐(0)