自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 高通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 642

原创 高通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 572

原创 高通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 494

原创 高通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 345

原创 高通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 677

原创 高通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 759

原创 高通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 331

原创 高通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 414

原创 高通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 389

原创 高通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 486

原创 基于高通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 510

原创 基于高通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 440

原创 基于高通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 335

原创 基于高通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 417

原创 基于高通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 419

原创 在高通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 735

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

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

2018-05-11 09:46:25 382

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

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

2018-05-11 09:43:47 254

原创 在高通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 376

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

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

2018-05-11 09:36:58 601 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 309

原创 高通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 335

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

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

2018-05-02 14:27:16 655

空空如也

空空如也

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

TA关注的人

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