自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(89)
  • 收藏
  • 关注

原创 CSRmesh 2.1 Home Automation简介(三)

2 Using the applications     This section describes how to use CSRmesh applications with CSRmesh Android and iOS applications to control devices.     本节介绍如何在CSRmesh Android和iOS应用程序中使用CSRmesh应用程序来控制设备。...

2018-06-08 11:09:04 438

原创 CSRmesh 2.1 Home Automation简介(二)

1.1.3 Services Supported in GATT Server Role The applications use the following services:■ Mesh Control Service v2.0 ■ GATT Service■ GAP Service■ CSR OTA Update Application Service v7 (Supported only ...

2018-06-08 10:55:48 609

原创 CSRmesh 2.1 Home Automation简介(一)

1 Introduction     This document describes the CSRmesh applications that can be built using the µEnergy SDK. The main example application is the Light Application (see section 7). Other example applic...

2018-06-08 10:51:03 603

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(七)

2.5 NVM changes NVM变化     The NVM handlers defined in each of the applications have been moved onto a common location of nvm_manager which would handle complete NVM functionality. The NVM functionalit...

2018-06-08 10:41:45 417

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(六)

2.4.4 Mesh model handlers(网格模型处理程序)    To make the applications more modular and to make the effort of inclusion of models much simpler the handling of models is done in the model handlers. The model ...

2018-06-08 10:36:09 391

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(五)

2.4 Application handlers 2.4.1 Advertisement handler The advertisement handler is responsible for sending the connectable advertisements through mesh core stack to connect as a bridge onto an android ...

2018-06-01 14:45:56 388

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(四)

The Connection Manager events are almost one-on-one mapping of the events received from the firmware in the previous releases of CSRmesh. One noticeable difference in the Connection Manager integratio...

2018-06-01 14:37:25 399

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(三)

In the mesh node applications, the support for the roles is enabled as per the requirement of the application. The base roles of CM Server, CM Peripheral and the CM Observer need to be supported by al...

2018-06-01 14:34:40 258

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(二)

The mesh initialization function initializes the mesh models and the core stack in the followingsequence:1. Configure the scheduler parameters and then initialise the mesh scheduler.2. Initialise the ...

2018-06-01 14:28:58 527

原创 Qualcomm CSRmesh v2.1 Application 移植指南简介(一)

1.Introduction (简介)This document describes the CSRmesh v2.1 on-chip application’s new design with the integration of the Connection Manager built using the µEnergy SDKs. It mainly captures the process...

2018-06-01 14:20:35 556

原创 高通CSR102x开发板 GATT Server Application Note简介(五)

See Figure 1-7 for an example of a GATT Client writing a value to a characteristic and reading a valuefrom a characteristic in a GATT Server database. GATT客户端为特性写入值并读取值的示例见图1-7来自GATT服务器数据库中的特性。GATT de...

2018-05-25 13:34:25 607

原创 高通CSR102x开发板 GATT Server Application Note简介(四)

The GATT Server data is arranged in services with characteristics. The GATT protocol defines variousprocedures for discovering, reading and writing, notifying and indicating characteristics. A GATTSer...

2018-05-25 13:32:13 540

原创 高通CSR102x开发板 GATT Server Application Note简介(三)

The Attribute Protocol allows a Client to:■ Find information about the attributes■ Read attributes■ Write attributes■ Queue attribute writesSee Figure 1-3 for an example showing the transfer of attrib...

2018-05-25 13:29:35 462

原创 高通CSR102x开发板 GATT Server Application Note简介(二)

This example application supports GATT to provide access to service characteristics to a GATT Client.It supports GAP to allow services to be discovered and establish connections with GATT Clients.The ...

2018-05-25 13:27:08 316

原创 高通CSR102x开发板 GATT Server Application Note简介(一)

This document demonstrates how to create a Generic Attribute Profile (GATT) Server application. Anexample GATT Server application is provided with the Qualcomm Bluetooth Low Energy CSR102xSoftware Dev...

2018-05-25 13:23:21 624

原创 高通CSR102x Bluetooth low energy IoT Development Kit简介(5)

The Bluetooth low energy SDK provides a comprehensive graphical code development environment for the CSR102x  IC products using its xIDE environment with breakpoint, variable viewing, memory viewing, ...

2018-05-18 10:54:59 714

原创 高通CSR102x Bluetooth low energy IoT Development Kit简介(4)

Other CSR102x Development Kits其他CSR102x开发套件 CSR102x STARTER Development KitCSR102x STARTER开发套件A simplifed, yet comprehensive kit designed for developers and designers who need to get prototypes of the...

2018-05-18 10:50:33 300

原创 高通CSR102x Bluetooth low energy IoT Development Kit简介(3)

Features:功能:3x IoT target boards with CSR1025 SoC采用CSR1025 SoC的3x IoT目标板Control Relay – control switch on and off控制继电器 - 控制开关打开和关闭Single crystal单晶PIR sensor to detect people walking into a room, to su...

2018-05-18 10:38:55 381

原创 高通CSR102x Bluetooth low energy IoT Development Kit简介(2)

Comprehensive demonstration and evalution kit with on-board sensors for a range of IoT applications 全面的演示和评估套件,带有适用于各种物联网应用的板载传感器Kit Contents:3x IoT target boardsProgrammer boardMini-USB cable to conn...

2018-05-18 10:34:41 370

原创 高通CSR102x Bluetooth low energy IoT Development Kit简介(1)

The Internet of things (IoT) development kit provides a multi-purpose development platform for prototyping a range of IoT applications and is designed for networking virtually of all your Bluetooth de...

2018-05-18 10:30:28 456

原创 基于高通410c开发板,开发android端家庭控制中心APP(5)

i. Mission模块在 com.thundersoft.flagmingo.curtain创建Mission.java文件, 在Mission中定义了mMissionTime以及mMissionValue两个变量分别保存窗帘定时任务时间以及定时任务窗帘的移动值。在 com.thundersoft.flagmingo.curtain创建MissionAdapter.java文件,继承ArrayA...

2018-05-18 10:20:26 476

原创 基于高通410c开发板,开发android端家庭控制中心APP(4)

实现BottomNavigationBar接口,在onTabSelected方法中实现了Fragment切换的逻辑。电动窗帘模块i. UI创建com.thundersoft.flagmingo.curtain包,创建CurtainUIFragment.java文件继承了Fragment并实现了View.OnClickListener接口,文件主要负责显示curtain_fragment.xml中U...

2018-05-18 10:19:35 407

原创 基于高通410c开发板,开发android端家庭控制中心APP(3)

 智能照明在app/res/layout目录中右键创建xml文件,命名为light_fragment.xml。文件中添加如下代码: 1. 功能逻辑开发a) Fragment管理右键点击app/java文件,创建一个Package,命名为com.thundersoft.flagmingo.main 将MainActivity文件拖拽到com.thundersoft.flagmingo.main包中,...

