低功耗蓝牙协议栈入门(五)广播者与观察者(NimBLE 应用)
在 低功耗蓝牙协议栈入门(一) 中有提到 BLE 一共有四种 GAP 角色:广播者;观察者;外围设备;中央设备。一个设备可以同时支持多个角色。所有的蓝牙应用都是围绕着这四个角色来的。
本文将结合 NimBLE 蓝牙协议栈的代码来介绍蓝牙的广播者与观察者这两种角色。
more >>
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true