- 博客(36)
- 收藏
- 关注
原创 Cannot find module ‘@/components/SvgIcon/index‘ or its corresponding type declarations.ts(2307)
Cannot find module '@/components/SvgIcon/index' or its corresponding type declarations.ts(2307)
2024-12-17 13:15:49
390
原创 Widnows上安装scoop
Widnows上安装scoop, 报错信息:Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin for details.
2024-11-19 11:13:25
456
原创 网关可以将 IPv4 数据包转换为 IPv6 数据包 , 是什么意思
IPv4 数据包转换为 IPv6 数据包 ,什么是ipv4, 什么是ipv6,一个公司同时使用IPv4和IPv6的有可能的原因
2024-11-14 11:47:47
939
原创 {“errno“: 1509001, “errCode“: 10003, “errMsg“: “createBLEConnection:fail:connection fail status:62“}
{"errno": 1509001, "errCode": 10003, "errMsg": "createBLEConnection:fail:connection fail status:62"} createBLEConnection fail
2024-11-05 13:56:01
489
原创 ReferenceError: __dirname is not defined in ES module scope
const distPath = path.join(__dirname, 'dist', 'index.html'); ^ReferenceError: __dirname is not defined in ES module scopeThis file is being treated as an ES module because it has a '.js' file extension and 'xxx\package.json' c
2024-10-30 16:07:58
639
原创 windows打包react项目
之前在mac系统上的项目,一毛一样的代码在windows系统上,打包之后,打包文件的index.html跟之前的不一样
2024-10-30 14:37:10
171
原创 Failed to launch the app on simulator, An error was encountered processing the command (domain=com.
Failed to launch the app on simulator, An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405): Unable to lookup in current state: Shutdown
2024-03-25 17:47:50
632
原创 AT 指令
AT 指令被广泛应用于各种通信设备,包括 GSM 手机、蓝牙模块、GPS 接收器等。AT 指令是一种用于与调制解调器、手机和其他通信设备进行交互的命令集。AT 指令通常以 "AT" 开头,后面跟着具体的指令和参数。
2024-03-12 17:50:49
376
2
原创 TCP协议与UDP协议的区别
TCP(传输控制协议)和UDP(用户数据报协议)是两种网络传输协议,它们在数据传输时有几个重要的区别:UDP的点多点、多播与广播传输:
2024-03-12 17:50:21
335
原创 小程序的蓝牙配网与WiFi 配网的一些区别
我做的是小程序上的BLE 蓝牙配网。比如协议发给你一个字段,表示连接成功,你可以把2.4G 的 WiFi 账户密码发给协议,协议告诉你配网成功就完成了蓝牙配网。1. 是否选择蓝牙配网还是 WIFI 配网,是根据设备来决定的,如果这个设备里面的模块支持的是 WIFI 配网,就要用 WIFI 配网,支持的是蓝牙配网,就用蓝牙配网,是设备厂商决定用哪种类型配网的。:创建UDP点对点广播模式,知道对端( IP:255.255.255.255 PORT:10100)的 ip 跟端口就可以发送指定的协议了。
2024-03-12 17:48:26
766
1
原创 commonjs 与 ES Module 的区别以及它们的导出导入写法
CommonJS 使用 require() 导入模块,使用 module.exports 导出模块ES Module 使用 import 导入模块,使用 export 导出模块
2023-08-03 20:26:57
527
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人