smart config

瑞萨Rx系列芯片开发,e2 studio安装、工程创建、smart configurator使用 瑞萨Rx系列芯片开发,e2 studio安装、工程创建、smart configurator。 阅读详情



转自:http://processors.wiki.ti.com/index.php/CC3000_Smart_Config

CC3000 Smart Config

Overview

A first step in utilizing CC3000 in a Wi-Fi enabled application is to configure CC3000 to a user’s Wi-Fi network. This requires information on the AP, or SSID name, and the security passcode when WEP/WPA/WPA2 is enabled. Considering that embedded Wi-Fi applications will generally lack user interfaces such as keypads or touchscreens, this process can be complex without the use of advanced I/O.

To create a great user experience, TI has created SmartConfig™ technology - a one-step and one-time process to connect a CC3000-enabled device to the home wireless network. This greatly stands apart from other Wi-Fi suppliers who require multiple steps to configure a device onto the network.

Smart Config leverages the standard mechanisms present in Wi-Fi to configure a CC3000's association information on the fly, regardless of whether user-interface is available. In this process a Wi-Fi enabled device such as a smartphone, tablet or a laptop is used to send the association information to the CC3000.

Additionally, SmartConfig does not depend on the host microcontroller's I/O capabilities, thereby usable by deeply embedded applications. It can be used to associate multiple devices to the same AP simultaneously. The Configuration process is secured with AES-128 encryption, and the SSID and KEY length are supported up to 32 bytes. And furthermore, the device used to configure (smartphone, tablet, or PC) stays connected to the user’s home network during the configuration process (as opposed to other methods that require disconnection).

 Cc3000 smart config.PNG



Refer to getting started with SmartConfig, in order to see how to run the SmartConfig application on smartphones.


Procedure

In order to perform the Smart Config procedure, CC3000 must initially enter the Smart config mode. This process can be triggered externally on the CC3000 device by pressing a button on the processor's board. For example, it will be S1 on the MSP430 Experimenter board. For more details on this, please refer to Using Smart Config section in the CC3000 First Time Getting Started Guide.

When the configuration process is triggered, the CC3000 device performs the following:


  • CC3000 enters the Smart Config state and starts probing UDP packets which contain the information regarding the SSID and the key of the AP that the CC3000 will connect to.
  • Once CC3000 receives all the association information, it generates a SIMPLE_CONFIG_DONE asynchronous event to the host and saves the Smart Config association information received in shared memory (EEPROM file ID 13).
  • The Smart Config process can be performed with AES encryption or without, decided by an environment compilation flag (CC3000_UNENCRYPTED_SMART_CONFIG)
  • If AES encryption is selected, the configuring device (smartphone) will encrypt the association information broadcast with a specific key chosen by both sides.
  • If AES encryption is selected, the host first decrypts the association information from the shared memory and then stores it as a profile.
  • If AES encryption is not selected, CC3000 stores the association information as a profile.
  • Once the Smart Config process is complete, the profile is stored, CC3000 resets and connects to the desired AP, and an mDNS packet is sent to the configuring device in order to stop the configuration process and to announce completion.
  • The following figures show this process with and without AES encryption enabled as seen by the host MCU and CC3000:


Smart Config flow - AES encryption enabled
Procedure smart config.PNG

 

Smart Config flow - AES encryption disabledProcedure smart config1.PNG

 

Important Note: During the SmartConfig process, there is a momentary insecurity when working in "AES encryption disabled" mode, as the SSID and password are sent unencrypted during that time. This step is typically performed once in a product's lifetime. The advantage of working in "AES encryption disabled" mode is the ability to configure simultaneously multiple devices without the need to sync the key among all of them. It also gives a better user experience in some product deployments.

For security, users/customers should use the "AES encryption enabled" mode (assuming memory is not an issue). This requires customers to ship a unique AES key with each device shipped (e.g. printed on a sticker on the side of the device).

APIs

The APIs used to complete the Smart Config process are as follows:


