随笔分类 -  C/C++

上一页 1 2 3 4 5 6 7 8 9 ··· 44 下一页
摘要:void at_cmd_pasre(char *cmd) { int32_t para_int_1 = 0; char para_str_2[32] = { 0 }; char para_str_3[32] = { 0 }; char* p = cmd; int ret = -1; p = strs 阅读全文
posted @ 2025-08-22 10:02 我不是萧海哇~~~ 阅读(11) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-21 16:36 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:1. 源码获取 首先使用git-bash拉取esp-at代码 git clone https://jihulab.com/esp-mirror/espressif/esp-at.git 切换到你想要编译的固件版本 git checkout release/v3.3.1.0 切记一定要使用git命令拉 阅读全文
posted @ 2025-08-21 16:13 我不是萧海哇~~~ 阅读(39) 评论(0) 推荐(0)
摘要:typedef struct { void* ptr; size_t size; const char* file; int line; } AllocInfo; AllocInfo alloc_table[1024]; int alloc_count = 0; void* tracked_mall 阅读全文
posted @ 2025-08-20 11:32 我不是萧海哇~~~ 阅读(5) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-20 11:09 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-20 09:28 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:如果你需要在 Visual Studio (VS) 中使用 FreeType 库(freetype.lib)来编译 mcufont 或相关字体处理代码,可以按照以下步骤进行配置: 1. 获取 FreeType 库 (1) 下载 FreeType 官网:FreeType Download 选择 Win 阅读全文
posted @ 2025-08-19 14:45 我不是萧海哇~~~ 阅读(283) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-18 12:02 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-15 17:30 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:int _ssl_recv_timeout(int ssl_fd, char* recvdata, unsigned short recvlen, unsigned int timeout) { int ret = -1; int recv_readlen = 0; int sockid; int 阅读全文
posted @ 2025-08-15 14:35 我不是萧海哇~~~ 阅读(19) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-14 16:32 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-13 17:46 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:链接mqtt AT指令: "AT+MQTTCONN=0,"172.11.1.1",1883,0 及时连接失败是也会返回OK,但是也会返回+MQTTDISCONNECTED:关键信息,所以要区分连接失败还是中途失败可以在urc回调中处理,如果当前是发送指令是连接服务器,就不上报给应用,避免应用一直重连 阅读全文
posted @ 2025-08-13 16:46 我不是萧海哇~~~ 阅读(30) 评论(0) 推荐(0)
摘要:/******************************************************************************* * Size: 14 px * Bpp: 1 * Opts: --bpp 1 --size 14 --no-compress --font 阅读全文
posted @ 2025-08-13 14:33 我不是萧海哇~~~ 阅读(13) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-06-24 15:24 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-05-04 09:49 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:文章目录 前言 基本原理 Code server client 核心函数 socket bind listen accept recv send connect close 多线程改进 END 前言 本文将以纯C语言描述,编译器gcc。 C/C++没有标准的网络库,因为都需要用到各个平台的接口才行。 阅读全文
posted @ 2025-04-03 14:05 我不是萧海哇~~~ 阅读(92) 评论(0) 推荐(0)
摘要:有过串口编程经验的人都知道,串口是独占方式使用的,即有且只有一个应用实例能对一个串口进行打开、读写操作。但实际应用中,我们可能要在多个应用程序中对来自同一个串口的数据进行分析。比如我们有一个GPS设备,用串口的方式将数据传到电脑上了,我们想在多个应用程序中使用这个GPS数据。利用虚拟串口(VSPD如 阅读全文
posted @ 2025-04-02 14:38 我不是萧海哇~~~ 阅读(533) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-01-07 11:22 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 44 下一页