2018-05-18 10:17:37 310

原创 基于高通410c开发板,开发android端家庭控制中心APP(2)

展开Gradle Scripts在build.gradle文件dependencies代码块中添加如下代码: 在Project窗口中,展开app/res/layout路径,打开activity_main文件。修改代码如下,其中main_title用来显示当前控制模块的名称,tb用来显示当前模块的fragment,bottom_navigation_bar底部导航栏按钮,用户点击可显示对应的frag...

2018-05-18 10:15:59 390

原创 基于高通410c开发板,开发android端家庭控制中心APP(1)

家庭控制中心APP运行在android端,通过与服务器通讯控制高通410c开发板。基本功能如下:1. 应用分为三个功能模块,包括电动窗帘、智能照明以及烟雾模块。2. 电动窗帘模块中,包括调整窗帘位置、设置窗帘定时任务的功能。3. 智能照明模块中,包括控制照明灯光打开和关闭的功能。开发环境如下:Win7 64位PC + Android Studio 3.1.2开发步骤如下:打开Android Stu...

2018-05-18 10:14:19 382

原创 在高通410c开发板使用PyQt开发电动窗帘Demo(五)

使用PyCharm开发功能模块1. UI文件转成Python文件打开PyCharm,创建工程目录,默认目录为C:\Users\Administrator\PycharmProjects\ElectricCurtain,在该目录下创建libs文件夹,将Qt Designer保存的UI文件拷贝到工程目录中,这里默认的文件名为ElectricCurtainUI.ui。右键选择ElectricCurtai...

