2017年11月13日

nRF5 SDK for Mesh(三) Installing the mesh toolchain 安装编译工具链

摘要: Installing the mesh toolchain Installing the mesh toolchain Installing the mesh toolchain To build the example applications, a toolchain based on eith 阅读全文

posted @ 2017-11-13 13:36 所长 阅读(1974) 评论(0) 推荐(0)

nRF5 SDK for Mesh(二) Getting started 快速开始

摘要: Getting started Getting started Getting started To get started, take a look at the Light switch demo. It shows how a simple application can use the me 阅读全文

posted @ 2017-11-13 12:02 所长 阅读(1787) 评论(0) 推荐(0)

2017年10月14日

QT 简单 TCP 通信,发送数据到服务器

摘要: 1、首先 添加头文件 2、在 main 函数中 书写一下 代码 阅读全文

posted @ 2017-10-14 13:47 所长 阅读(5015) 评论(0) 推荐(0)

2017年9月1日

Bluetooth® Low Energy Beacons

摘要: Bluetooth® Low Energy Beacons ABSTRACT (abstract ) 1、This application report presents the concept of beacons by using Bluetooth low energy technology. 阅读全文

posted @ 2017-09-01 21:48 所长 阅读(410) 评论(0) 推荐(0)

2017年8月31日

CC2540 低功耗串口, POWER_SAVING 模式 下 串口 0 的使用

摘要: 低功耗 模式 下 使用 串口 , 因为 PM2 或者 PM3 状态下 32M晶振 是不工作 的,根据手册得知没有32M晶振, 串口是不能工作的,但是可以使用 外部中断,因此,我把 串口的接收引脚设置为外部中断,这样 来唤醒BLE。 这样就牵扯到 串口 和 外设中断 的 来回切换 ,具体操作方法如下: 阅读全文

posted @ 2017-08-31 11:11 所长 阅读(2716) 评论(0) 推荐(0)

2017年8月11日

LWIP network interface 网卡 初始化 以 STM32 为例子 后面会有 用 2G 或者4G 模块 用 PPP拨号的 形式 虚拟出网卡 所以先以 这个为 前提

摘要: LWIP network interface 网卡 初始化 以 STM32 为例子 后面会有 用 2G 或者4G 模块 用 PPP拨号的 形式 虚拟出网卡 所以先以 这个为 前提 LWIP 有 一个 结构体 是 描述 物理 接口 的 即 netif Struct, 大神朱工 对这个 有个 详细的 解 阅读全文

posted @ 2017-08-11 19:00 所长 阅读(1382) 评论(0) 推荐(0)

LWIP network interface 即 LWIP 的 硬件 数据 接口 移植 详解 STM32 以太网数据 到达 的第二站: void ethernetif_input( void * pvParameters )

摘要: 根据 上一篇 文章 , ETH DMA 数据中断 会 发送 一个信号量 ,我使用 全局 搜索 这个信号量 s_xSemaphore 得到 一下 几个 值 根据 这个 分析 我们找到了 数据 的 第二站 :void ethernetif_input( void * pvParameters ) 总结 阅读全文

posted @ 2017-08-11 16:08 所长 阅读(1513) 评论(0) 推荐(0)

LWIP network interface 即 LWIP 的 硬件 数据 接口 移植 首先 详解 STM32 以太网数据 到达 的第一站: ETH DMA 中断函数

摘要: 要 运行 LWIP 不光 要实现 OS 的 一些 接口 ,还要 有 硬件 数据 接口 移植 ,即 网线上 来的 数据 怎么个形式 传递给 LWIP ,去解析 做出相应的 应答 ,2017年8月11日14:45:16 LWIP 官网 介绍 这个硬件数据 接口 即 要 填满 网卡 这个 结构体 : ht 阅读全文

posted @ 2017-08-11 15:12 所长 阅读(1450) 评论(0) 推荐(0)

2017年7月17日

结构体 内存对齐 keil & STM32

摘要: 直接 上图 不废话: 第二张图: 把16位 类型的数据 换成 数组 ,这样 达到 节约内存和 方便处理 缓冲区数据 阅读全文

posted @ 2017-07-17 09:53 所长 阅读(3885) 评论(0) 推荐(0)

2017年6月29日

PPP interface for lwIP

摘要: //原文 地址 :http://www.nongnu.org/lwip/2_0_x/group__ppp.html /* //协议说明,2017年6月29日14:19:18,suozhang PPP interface for lwIP Author: Sylvain Rochet Table of Contents: 1 - Supported PPP protocols... 阅读全文

posted @ 2017-06-29 14:47 所长 阅读(6506) 评论(0) 推荐(1)

导航