资源简介
esp8266物联网WiFi RTOS SDK 搭建IPV6 client和listened

代码片段和文件信息
/*
* ESPRSSIF MIT License
*
* Copyright (c) 2015
*
* Permission is hereby granted for use on ESPRESSIF SYSTEMS ESP8266 only in which case
* it is free of charge to any person obtaining a copy of this software and associated
* documentation files (the “Software“) to deal in the Software without restriction including
* without limitation the rights to use copy modify merge publish distribute sublicense
* and/or sell copies of the Software and to permit persons to whom the Software is furnished
* to do so subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or
* substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
* IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER
* IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#include “esp_common.h“
#include “espressif/esp_sta.h“ /* Wifi Station */
#include “espressif/esp_wifi.h“
#include “lwip/lwip/netif.h“
#include “uart.h“
extern void user_task();
/******************************************************************************
* FunctionName : user_rf_cal_sector_set
* Description : SDK just reversed 4 sectors used for rf init data and paramters.
* We add this function to force users to set rf cal sector since
* we don‘t know which sector is free in user‘s application.
* sector map for last several sectors : ABCCC
* A : rf cal
* B : rf init data
* C : sdk parameters
* Parameters : none
* Returns : rf cal sector
*******************************************************************************/
uint32 user_rf_cal_sector_set(void) {
flash_size_map size_map = system_get_flash_size_map();
uint32 rf_cal_sec = 0;
switch (size_map) {
case FLASH_SIZE_4M_MAP_256_256:
rf_cal_sec = 128 - 5;
break;
case FLASH_SIZE_8M_MAP_512_512:
rf_cal_sec = 256 - 5;
break;
case FLASH_SIZE_16M_MAP_512_512:
case FLASH_SIZE_16M_MAP_1024_1024:
rf_cal_sec = 512 - 5;
break;
case FLASH_SIZE_32M_MAP_512_512:
case FLASH_SIZE_32M_MAP_1024_1024:
rf_cal_sec = 1024 - 5;
break;
case FLASH_SIZE_64M_MAP_1024_1024:
rf_cal_sec = 2048 - 5;
break;
case FLASH_SIZE_128M_MAP_1024_1024:
rf_cal_sec = 4096 - 5;
break;
default:
rf_cal_sec = 0;
break;
}
return rf_cal_sec;
}
void manual_netif_setup() {
// First find our network interface
struct netif *interface = netif_find(“en0“);
// Check if it is up and set it up
bool is_interface_up = netif_is_up(interface);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\
文件 1210 2018-03-30 11:32 IPv6-ESP8266-master\LICENSE
文件 8454 2018-03-30 11:32 IPv6-ESP8266-master\README.md
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\
文件 62 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\.clang_complete
文件 8 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\.gitignore
文件 3011 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\Makefile
文件 254 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\build.sh
文件 3573 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\gen_misc.bat
文件 4236 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\gen_misc.sh
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\include\
文件 1297 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\include\user_config.h
文件 1439 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\readme.txt
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\user\
文件 1444 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\user\Makefile
文件 4772 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\user\user_main.c
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\wifi_lib\
文件 1556 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\wifi_lib\Makefile
文件 2109 2018-03-30 11:32 IPv6-ESP8266-master\esp-client\wifi_lib\wifi_task.c
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\
文件 20 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\.gitignore
文件 7915 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\Cargo.lock
文件 156 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\Cargo.toml
文件 459 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\README.md
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\src\
文件 2698 2018-03-30 11:32 IPv6-ESP8266-master\esp-ipv6-listener\src\main.rs
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\img\
文件 15012 2018-03-30 11:32 IPv6-ESP8266-master\img\Esp-ipv6-aufbau.jpeg
目录 0 2018-03-30 11:32 IPv6-ESP8266-master\wireshark-dumps\
文件 14672 2018-03-30 11:32 IPv6-ESP8266-master\wireshark-dumps\wireshark-cisco-ipv6.pcapng
文件 4632 2018-03-30 11:32 IPv6-ESP8266-master\wireshark-dumps\wireshark-esp8266-cisco.pcapng
............此处省略0个文件信息
- 上一篇:qt下人脸识别
- 下一篇:MAX修改器动画导入UNITY
相关资源
- ipv6网络抓包程序
- esp8266 win10驱动 cp2102
- 部署IPv6网络 中文版
- CSDN文件---ESP8266.rar
- CiscoIPv6网络实现技术.pdf
- 老毛子华硕固件DDNS ipv6
- stm32103c8t6ESP8266串口转WIFI模块TCP服务器
- ESP8266ESP8266安卓控制端源代码
- IPv4向IPv6的升级过渡解决方案
- IPV4向IPV6平滑过渡毕业论文
- 基于ns3.9实现的移动IPv6
- nudemcu相关工具和固件测试稳定
- 单片机通过ESP8266上传温湿度数据
- STM32F407ZG_ESP8266例程
- IPv6 网络隧道配置手册
- 水星D19G路由器支持ipv6的固件
- ESP8266最新稳定版固件
- ESP8266AP模式控制51单片机亮灯.docx
- ESP8266使用MQTT协议连接阿里云
- 贝壳物联arduino esp8266 demo版本
- ESP8266程序加上MQTT调试工具
- ESP8266_NONOS_SDK-3.0
- ESP8266+OLED屏实现天气预报+温度显示
- stm32f7的esp8266spi并口源程序,速率1.
- ESP8266连接云平台
- STM32C8T6通过扫描二维码进行智能开锁
- ESP8266微信配网以及公众号绑定
- ESP8266一键烧写工具
- 手机与ESP8266WiFi模块进行通信
- Windows_Server_2008配置ipv6
评论
共有 条评论