nRF Connect for Desktop[自己的APP环境搭建]

news2024/11/27 8:43:33

本文源码仓库地址:https://github.com/NordicSemiconductor/pc-nrfconnect-ble/blob/main/package.json
nRF Connect for Desktop是nordic自己做的一个PC端的蓝牙工具,配合nordic的dongle可以实现蓝牙的很多功能,要浏览本文要有如下知识储备:
1.nRF Connect for Desktop的APP是用js开发,所以要了解js并且安装了js的编译环境nodejs,编辑软件最好是vscode
2.已经成功安装了nRF Connect for Desktop上位机软件,可以看文章:https://blog.csdn.net/chengdong1314/article/details/109506931(好像最新版本的软件很好安装使用)

自己的APP环境搭建

1.克隆一个nordic的app到C:\Users\Administrator.nrfconnect-apps\local目录(window),参考文章:
https://nordicsemiconductor.github.io/pc-nrfconnect-docs/create_new_app
在这里插入图片描述
在这里插入图片描述
2.安装依赖,请看文章:https://nordicsemiconductor.github.io/pc-nrfconnect-docs/app_development
在这里插入图片描述
我这里安装依赖提醒如下log:

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS F:\download\pc-nrfconnect-ble> npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.       
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN old lockfile Error: git dep preparation failed
npm WARN old lockfile     at ChildProcess.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
npm WARN old lockfile     at ChildProcess.emit (node:events:526:28)
npm WARN old lockfile     at maybeClose (node:internal/child_process:1092:16)
npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm WARN old lockfile  Could not fetch metadata for pc-nrfconnect-shared@git+ssh://git@github.com/NordicSemiconductor/pc-nrfconnect-shared.git#fa442365b33fd2dd2df5d0ea20cfe2160cac088f Error: git dep preparation failed
npm WARN old lockfile     at ChildProcess.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
npm WARN old lockfile     at ChildProcess.emit (node:events:526:28)
npm WARN old lockfile     at maybeClose (node:internal/child_process:1092:16)
npm WARN old lockfile     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
npm WARN old lockfile   cmd: 'D:\\Program Files\\nodejs\\node.exe',
npm WARN old lockfile   args: [
npm WARN old lockfile     'D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm WARN old lockfile     'install',
npm WARN old lockfile     '--force',
npm WARN old lockfile     '--cache=C:\\Users\\Administrator\\AppData\\Local\\npm-cache',
npm WARN old lockfile     '--prefer-offline=false',
npm WARN old lockfile     '--prefer-online=false',
npm WARN old lockfile     '--offline=false',
npm WARN old lockfile     '--no-progress',
npm WARN old lockfile     '--no-save',
npm WARN old lockfile     '--no-audit',
npm WARN old lockfile     '--include=dev',
npm WARN old lockfile     '--include=peer',
npm WARN old lockfile     '--include=optional',
npm WARN old lockfile     '--no-package-lock-only',
npm WARN old lockfile     '--no-dry-run'
npm WARN old lockfile   ],
npm WARN old lockfile   code: 1,
npm WARN old lockfile   signal: null,
npm WARN old lockfile   stdout: '',
npm WARN old lockfile   stderr: 'npm WARN using --force Recommended protections disabled.\n' +
npm WARN old lockfile     'npm WARN old lockfile \n' +
npm WARN old lockfile     'npm WARN old lockfile The package-lock.json file was created with an old version of npm,\n' +
npm WARN old lockfile     'npm WARN old lockfile so supplemental metadata must be fetched from the registry.\n' +
npm WARN old lockfile     'npm WARN old lockfile \n' +
npm WARN old lockfile     'npm WARN old lockfile This is a one-time fix-up, please be patient...\n' +
npm WARN old lockfile     'npm WARN old lockfile \n' +
npm WARN old lockfile     "npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.\n" +
npm WARN old lockfile     'npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated\n' +
npm WARN old lockfile     'npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility\n' +
npm WARN old lockfile     'npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated\n' +
npm WARN old lockfile     'npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated\n' +
npm WARN old lockfile     'npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated\n' +
npm WARN old lockfile     'npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.\n' +
npm WARN old lockfile     'npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.\n' +
npm WARN old lockfile     'npm WARN deprecated redux-devtools-extension@2.13.9: Package moved to @redux-devtools/extension.\n' +
npm WARN old lockfile     'npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.\n' +
npm WARN old lockfile     'npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142\n' +
npm WARN old lockfile     'npm WARN deprecated node-pre-gyp@0.15.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future\n' +
npm WARN old lockfile     'npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.\n' +
npm WARN old lockfile     'npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.\n' +
npm WARN old lockfile     'npm WARN deprecated har-validator@5.1.5: this library is no longer supported\n' +
npm WARN old lockfile     'npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated\n' +
npm WARN old lockfile     'npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies\n' +
npm WARN old lockfile     'npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.\n' +
npm WARN old lockfile     "npm WARN deprecated @types/date-fns@2.6.0: This is a stub types definition for date-fns (https://github.com/date-fns/date-fns). date-fns provides its own type definitions, so you don't need @types/date-fns installed!\n" +
npm WARN old lockfile     'npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs\n' +
npm WARN old lockfile     'npm WARN deprecated core-js-pure@3.16.3: core-js-pure@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, 
feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure.\n' +
npm WARN old lockfile     'npm ERR! code 1\n' +
npm WARN old lockfile     'npm ERR! path C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_cacache\\tmp\\git-cloneOTG7x9\\node_modules\\@nordicsemiconductor\\nrf-device-lib-js\n' +
npm WARN old lockfile     'npm ERR! command failed\n' +
npm WARN old lockfile     'npm ERR! command C:\\Windows\\system32\\cmd.exe /d /s /c node do_prebuild.js --decompress-only || node do_prebuild.js --install-only || node do_prebuild.js\n' +
npm WARN old lockfile     'npm ERR! Decompressing local prebuild.\n' +
npm WARN old lockfile     'npm ERR! Unable to decompress local prebuild. File does not exist: prebuilds\\@nordicsemiconductor\\nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' +
npm WARN old lockfile     'npm ERR! Installing prebuild from developer.nordicsemi.no.\n' +
npm WARN old lockfile     'npm ERR! Trying to install prebuild from developer.nordicsemi.no...\n' +
npm WARN old lockfile     'npm ERR! Runtime: napi\n' +
npm WARN old lockfile     'npm ERR! Target: 7\n' +
npm WARN old lockfile     'npm ERR! Running command: npx prebuild-install -r napi -t 7 --verbose\n' +
npm WARN old lockfile     'npm ERR! \n' +
npm WARN old lockfile     'npm ERR! npm WARN using --force Recommended protections disabled.\n' +
npm WARN old lockfile     'npm ERR! npm WARN using --force Recommended protections disabled.\n' +
npm WARN old lockfile     'npm ERR! prebuild-install info begin Prebuild-install version 7.1.1\n' +
npm WARN old lockfile     'npm ERR! prebuild-install info looking for local prebuild @ prebuilds\\nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' +
npm WARN old lockfile     'npm ERR! prebuild-install info looking for cached prebuild @ C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_prebuilds\\596c67-nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' +
npm WARN old lockfile     'npm ERR! prebuild-install http request GET https://developer.nordicsemi.com/.pc-tools/nrf-libs/nrf-device-lib-js/v0.4.13/nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' + 
npm WARN old lockfile     'npm ERR! prebuild-install warn install Request timed out\n' +
npm WARN old lockfile     'npm ERR! \n' +
npm WARN old lockfile     'npm ERR! =================================================================\n' +
npm WARN old lockfile     'npm ERR! Install from developer.nordicsemi.no failed.\n' +
npm WARN old lockfile     'npm ERR! \n' +
npm WARN old lockfile     'npm ERR! NOTE:\n' +
npm WARN old lockfile     'npm ERR! The prebuild-install module will use a different strategy for fetching prebuilt binaries and will try to download from Github instead if it finds a token in ~/.prebuild-installrc\n' +
npm WARN old lockfile     'npm ERR! Ensure that this token is not present by either deleting or temporarily moving it: ~/.prebuild-installrc\n' +
npm WARN old lockfile     'npm ERR! =================================================================\n' +
npm WARN old lockfile     'npm ERR! Error message was: Error: Command failed: npx prebuild-install -r napi -t 7 --verbose\n' +
npm WARN old lockfile     'npm ERR! npm WARN using --force Recommended protections disabled.\n' +
npm WARN old lockfile     'npm ERR! npm WARN using --force Recommended protections disabled.\n' +
npm WARN old lockfile     'npm ERR! prebuild-install info begin Prebuild-install version 7.1.1\n' +
npm WARN old lockfile     'npm ERR! prebuild-install info looking for local prebuild @ prebuilds\\nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' +
npm WARN old lockfile     'npm ERR! prebuild-install info looking for cached prebuild @ C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_prebuilds\\596c67-nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' +
npm WARN old lockfile     'npm ERR! prebuild-install http request GET https://developer.nordicsemi.com/.pc-tools/nrf-libs/nrf-device-lib-js/v0.4.13/nrf-device-lib-js-v0.4.13-napi-v7-win32-x64.tar.gz\n' + 
npm WARN old lockfile     'npm ERR! prebuild-install warn install Request timed out\n' +
npm WARN old lockfile     'npm ERR! \n' +
npm WARN old lockfile     'npm ERR! Pre-building for versions: .\n' +
npm WARN old lockfile     'npm ERR! Done with error:\n' +
npm WARN old lockfile     "npm ERR! Error: ENOENT: no such file or directory, open './include/nrfdl-js-version-autogen.h'\n" +
npm WARN old lockfile     'npm ERR!     at Object.openSync (node:fs:585:3)\n' +
npm WARN old lockfile     'npm ERR!     at Object.writeFileSync (node:fs:2157:35)\n' +
npm WARN old lockfile     'npm ERR!     at create_version_header (C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_cacache\\tmp\\git-cloneOTG7x9\\node_modules\\@nordicsemiconductor\\nrf-device-lib-js\\do_prebuild.js:32:8)\n' +
npm WARN old lockfile     'npm ERR!     at run_prebuild (C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_cacache\\tmp\\git-cloneOTG7x9\\node_modules\\@nordicsemiconductor\\nrf-device-lib-js\\do_prebuild.js:44:5)\n' +
npm WARN old lockfile     'npm ERR!     at Object.<anonymous> (C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_cacache\\tmp\\git-cloneOTG7x9\\node_modules\\@nordicsemiconductor\\nrf-device-lib-js\\do_prebuild.js:446:5)\n' +
npm WARN old lockfile     'npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1103:14)\n' +
npm WARN old lockfile     'npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)\n' +
npm WARN old lockfile     'npm ERR!     at Module.load (node:internal/modules/cjs/loader:981:32)\n' +
npm WARN old lockfile     'npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:822:12)\n' +
npm WARN old lockfile     'npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {\n' +
npm WARN old lockfile     'npm ERR!   errno: -4058,\n' +
npm WARN old lockfile     "npm ERR!   syscall: 'open',\n" +
npm WARN old lockfile     "npm ERR!   code: 'ENOENT',\n" +
npm WARN old lockfile     "npm ERR!   path: './include/nrfdl-js-version-autogen.h'\n" +
npm WARN old lockfile     'npm ERR! }\n' +
npm WARN old lockfile     '\n' +
npm WARN old lockfile     'npm ERR! A complete log of this run can be found in:\n' +
npm WARN old lockfile     'npm ERR!     C:\\Users\\Administrator\\AppData\\Local\\npm-cache\\_logs\\2022-11-22T10_16_35_854Z-debug-0.log\n'
npm WARN old lockfile }
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @types/date-fns@2.6.0: This is a stub types definition for date-fns (https://github.com/date-fns/date-fns). date-fns provides its own type definitions, so you don't need @types/date-fns installed!
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated redux-devtools-extension@2.13.9: Package moved to @redux-devtools/extension.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.      
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.15.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

added 2252 packages, and audited 2253 packages in 6m

271 packages are looking for funding
  run `npm fund` for details        

26 vulnerabilities (3 moderate, 22 high, 1 critical)

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
npm notice 
npm notice New major version of npm available! 8.5.0 -> 9.1.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.1.2
npm notice Run npm install -g npm@9.1.2 to update!
npm notice
PS F:\download\pc-nrfconnect-ble> 

3.编译项目,请看第二点文章中的编译内容,我这里编译的log如下:

PS F:\download\pc-nrfconnect-ble> npm run dev

> pc-nrfconnect-ble@4.0.2 dev
> webpack watch --mode development

Hash: fbf658d3a85ac09cd845
Version: webpack 4.46.0
Time: 30452ms
Built at: 2022/11/22 18:24:42
            Asset      Size  Chunks             Chunk Names
        bundle.js  30.8 MiB    main  [emitted]  main
nordic-publish.js  7.35 KiB          [emitted]
Entrypoint main = bundle.js
[./node_modules/@babel/runtime/helpers/esm/extends.js] 527 bytes {main} [built]
[./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js] 462 bytes {main} [built]
[./node_modules/pc-nrfconnect-shared/src/index.ts] 9.92 KiB {main} [built]
[./node_modules/react-bootstrap/esm/ProgressBar.js] 5.82 KiB {main} [built]
[./node_modules/semver/index.js] 2.57 KiB {main} [built]
[./src/config.ts] 742 bytes {main} [built]
[./src/downloadInstaller.ts] 3.34 KiB {main} [built]
[./src/index.tsx] 9.56 KiB {main} [built]
[./src/paths.ts] 2.83 KiB {main} [built]
[./src/run.ts] 2.15 KiB {main} [built]
[./src/style.css] 376 bytes {main} [built]
[@electron/remote] external "@electron/remote" 42 bytes {main} [built]
[fs] external "fs" 42 bytes {main} [built]
[path] external "path" 42 bytes {main} [built]
[react] external "react" 42 bytes {main} [built]
    + 1037 hidden modules

4.修改APP名称以及描述等内容:
在这里插入图片描述

5.运行nRF Connect for Desktop查看自己的APP:
在这里插入图片描述
在这里插入图片描述
到这里环境已经搭建好了!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/27176.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

ELFK集群部署与Logstash的过滤模块

ELFK集群部署与Logstash的过滤模块ELFK集群部署与Logstash的过滤模块一、ELFK集群部署&#xff08;FilebeatELK&#xff09;Filebeatfilebeat 结合 logstash 带来好处&#xff1a;1.1 部署ELK集群1.2 安装Filebeat&#xff08;Apache节点&#xff09;1.3 设置 filebeat 的主配置…

TimeSformer:Is Space-Time attention all you need for video understanding?

【实践】CV领域的Transformer模型TimeSformer实现视频理解 - 飞桨AI Studio本项目选取CV中的transformer模型TimeSformer进行项目开发&#xff0c;在UCF101数据集上训练、验证、评估 - 飞桨AI Studiohttps://aistudio.baidu.com/aistudio/projectdetail/3413254?contributionT…

Zookeeper系列文章-Curator

之前我们讲解了Zookeeper安装与Zookeeper常用命令讲解 linux安装Zookeeper3.5.7详解_兜兜转转m的博客-CSDN博客 Zookeeper系列文章—入门_兜兜转转m的博客-CSDN博客 由于我们需要利用Java进行开发&#xff0c;因此我们使用Curator对Zk进行操控 导入依赖&#xff0c;由于使用…

作业-11.22

1、TCP服务器和客户端交互 服务器 #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netinet/in.h> #include <string.h> #include <unistd.h> #define ERR_MSG(msg) do{\ …

Java基础—反射

反射 我们来探讨Java中的一些动态特性&#xff0c;包括反射、注解、动态代理、类加载器等。利用这些特性&#xff0c;可以优雅地实现一些灵活通用的功能&#xff0c;它们经常用于各种框架、库和系统程序中&#xff0c;比如&#xff1a; 1&#xff09;14.5节介绍的Jackson&…

MAC苹果电脑关闭系统完整性保护SIP

苹果电脑从 macOS 10.11 开始引入了系统完整性保护机制SIP&#xff08;System Integrity Protection&#xff09;&#xff0c;目的是帮助普通用户避免恶意 app 通过用户授权的方式获得所有系统权限。通过 System Integrity Protection&#xff0c;苹果实现了对第三方软件的限制…

SpringBoot SpringBoot 开发实用篇 5 整合第三方技术 5.14 SpringBoot 整合 quartz

SpringBoot 【黑马程序员SpringBoot2全套视频教程&#xff0c;springboot零基础到项目实战&#xff08;spring boot2完整版&#xff09;】 SpringBoot 开发实用篇 文章目录SpringBootSpringBoot 开发实用篇5 整合第三方技术5.14 SpringBoot 整合 quartz5.14.1 任务【定时任务…

Linux-cut

cut命令介绍 cut命令将文件的每一行剪切字节&#xff0c;字符和字段&#xff0c;并将这些字节&#xff0c;字符和字段写到标准输出 提取列&#xff0c;cut命令不能提取空格&#xff0c;可以是制表符或者其他字符 cut [选项][文件] 选项&#xff1a; -b&#xff1a;以字节为单…

2.5、信道的极限容量!

2.5、信道的极限容量&#xff01; 2.5.1、因素影响 由于信号在传输过程中会受到各种因素的影响 例如&#xff1a;这是一个数字信号 当它通过实际的信道后&#xff0c;波形会产生失真。 失真不严重时&#xff0c;在输出端还可根据已失真的波形还原出发送的码元 当失真严重…

G1D20-AnacondaCSKE综述AttacKG终于配好环境啦KG book CTF

先下一个anaconda emmmpipenv install requirements.txt好像不太好用&#xff0c;还不如pycharm中的自动安装 先读论文啦~ 一、CS KE综述 &#xff08;一&#xff09;NER systems 1、判别式模型&生成式模型 判别式模型&#xff1a;学习P&#xff08;Y|X&#xff09;&am…

C语言-结构体(7)

目录 思维导图&#xff1a; 1. 结构体的声明 1.1 结构的基础知识 1.2 结构的声明 1.3 结构成员的类型 1.4 结构体变量的定义和初始化 2. 结构体成员的访问 3. 结构体传参 写在最后&#xff1a; 思维导图&#xff1a; 1. 结构体的声明 1.1 结构的基础知识 结构是一些…

python一键去PDF水印,只需十行代码,超级简单...

用python制作去除 pdf 文件水印脚本前因后果去除水印原理代码剖析1、先查看PDF文档中的水印rgb值是多少2、pdf转换成图片&#xff0c;并去除水印3、图片转为pdf代码整合总结前因后果 弟弟最近要考试&#xff0c;临时抱佛脚在网上找了一堆学习资料复习&#xff0c;这不刚就来找…

机器学习-sklearn-高斯混合模型-学习笔记

文章目录前言一、如何估计参数二、二分类原生代码实现三、sklearn实现模型总结前言 学习笔记 学习视频&#xff1a;https://www.bilibili.com/video/BV1rB4y1v7dA/?spm_id_from333.788&vd_sourceaf83080eba7b379d3fda36e341bdb195 使用高斯混合模型的原因&#xff1a; 模…

03137计算机网络原 - 物理层

物理层 基础概念 OSI模型最底层 功能 为在链路实体间传送比特流而对物理连接的 接通 维持 和 拆除 提供机械,电气,功能和规程方面的方法作用 尽可能屏蔽现有多种多样的硬件设备,传输媒体和通信手段的差异。确保原始数据可以在各种物理媒介上传输任务特性 机械特性 指明接…

Linux环境变量与程序地址空间

Linux环境变量与程序地址空间 文章目录Linux环境变量与程序地址空间1.环境变量1.1 环境变量概念与深入理解1.2 代码获取环境变量的方法1.3 系统调用获取和设置环境变量的方法2.程序地址空间2.1 程序地址空间图(准确来说是进程地址空间图)2.2 程序地址空间的验证2.3 进程地址空间…

概率论中的几个重要悖论问题

1. 蒙提霍尔问题&#xff08;三门问题&#xff09; 三门问题&#xff08;Monty Hall problem&#xff09;亦称为蒙提霍尔问题、蒙特霍问题或蒙提霍尔悖论&#xff0c;大致出自美国的电视游戏节目Lets Make a Deal。问题名字来自该节目的主持人蒙提霍尔&#xff08;Monty Hall&…

【笑小枫的SpringBoot系列】【十八】SpringBoot中的Properties配置

本文简介&#x1f3a8; 随着我们的演示功能越来越多&#xff0c;里面的配置也越来越多&#xff0c;我们怎么更好的来管理这些配置呢&#xff1f; 实际项目中&#xff0c;我们肯定会有开发环境、测试环境、生产环境&#xff0c;我们又该怎么便捷的配置这些环境呢&#xff1f; …

CANopen之SDO,PDO

一、简述 CAN 总线是一种串行通信协议&#xff0c;具有较高的通信速率的和较强的抗干扰能力&#xff0c;可以作为现场总线应用于电磁噪声较大的场合。由于 CAN 总线本身只定义ISO/OSI 模型中的第一层&#xff08;物理层&#xff09;和第二层&#xff08;数据链路层&#xff09…

nodejs+mysql网上书店图书销售购物商城系统vue

系统功能 此系统的功能分为用户模块和管理员模块&#xff1a; 1、用户后台功能模块包括&#xff1a;首页、个人中心、订单评价管理、我的收藏管理、订单管理模块。 2、前台首页功能模块包括&#xff1a;首页、图书信息、图书资讯、个人中心、后台管理、购物车、在线聊天模块。 …

SAP MDG —— 更好地理解你的数据变更

概念 在SAP MDG on SAP S/4HANA 2021中&#xff0c;SAP发布了一种全新的数据分析框架&#xff1a;变更请求中的主数据变更分析。依赖该框架&#xff0c;你可以为你的最终用户提供强大的数据分析功能&#xff0c;以深度洞悉变更请求中到底变化了哪些数据。 使用这些分析功能&a…