原廠參考2c-espressif iot sdk編程手冊-v0.9_第1頁
原廠參考2c-espressif iot sdk編程手冊-v0.9_第2頁
原廠參考2c-espressif iot sdk編程手冊-v0.9_第3頁
原廠參考2c-espressif iot sdk編程手冊-v0.9_第4頁
原廠參考2c-espressif iot sdk編程手冊-v0.9_第5頁
已閱讀5頁,還剩59頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

1、SDK 編程手冊1 /sSDK 編程手冊1 /s1, CurrentFei CompletionJiangangCompletion版本信2 /sJune 1, JiangangHan JiangangHan版本信2 /sJune 1, JiangangHan JiangangHanc JiangangWuHan2.增加 i2c masternt/server接口upgrade接JiangangWuHan apiJiangangJiangang1.dns接口; heap區(qū)大小接Fei 3 /sJune 1, 3 /sJune 1, 4.增加 SSL 加密 Server接口;修改nt接口稱Fei

2、 mac&ipFei URL。Wi-。歸 4 URL。Wi-。歸 4 /s1, 版本信前框SDK 提供的API 接定時器接版本信前框SDK 提供的API 接定時器接底層用戶接5 /sJune 1, espconn接通用接連接接UDP 接jsonAPI 接6 /sJune 1, 數(shù)據(jù)結(jié)構定定時器結(jié)wifi 參ion配置參softap配置參scan參json 相關結(jié)json 結(jié)json 宏定espconn參回調(diào)驅(qū)動接GPIO 接口PIN 腳功能設置GPIO 輸入輸出相關GPIO 中斷控制相關7 /GPIO 中斷處理函雙UART接口i2cmaster 接sJune 1, 無附ESPCONN編nt 模

3、說步server 模說步8 /sJune 1, 。API。APIESP8266。9 /sJune 1, 框 ESP8266框 ESP8266user_main.c 10 /sJune 1, 3SDKAPI3.1. 定時器說明:定時器接口接口函數(shù)或宏以及所使用的參數(shù)結(jié)構體定義在( 工程i3SDKAPI3.1. 定時器說明:定時器接口接口函數(shù)或宏以及所使用的參數(shù)結(jié)構體定義在( 工程ilesa.3.1.1.3.1.2.3.1.3.11 /sJune 3.2. 底層用戶說明: 以下所有接口函數(shù)或宏以及所使用的參數(shù)結(jié)構體定義在(e3.2. 底層用戶說明: 以下所有接口函數(shù)或宏以及所使用的參數(shù)結(jié)構體定義在

4、(eace3.2.1.3.2.2.12 /sJune 1, 3.2.3.3.2.4.3.2.5.13 /3.2.3.3.2.4.3.2.5.13 /sJune 1, 3.2.6.3.2.7.3.2.8.14 /3.2.6.3.2.7.3.2.8.14 /sJune 1, 3.2.9.15 /s3.2.9.15 /sJune 1, 16 /s16 /sJune 1, t17 /st17 /sJune 1, 18 /s18 /sJune 1, 19 /s19 /sJune 1, 20 /s20 /sJune 1, 21 /s21 /sJune 1, 22 /s22 /sJune 1, 23 /s2

5、3 /sJune 1, 24 /s24 /sJune 1, 25 /s25 /sJune 1, 26 /s26 /sJune 1, 27 /s27 /sJune 1, 28 /s28 /sJune 1, 29 /s29 /sJune 1, 3.3.espconn 說明:以下所有接口函數(shù)定義在(通用接口:TCP 3.3.espconn 說明:以下所有接口函數(shù)定義在(通用接口:TCP 30 /UDP sJune 1, 31 /sJune 1, 32 /s32 /sJune 1, 33 /s33 /sJune 1, 3.3.2TCP 34 /3.3.2TCP 34 /sJune 1, 35 /s35

6、 /sJune 1, 36 /s36 /sJune 1, 37 /s37 /sJune 1, 38 /s38 /sJune 1, 39 /s39 /sJune 1, 3.3.2.13. 3.3.3UDP 40 /3.3.2.13. 3.3.3UDP 40 /sJune 1, ilsss.iluejsojstee.h3.4.1.3.4.2.41 /sJune 1, 3.4.3.3.4.4.3.4.5.42 /3.4.3.3.4.4.3.4.5.42 /sJune 1, 3.4.6.3.4.7.3.4.8.43 /3.4.6.3.4.7.3.4.8.43 /sJune 1, 3.4.9.44 /s

7、3.4.9.44 /sJune 1, 45 /s45 /sJune 1, 46 /s46 /sJune 1, 4. 數(shù)據(jù)結(jié)構4.1. 定時器4.2.4. 數(shù)據(jù)結(jié)構4.1. 定時器4.2.wifi 參4.2.147 /sJune 1, 4.2.3scan4.3.json 相關結(jié)4.2.3scan4.3.json 相關結(jié)4.3.1json48 /sJune 1, 49 /s49 /sJune 1, 4.3.2json sicstructjsontree_pairjsontree_pair_#name= VA_ARGS sicstructjsontree_objectname4.3.2json si

8、cstructjsontree_pairjsontree_pair_#name= VA_ARGS sicstructjsontree_objectname= sicstructjsontree_value*jsontree_value_#name= VA_ARGS sicstructjsontree_arrayname=50 /sJune 1, 4.4.espconn 4.4.1/*callbackprototypetoinformabouteventsfor 4.4.espconn 4.4.1/*callbackprototypetoinformabouteventsforaespconnt

9、ypedefvoid(*espconn_recv_callback)(void*arg,char*pdata,unsignedshorttypedefvoid(*espconn_callback)(void*arg,char*pdata,unsignedshorttypedefvoid(*espconn_connect_callback)(void4.4.2typedefvoid*typedefstruct_esp_tcpchar typedefstruct_esp_udpchar/*Protocolfamilyandtypeoftheespconnenumespconn_type51 /sJ

10、une 1, =/*ESPCONN_TCPGroup=/*ESPCONN_UDPGroup=/* Current e of se=/*ESPCONN_TCPGroup=/*ESPCONN_UDPGroup=/* Current e of see/*Aespconndescriptorstructespconn/*typeoftheespconn(TCP,UDP)enumespconn_type/*currenteoftheespconneunionesp_tcpesp_udp52 /sJune 1, /*Acallbacktisinformedabouteventsfor/*Acallback

11、tisinformedabouteventsforthisespconn u8u1653 /sJune 1, 5. 驅(qū)動接5.1GPIO 5. 驅(qū)動接5.1GPIO MTDI 管腳為復用GPIO125.1.2.54 /s1, gpio_no管腳輸出bit_value5.1.2 gpio_no管腳輸出bit_value5.1.2GPIOGPIOGPIO/ sJune 1, 5.1.5. 5.25.1.5. 5.2UART接口默認情況下,UART0 debug UART 56 /sJune 1, 5.2.1.5.2.2.57 /5.2.1.5.2.2.57 /sJune 1, 5.2.3.5.3.1.5.3.2.5.2.3.5.3.1.5.3.2.58 /sJune 1, 5.3.3.5.3.4.5.3.5.59 /5.3.3.5.3.4.5.3.5.59 /sJune 1, 5.3.6.5.3.7.5.3.8.60 /5.3.6.5.3.7.5.3.8.60 /sJune 1, GPIO61 /GPIO61 /sJune 62 /s62 /sJune 1, 6. 無附ESPCONN nt 模cA.1.1. 說ESP8266 ion 模式下,確認已經(jīng)分6. 無附ESPCONN nt 模cA.1.1

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論