nvmem_create_entry(NVMEM_AES128_KEY_FILEID, AES128_KEY_SIZE) – Create an entry at field ID 12 to store the AES key. (Only when AES encryption is enabled)

aes_write_key(key)- write the key to EEPROM - fileID 12. (Only when AES encryption is enabled)

wlan_smart_config_set_prefix(aucCC3000_prefix)– Set CC3000 prefix. Currently this API has to be called with the value ‘TTT’.

wlan_smart_config_start() – Send command to CC3000 to start the Smart config process.

wlan_smart_config_process(1) – Call this API with value 1 when AES encryption is enabled, otherwise 0. Brief process the acquired data and store it as a profile.

wlan_ioctl_set_connection_policy(DISABLE, DISABLE, ENABLE)– sets the connection policy, Set parameters to use Auto connect in order to connect to a stored profile.

 

 

Limitations

  •  Currently is it not possible to configure multiple CC3000 devices to different APs simultaneously

     NOTE: It is possible to configure multiple CC3000 devices to different APs serially, OR configure multiple CC3000 devices to the same AP simultaneously

  •  Currently it is only possible to use smartphones and tablets as the configuring device, including IOS and Android devices. In the future, a PC application can be used as well. 
  •  Key length is limited to 31 characters only when working with AES encryption.
  •  Smart Config - ascii WEP security without SmartConfig AES encryption doesn't work. (WEP security with Smart Config AES encryption does work, same configuration is working with wlan_connect)
  •  MTU in the configurable side should be set to 1500.
  •  It does not work with configuring devices that are MIMO devices.
  •  It does not work with configuring SISO devices at a channel width of 40MHz.
  •  It works at 11n rates only up to MCS7.

Examples using IOS\Android\PC devices

The following section shows how to set the IOS application to configure CC3000 to connect to a specific AP. Before you begin, it is important to ensure that CC3000 is in Smart Config mode and the configuring device is connected to the same network that you want the CC3000 to connect to.

IOS configuration.PNG


  •  SSID: AP’s SSID is automatically detected or can be configured by the user.
  •  Password: AP’s password in the case where WEP, WPA, WPA2 security is used. When security is OPEN, leave this field empty.
  •  Gateway IP Address: AP’s IP is automatically detected.
  •  Key: Fill in this field only case when AES is enabled. Make sure the key is identical to the key on the embedded side. Key length: 16 characters.
  •  Device Name: In order to stop the configuration process (once CC3000 is associated to the AP) an mDNS packet is sent with the device name. Make sure the device name is identical to the device name on the embedded side.
  •  Start: Press this key to start the configuration process. At this point this button will turn to STOP and will be colored red. Once CC3000 is connected and the configuring device receives the mDNS packet with the device name, this button will turn blue again.

Application Development Information

TI provides Smart Config example application for IOS, Android and PC devices.

This application is the configuring side in the process of connecting CC3000 device to a specific AP using the Smart Config feature.

In order to develop similar application for your product, please use the following wiki pages:

Smart Config Application development information - iOS

Smart Config Application development information - Android

Smart Config Application development information - PC








ESP32系列教程之SmartConfig智能配网 使用ESP32进行SmartConfig智能配网 阅读详情

相关推荐

ESP32 Smart Config一键配网原理与MicroPython实现

Smart Config是一种基于Wi-Fi广播帧载荷编码的免网络配网技术,其核心是将SSID与密码通过UDP端口字段隐式传输,使未联网设备可在无局域网前提下接收配置。该机制依赖Wi-Fi协议栈对802.11帧的混杂监听与解码能力,具备低耦合、零APP依赖、快速部署等工程优势。在嵌入式物联网领域,它广泛应用于ESP32等MCU平台,支撑消费级产品实现用户友好的“手机扫码即连”体验。本文聚焦ESP32平台,结合MicroPython固件约束、配网状态机设计与微信小程序协同逻辑,系统阐述从协议原理、固件验证、代

weixin_32389853的博客 327

e2studio不能用smart configuration

原因是没有勾选对芯片

