2C-SDK-Espressif IoT SDK 编程手册_v0.9.5_修正版

时间:2025-05-14

ESP8266EX 编程手册

[ [

] INTERNAL ] PUBLIC

ESP8266EX 编程手册

版本信息

Wi-Fi联盟成员标志归Wi-Fi联盟所有。

文中提到的所有商标名称、商标和注册商标均属其各自所有者的财产,特此声明。 版权归© 2014 乐鑫信息技术有限公司所有。保留所有权利。

ESP8266EX 编程手册

目录

版本信息........................................................................................................................ 2 目录................................................................................................................................ 4 1. 前言.................................................................................................... 9 2. 软件框架.......................................................................................... 10 3. SDK提供的API接口 .11 3.1. 定时器接口11 3.1.1. 11 3.1.2. os_timer_disarm .3.1.3. os_timer_setfn .2 3.2. 底层用户接口12 3.2.1. system_restore .12 3.2.2. 12 3.2.3. system_timer_reinit .13 3.2.4. system_init_done_cb .13 3.2.5. 14 3.2.6. 14 3.2.7. .15 3.2.8. 15 3.2.9. 16 3.2.10. 16 3.2.11. 16 3.2.12. 18 3.2.13. .18 3.2.14. 19 19 19 20 21 21 3.3. SPI Flash 相关接口 ......................................................................... 22 spi_flash_get_id ............................................................................... 22 spi_flash_erase_sector .................................................................... 22 3.3.3. spi_flash_write ................................................................................. 22 3.3.4. spi_flash_read .................................................................................. 23 3.4. WIFI相关接口 ................................................................................. 24 3.4.1. wifi_get_opmode ............................................................................. 24 3.4.2. wifi_set_opmode ............................................................................. 24 3.4.3. wifi_station_get_config ................................................................... 25 3.4.4. wifi_station_set_config .................................................................... 25 3.4.5. wifi_station_connect ....................................................................... 25

ESP8266EX 编程手册

3.4.6. wifi_station_disconnect ................................................................... 26 3.4.7. wifi_station_get_connect_status..................................................... 26 3.4.8. wifi_station_scan ............................................................................. 27 3.4.9. scan_done_cb_t ............................................................................... 28 3.4.10. wifi_station_ap_number_set ........................................................... 28 3.4.11. wifi_station_get_ap_info ................................................................. 29 3.4.12. wifi_station_ap_change ................................................................... 29 3.4.13. wifi_station_get_current_ap_id ...................................................... 29 3.4.14. wifi_station_get_auto_connect .30 3.4.15. 30 3.4.16. 31 3.4.17. wifi_station_dhcpc_stop . 3.4.18. 31 3.4.19. 32 3.4.20. wifi_softap_set_config .32 3.4.21. wifi_softap_get_station_info .32 3.4.22. 33 3.4.23. 34 3.4.24. wifi_softap_dhcps_stop .34 3.4.25. 34 3.4.26. 35 3.4.27. 35 3.4.28. 36 3.4.29. 36 3.4.30. 37 3.4.31. 38 3.4.32. 38 3.4.33. ......................................................................... 39 ......................................................................... 39 40 wifi_status_led_uninstall ................................................................. 40 .................................................................................. 41 system_upgrade_userbin_check ..................................................... 41 system_upgrade_flag_set ................................................................ 41 system_upgrade_flag_check............................................................ 42 system_upgrade_start ..................................................................... 42 3.5.5. system_upgrade_reboot .................................................................. 42 3.6. sniffer 相关接口 ............................................................................. 43 3.6.1. wifi_promiscuous_enable ................................................................ 43 3.6.2. wifi_set_promiscuous_rx_cb ........................................................... 43 3.6.3. wifi_get_channel .............................................................................. 43 3.6.4. wifi_set_channel .............................................................................. 44 3.7. smart config接口 ............................................................................ 44

ESP8266EX 编程手册

3.7.1. smartconfig_start ............................................................................. 44 3.7.2. smartconfig_stop ............................................................................. 45 3.7.3. get_smartconfig_status ................................................................... 46 3.8. 网络连接相关接口.......................................................................... 46 3.8.1. 通用接口 ......................................................................................... 46

3.8.1.1. espconn_delete ...................................................................... 46 3.8.1.2. espconn_gethostbyname ...................................................... 47 3.8.1.3. espconn_port .......................................................................... 48 3.8.1.4. espconn_regist_sentcb48 3.8.1.5. espconn_regist_recvcb49 3.8.1.6 …… 此处隐藏:10842字,全部文档内容请下载后查看。喜欢就下载吧 ……

2C-SDK-Espressif IoT SDK 编程手册_v0.9.5_修正版.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:7 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:29元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219