2018-05-11 09:48:51 685

原创 在高通410c开发板使用PyQt开发电动窗帘Demo(四)

本文继续介绍在高通410c开发板上开发电动窗帘Demo的开发步骤使用QtDesigner开发UI7. 任务列表操作创建Push Button控件到主窗体中,作为添加任务列表按钮,设置如下:创建Push Button控件到主窗体中,作为删除任务列表按钮,设置如下:创建Push Button控件到主窗体中,作为确认按钮,设置如下:创建Push Button控件到主窗体中,作为取消按钮,设置如下:创建D...

2018-05-11 09:46:25 355

原创 在高通410c开发板使用PyQt开发电动窗帘Demo(三)

本文继续介绍在高通410c开发板上开发电动窗帘Demo的开发步骤使用QtDesigner开发UI4.      日期时间提示框拖拽Label组件到主窗体,用来显示系统日期,设置Property Editor 面板属性如下:拖拽Label组件到主窗体,用来显示系统时间,设置Property Editor 面板属性如下:5. 窗帘位置进度条显示并设置当前窗帘位置拖拽Horizontal Slider组...

2018-05-11 09:43:47 232

原创 在高通410c开发板使用PyQt开发电动窗帘Demo(二)

本文继续介绍电动窗帘的开发步骤使用Designer开发UI2.背景图片添加在WidgetBox中找到Label物体,拖拽到MainWindow窗体中在Object Inspector面板中设置Label名为bg,在Property Editor中设置geometry属性的Width和Height分别为800和600,X和Y都为0,设置Text属性为空。在ElectricCurtainUI所在目录中...

2018-05-11 09:40:46 351

原创 在高通410c开发板使用PyQt开发电动窗帘Demo(一)

高通410c开发板,电动窗帘Demo主要功能如下:1.PyQt客户端,通过滑块方式控制窗帘打开或关闭的位置。2.PyQt客户端,通过添加窗帘任务的方式,定时控制窗帘的打开和关闭。最终PyQt客户端效果如下:拖动上方滑块控制窗帘位置。点击Add按钮,设置任务时间以及窗帘位置,程序运行到制定时间后会控制窗帘位置。点击任务列表里的任务项,之后点击Remove按钮,删除已有任务。基本的功能和交互就是这些,...

2018-05-11 09:36:58 569 1

原创 高通410c开发板开发PyQt应用之PyQt4开发环境搭建(三)

本文将继续讲解PyQt的环境搭建配置QtDesigner,打开Pycharm,选择File->Settings,在弹出的面板中选择Tools->External Tools,点击添加按钮编辑信息如下:Name标签设置为QtDesigner,Program为PyQt4安装目录下的designer.exe文件,Working Directory为PyQt4的安装目录点击OK添加成功。配置P...

2018-05-02 14:34:38 278

原创 高通410c开发板开发PyQt应用之PyQt4开发环境搭建(二)

上一篇文章中简单介绍了Python以及PyQt的相关知识,本文将介绍如何在Window7 64位的环境下搭建PyQt4的开发环境。Python3 下载及安装首先从Python官网中下载Python3.4.2版本Window 64的安装包,具体下载链接为https://www.python.org/downloads/release/python-342/ 安装包下载完成后,双击安装包按提示安装即可...