weixin_44737922的博客 635

ESP32-C3入门教程 网络 篇(二、 Wi-Fi 配网 — Smart_config方式 和 BlueIF方式)_esp32-c3softap

上面的测试相对示例程序来说更加合理,但是如果换了一个不同的环境,那么以前配置的 WiFi 账号密码不能用,那么上述的修改也不能满足要求,同时上面只是为了测试,程序中直接配网以后没有删除配网任务,会占用一定的内存资源,实际使用稍微注意一下。但是上面的测试也说了,官方的示例每次进入都会进行配网操作,在我们进行修改以后,有可能不会进入配网操作,但是这个任务还是会被创建,不会走到配网完成那个步骤的话,这个任务就会一直存在,占用这内存空间。(使用 FreeRTOS 建立的配网任务,在配网完成后可以删除。

2401_87555719的博客 2461

WIFI智能电源插座是怎么连上路由器的?

WIFI智能电源插座是怎么连上路由器的? 见到淘宝上有不少卖WIFI智能电源插座的 这些插座都是又手机控制,只需要下载个手机软件,将智能插座插上后开关打开就好了,一切设定都是在手机上进行的 我不明白的是,智能插座是怎么连上路由器的?手机上可以通过软件输入WIFI密码,然后连上,但是那个插座本身不能设定任何东西,那么它是怎么连上WIFI网络的? bjkk 发表于 2014-8-6

autumn20080101的专栏 2521

ESP32-C3入门教程 WiFi篇⑤——WiFi Smart Config 智能配网(基于AirKiss)

文章目录一、前言二、代码修改三、运行效果 一、前言 本文基于VS Code IDE进行编程、编译、下载、运行等操作 基础知识点请查阅:ESP32-C3入门教程 基础篇①——基于VS Code构建Hello World 本文同样讲述ESP32的SmartConfig 智能配网过程,基本原理同:ESP32-C3入门教程 网络篇④——WiFi Smart Config 智能配网(基于EspTouchForAndroid),不再赘述。 本文主要是基于Airkiss的SmartConfig智能配网,流程原理与Es

2821

从零开始:面板数据熵值法的Stata实现与常见陷阱解析

本文详细介绍了面板数据熵值法在Stata中的实现步骤与常见陷阱解析。通过熵值法客观赋权特性,科学构建综合指数,特别适合处理多维面板数据。文章涵盖数据预处理、标准化方法选择、Stata代码实现及结果可视化,并针对常见问题提供实用解决方案,助力研究者避免分析误区。

study的专栏 621

ESP8266 SmartConfig一键配网

ESP8266 SmartConfig一键配网   Wi-Fi 配网,指由外部向 Wi-Fi 设备提供 SSID 和密码(PSW),让 Wi-Fi 设备可以连接指定的热点或路由器,并加入后者所建立的 Wi-Fi 网络。   对于具备丰富人机界面包括屏幕/键盘的设备,例如电脑或手机,可以直接输入 SSID/PSW 进行连接。   对于不具备丰富人机交互界面的物联网 Wi-Fi 设备,例如智能灯、扫地机器人等,则可以借助手机等智能设备,以某种配网方式将 SSID/PSW 传递该设备。   基本原理   1.设备

weixin_44453694的博客 8551

Ubuntu20.04 高效安装企业微信的完整指南

本文提供了在Ubuntu20.04系统上高效安装企业微信的完整指南,详细介绍了通过Deepin-wine环境运行Windows版企业微信的步骤和优化技巧。内容包括系统环境检查、依赖安装、企业微信包的获取与安装、首次运行配置及常见问题解决方案,帮助开发者在Ubuntu系统中流畅使用企业微信进行办公通讯。

weixin_42568801的博客 353

Smart-Config SpringBoot动态变更配置 单机版apollo

Smart-Config 动态变更配置 单机版Apollo

yangfeng20的博客 809

论文理解【LLM-OR】——【SIRL】Solver-Informed RL: Grounding Large Language Models for Authentic Optimization M

本文提出第一种针对基于 LLM 的 OR 问题建模和求解任务的 RLVR 方法,其基于求解器得到可验证奖励,设计了 Partial KL 强化目标函数和两阶段奖励课程训练方法,达成了 SOTA 性能

佚失的诗篇 884

STM32F103ZE精英板驱动ESP8266与DHT11构建物联网网关,实现乐联网温湿度数据实时监控

本文详细介绍了如何使用STM32F103ZE精英板驱动ESP8266与DHT11构建物联网网关,实现乐联网温湿度数据实时监控。从硬件选型、连接调试到乐联网平台配置和STM32程序开发,提供了完整的实现步骤和常见问题解决方案,适合物联网入门开发者参考。

weixin_30823001的博客 81

ESP32-C3入门教程 网络 篇(二、 Wi-Fi 配网 — Smart_config方式 和 BlueIF方式)

经过上一篇的WiFI入门篇,我们知道了WiFi初始化方式 和学会了WiFi的几种工作方式, 在实际应用中,环境复杂多变,在固件中输入SSID 的方式太不通用了, 所以肯定是需要学习一下如何在不同的环境中联网,就是所谓的配网。 ESP32-C3的配网方式有多种,本文主要说明测试 Smart方式 和 BlueIF方式。

不浮夸,不将就,认真对待学知识的我们 1万+

保姆级教程:在S32K312上配置C40驱动,实现Flash读写(基于RTD 4.4.2)

本文详细介绍了在S32K312微控制器上配置C40驱动实现Flash读写的全流程,基于RTD 4.4.2库。内容涵盖环境搭建、外设配置、Flash操作实战代码及高级应用场景,特别针对LLD驱动和FLS存储操作中的常见问题提供了解决方案,帮助开发者快速掌握嵌入式Flash存储技术。

weixin_28684757的博客 262

ESP8266 Smart Config

ESP8266 配置wifi连接方式 1、手机下载ai-link-2015-4-8 013647.apk并安装,添加微信公共账号AiThinker_Technology 2、串口连接至ESP8266 3、通过AT+GMR查看固件版本号,至少要保证是0.9.5,如下: AT+GMR AT version:0.21.0.0 SDK version:0.9.5 OK 4、Smart Co...

oshan2012的博客 820

C#串口通信从入门到精通(11)——串口接收的数据存储到本地文件(txt、csv)

本文详细介绍如何将串口通信将数据进行本次存储,主要介绍常用的csv、txt格式文件,由多年实战经验总结,绝对干货!

qq_34059233的博客 7240

实战|2026美团&大众点评餐饮数据抓取:Playwright/Selenium反爬全攻略

核心结论:2026年美团&大众点评的反爬核心是“多维度风控”,需组合使用“住宅IP+设备指纹伪装+真人行为模拟+动态验证处理”,Playwright是最优工具,Selenium仅作为补充。效率优化:单机爬取速度建议控制在“每小时500-800条”,避免高频请求触发风控;分布式爬取需确保每个节点使用独立住宅IP,且行为轨迹不一致。扩展方向集成WASM解密工具,破解2026年美团的Token加密;用AI识别动态点选验证,提升验证通过率;对接大数据平台,对抓取的餐饮数据进行可视化分析。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 2466

ESP32 smart_config和airkiss配网

ESP32 smart_config和airkiss配网 陈拓 2021/11/28-2021/11/30 1. 简介 官方例程: https://gitee.com/EspressifSystems/esp-idf/tree/master/examples/wifi/smart_config 此示例演示ESP32如何使用ESPTOUCH和微信airkiss连接到目标AP。 2. 开发环境 《Win10启用Linux子系统安装Ubuntu》 https://blog.youkuaiyun.com/c

晨之清风 1535

最小二乘(MLS)求点云法向量

MLS算法的基本思想是通过在点云的局部邻域内拟合一个光滑曲面,如平面或多项式曲面,以此来重建和处理点云数据。对于法向量估计,MLS通常在每个点的邻域内拟合局部平面,然后从该平面的法向量作为点的法向量。

twnkie的博客 745

ESP-ADF wifi_service子模块esp_wifi_setting配网之smart_config详解

ESP-ADF的smart_config模块实现了基于ESP-IDF SmartConfig功能的WiFi配网方式,通过遵循esp_wifi_setting接口规范,它成为了WiFi服务的可插拔组件之一。使用SmartConfig,用户可以通过手机APP向ESP设备传递WiFi配置信息,无需设备具备显示界面或输入能力。创建和初始化分配资源并注册功能函数启动配网配置并启动ESP-IDF的SmartConfig功能事件处理:回调函数处理配网过程中的各种事件,当获取到WiFi信息后通知WiFi服务。

omnibots的博客 1849

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

基于 smart-config技术实现

基于无线网络嗅探的智能配网技术研究 摘要 现代化的计算机和通信技术已经应用到生活的各个方面,物联网技术已经逐步的影响我们的生活方式,例如智能家居,车联网,智能玩具等。由于无线网络的方便,快捷,稳定等特性,使得无线网络在物联网应用中成为设备实现网络互连的首要选择。 随着物联网的蓬勃发展,设备接入无线网络的方式也发经历了许多改变,传统的配置无线网络的方式有通过蓝牙和AP模式。使用蓝牙配置无线网络...

qq_25396349的博客 4020

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

android wifi混杂模式,wifi模块接入路由器方法之smart config

概念smart config是指从已接入路由器的设备(通常是手机),发送组播或广播。未接入路由器的Wi-Fi设备可以接收到这些信息,从而连接路由器,实现对设备的一键配网。原理混杂模式通常,我们所说的组播和广播,都是局域网内的。因为通常情况下,我们的网卡处于普通模式,此时网卡只接受来自网络端口的目的地址指向自己的数据。当网卡工作在混杂模式下时,网卡能够接收所有经过它的数据流,而不论其目的地址是否是他...

weixin_42521450的博客 1566

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

ESP8266 Smart Config配网

Smartconfig(一键配网)模式 Smartconfig原理 Smartconfig 简称一键配网,它可以将WIFI设备便捷快速的连接路由器。smartconfig原理: 智能设备进入初始化状态,处于混杂模式下,监听网络中的所有报文,手机端APP将WiFi名和密码编码到UDP报文中,通过广播包或者组播包发送,智能设备接收到UDP报文后解码,得到WiFi名称和密码,然后主动连接到指定的WiFi AP路由器上。 对于ESP8266使用微信公众号端进行一键配网简单操作步骤: 1.8266 端作为stati

希哈科技 1540

自己实现smart-config或者说Air-kiss

毕业设计项目–智能配网技术研究技术核心点: 无线网卡监听模式这个技术实现的核心是无线网卡的监听模式,无线网卡的监听模式解释如下: 监听模式(Monitor Mode),或RFMON (Radio Frequency MONitor),是指无线网卡可以接收所有经过它的数据流的工作方式,对应于IEEE 802.11网卡的其他模式,诸如Master(路由器)、Managed(普通模式的网卡)、Ad-ho

qq_25396349的博客 4935

wifi smart config配网原理

wifi smart config配网原理应用场景基本原理总结 应用场景 智能空调这样的家电,想要进行wifi联网,是需要手机的协助才能完成; 通常的配网方式有:wifi组播、wifi广播、蓝牙配网 本文介绍一下wifi组播的配网原理 基本原理 空调中的wifi模块工作在监听模式(也有人加混杂模式、也有人叫sniffer模式),手机wifi发送组播包; wifi模块监听MAC层的组播包,从组播包中提取出有效信息; 原理的关键点:手机发送的组播包对应的是TCP协议层中的第3层的TCP/IP协议,wifi模块监

scmlb的博客 1641
上一篇: input work flow
下一篇: 如何让无显示器的家用设备连接到Wi-Fi网络?
YasinLeeX
博客等级 码龄19年 380粉丝 310原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值