
nordic蓝牙学习
韩、Somin
这个作者很懒,什么都没留下…
展开
-
Nordic nRF52832-PCA100A0-GPIO设置
1、在#include "nrf_gpio.h"中定义有 // LEDs definitions for PCA10040 #define LEDS_NUMBER 4 #define LED_START 17 #define LED_1 17 #define LED_2 18 #define LED_3 19 #define L...原创 2019-01-27 23:10:36 · 1100 阅读 · 0 评论 -
nordic nFR52832 结构框架
1、softdevice是以二进制文件形式,同时softdevice是通过SVC中断和软中断来实现与应用程序交互的。每一个softdevice API对应一个SVC异常号(softdevice API是非阻塞的)。每当应用程序调用softdevice API,其实是产生一个SVC异常,然后进入到softdevice协议栈,由softdevice的SVC handler进行相应处理。 softd...转载 2019-01-28 00:06:15 · 1289 阅读 · 2 评论 -
nordic nFR52832 PCA10040 blinky例程分析
1、建立Service结构体,包含了建立service、characteristic相关信息Handle。 struct ble_lbs_s { uint16_t service_handle; /服务句柄,蓝牙栈提供 ble_gatts_char_handles_t led_char_handles; /*指向LED特征句柄 ble_gatts_cha...原创 2019-01-29 00:15:01 · 1665 阅读 · 0 评论