2018-05-02 14:31:51 314

原创 高通410c开发板开发PyQt应用之PyQt4开发环境搭建(一)

    高通410c开发板为debian系统,其内核为linux内核,需求是在debian上使用PyQt4开发linux应用,从本文开始将用三个章节介绍如何在高通410c的开发板以及PC上搭建PyQt4的开发和运行环境。    硬件介绍:    开发环境硬件,在开发中,使用了Window7 64位的PC作为PyQt4的开发环境,当然如果有条件也可以使用ubantu、Mac等操作系统的硬件,当然对应...

2018-05-02 14:27:16 613

原创 在DragonBoard 410c开发板debain系统上python文件的写入和读取

最近在DragonBoard 410c开发板debain系统上使用python开发了一个文件读取和写入的功能具体代码如下:# -*- coding: utf-8 -*-import sys,osStrFilePath = os.path.dirname(os.path.realpath(__file__))+"testFile.txt"def WriteToFile(str): p...

2018-04-25 15:30:00 268

原创 在DragonBoard 410c开发板debain系统上使用pyqt开发定时抓取网页功能

PyQt是一个创建GUI应用程序的工具包。它是Python编程语言和Qt库的成功融合。Qt库是目前最强大的库之一。最近在工作中遇到的问题是如何在DragonBoard 410c开发板debain系统上开发定时抓取网页的功能,话不多说,贴上代码,紧供参考:# -*- coding: utf-8 -*-import urllib.requestimport threadingfrom PyQt4...

2018-04-25 15:13:58 263

原创 Qualcomm_Snapdragon_VR_SDK SvrPluginWin脚本简介(2)

SvrPluginWin在SDK中是如何使用的,同SvrPluginAndroid一样SvrPluginWin继承了SvrPlugin类,实现了SvrPlugin类中的相关方法。在SvrPlugin中会判断当前平台类型,返回对应平台的SvrPlugin中的方法。具体代码如下public static SvrPlugin Instance { get { if (instance =...

2018-04-19 10:25:37 344

原创 Qualcomm_Snapdragon_VR_SDK SvrPluginWin脚本简介(1)

从本文开始将介绍Qcom SDK中SvrPluginWin的实现。与SvrPluginAndroid脚本的作用类似,SvrPluginWin的代码是负责Win平台中VR效果的实现具体的代码逻辑如下:using UnityEngine;using System;using System.Collections;using System.Runtime.InteropServices;cla...

2018-04-19 10:18:18 430

原创 Qualcomm_Snapdragon_VR_SDK SvrPluginAndroid脚本简介(17)

到了本章节,SvrPluginAndroid脚本的全部代码已经介绍完毕。SvrPluginAndroid集成了SvrPlugin类,是SDK在Android平台上适配的VR模式相关方法和逻辑脚本。其中比较关键的方法和逻辑如下:1.BeginVR开始VR模式public override IEnumerator BeginVr(int cpuPerfLevel, int gpuPerfLevel)...

2018-04-19 10:13:51 605

原创 Qualcomm_Snapdragon_VR_SDK SvrPluginAndroid脚本简介(16)

本文将对Qcom VR SDK中手柄相关的代码做简单的讲解。 //--------------------------------------------------------------------------------------------- //Controller Apis //---------------------------------------------------...

2018-04-12 15:26:50 1971

原创 Qualcomm_Snapdragon_VR_SDK SvrPluginAndroid脚本简介(15)

在SvrPluginAndroid中还提供了一些手柄的操作方法。Qcom VRSDK中手柄兼容的是Ximmerse手柄,方便开发这快速的连接手柄开发相关程序。具体的代码如下: //--------------------------------------------------------------------------------------------- //Controller Ap...

2018-04-12 15:23:08 1914

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除