mirror of
https://github.com/lsdlsd88/JC4827W543.git
synced 2026-05-26 10:27:43 +01:00
7621 lines
1.0 MiB
Plaintext
7621 lines
1.0 MiB
Plaintext
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":7712,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server644878999\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server644878999/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 1032
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server644878999/sketch/sketch_aug13a.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\AppData\\\\Local\\\\Temp\\\\.arduinoIDE-unsaved2021713-21644-mbk9v2.cjcjr\\\\sketch_aug13a\\\\sketch_aug13a.ino\"\n#line 1 \"C:\\\\Users\\\\zhulin\\\\AppData\\\\Local\\\\Temp\\\\.arduinoIDE-unsaved2021713-21644-mbk9v2.cjcjr\\\\sketch_aug13a\\\\sketch_aug13a.ino\"\nvoid setup();\n#line 6 \"C:\\\\Users\\\\zhulin\\\\AppData\\\\Local\\\\Temp\\\\.arduinoIDE-unsaved2021713-21644-mbk9v2.cjcjr\\\\sketch_aug13a\\\\sketch_aug13a.ino\"\nvoid loop();\n#line 1 \"C:\\\\Users\\\\zhulin\\\\AppData\\\\Local\\\\Temp\\\\.arduinoIDE-unsaved2021713-21644-mbk9v2.cjcjr\\\\sketch_aug13a\\\\sketch_aug13a.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 204
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server644878999/sketch/sketch_aug13a.ino.cpp"}},"id":1,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
|
||
>>>
|
||
Content-Length: 303
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server644878999/sketch/sketch_aug13a.ino.cpp"},"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":0}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/39","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/39","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/39","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/39","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/39","percentage":2.5641025641025643}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/39","percentage":2.5641025641025643}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/39","percentage":2.5641025641025643}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/39","percentage":2.5641025641025643}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/39","percentage":2.5641025641025643}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/39","percentage":2.5641025641025643}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/39","percentage":5.1282051282051286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/39","percentage":5.1282051282051286}}}Content-Length: 1171
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server644878999/sketch/sketch_aug13a.ino.cpp","version":1}}Content-Length: 778
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":12,"name":"setup","range":{"end":{"character":12,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":5,"line":3}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":9,"line":5},"start":{"character":5,"line":5}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":10},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":10,"line":7},"start":{"character":5,"line":7}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":15},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":9,"line":12},"start":{"character":5,"line":12}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/39","percentage":7.6923076923076925}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/39","percentage":7.6923076923076925}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/39","percentage":10.256410256410257}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/39","percentage":10.256410256410257}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/39","percentage":12.820512820512821}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/39","percentage":12.820512820512821}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/39","percentage":15.384615384615385}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/39","percentage":15.384615384615385}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/39","percentage":17.948717948717949}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/39","percentage":17.948717948717949}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/39","percentage":20.512820512820515}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/39","percentage":20.512820512820515}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/39","percentage":23.076923076923077}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/39","percentage":23.076923076923077}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/39","percentage":25.641025641025642}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/39","percentage":25.641025641025642}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/39","percentage":28.205128205128204}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/39","percentage":28.205128205128204}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/39","percentage":30.76923076923077}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/39","percentage":30.76923076923077}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/39","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/39","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/39","percentage":35.897435897435898}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/39","percentage":35.897435897435898}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/39","percentage":38.46153846153846}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/39","percentage":38.46153846153846}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/39","percentage":41.025641025641029}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/39","percentage":41.025641025641029}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/39","percentage":43.589743589743591}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/39","percentage":43.589743589743591}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/39","percentage":46.153846153846153}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/39","percentage":46.153846153846153}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/39","percentage":48.717948717948715}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/39","percentage":48.717948717948715}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/39","percentage":51.282051282051285}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/39","percentage":51.282051282051285}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/39","percentage":53.846153846153847}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/39","percentage":53.846153846153847}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/39","percentage":56.410256410256409}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/39","percentage":56.410256410256409}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/39","percentage":58.974358974358971}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/39","percentage":58.974358974358971}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/39","percentage":61.53846153846154}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/39","percentage":61.53846153846154}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/39","percentage":64.102564102564102}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/39","percentage":64.102564102564102}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/39","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/39","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/39","percentage":69.230769230769226}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/39","percentage":69.230769230769226}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/39","percentage":71.794871794871796}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/39","percentage":71.794871794871796}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/39","percentage":74.358974358974365}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/39","percentage":74.358974358974365}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/39","percentage":76.92307692307692}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/39","percentage":76.92307692307692}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/39","percentage":79.487179487179489}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/39","percentage":79.487179487179489}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/39","percentage":82.051282051282058}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/39","percentage":84.615384615384613}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/39","percentage":87.179487179487182}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/39","percentage":89.743589743589737}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/39","percentage":92.307692307692307}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/39","percentage":94.871794871794876}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/39","percentage":97.435897435897431}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":5284,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server539272211\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 1115
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 6 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
|
||
>>>
|
||
Content-Length: 318
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":0}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/38","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/38","percentage":2.6315789473684212}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/38","percentage":2.6315789473684212}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/38","percentage":2.6315789473684212}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/38","percentage":5.2631578947368425}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/38","percentage":5.2631578947368425}}}Content-Length: 1186
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 778
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":12,"name":"setup","range":{"end":{"character":12,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":5,"line":3}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":9,"line":5},"start":{"character":5,"line":5}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":10},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":10,"line":7},"start":{"character":5,"line":7}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":15},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":9,"line":12},"start":{"character":5,"line":12}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/38","percentage":7.8947368421052628}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/38","percentage":7.8947368421052628}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/38","percentage":10.526315789473685}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/38","percentage":10.526315789473685}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/38","percentage":13.157894736842104}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/38","percentage":13.157894736842104}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/38","percentage":15.789473684210526}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/38","percentage":15.789473684210526}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/38","percentage":18.421052631578949}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/38","percentage":18.421052631578949}}}Content-Length: 158
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/38","percentage":21.05263157894737}}}Content-Length: 158
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/38","percentage":21.05263157894737}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/38","percentage":23.684210526315791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/38","percentage":23.684210526315791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/38","percentage":26.315789473684209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/38","percentage":26.315789473684209}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/38","percentage":28.94736842105263}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/38","percentage":28.94736842105263}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/38","percentage":31.578947368421051}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/38","percentage":31.578947368421051}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/38","percentage":34.210526315789473}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/38","percentage":34.210526315789473}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/38","percentage":36.842105263157897}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/38","percentage":36.842105263157897}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/38","percentage":39.473684210526315}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/38","percentage":39.473684210526315}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/38","percentage":42.10526315789474}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/38","percentage":42.10526315789474}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/38","percentage":44.736842105263158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/38","percentage":44.736842105263158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/38","percentage":47.368421052631582}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/38","percentage":47.368421052631582}}}Content-Length: 144
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/38","percentage":50}}}Content-Length: 144
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/38","percentage":50}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/38","percentage":52.631578947368418}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/38","percentage":52.631578947368418}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/38","percentage":55.263157894736842}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/38","percentage":55.263157894736842}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/38","percentage":57.89473684210526}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/38","percentage":57.89473684210526}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/38","percentage":60.526315789473685}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/38","percentage":60.526315789473685}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/38","percentage":63.157894736842103}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/38","percentage":63.157894736842103}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/38","percentage":65.78947368421052}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/38","percentage":65.78947368421052}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/38","percentage":68.421052631578945}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/38","percentage":68.421052631578945}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/38","percentage":71.05263157894737}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/38","percentage":71.05263157894737}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/38","percentage":73.684210526315795}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/38","percentage":73.684210526315795}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/38","percentage":76.315789473684205}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/38","percentage":76.315789473684205}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/38","percentage":78.94736842105263}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/38","percentage":78.94736842105263}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/38","percentage":81.578947368421055}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/38","percentage":84.21052631578948}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/38","percentage":86.84210526315789}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/38","percentage":89.473684210526315}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/38","percentage":92.10526315789474}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/38","percentage":94.736842105263165}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/38","percentage":97.368421052631575}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 246
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":0}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 258
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":0}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 318
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":0}},"context":{"diagnostics":[]}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 246
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":8,"character":4}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":2},"contentChanges":[{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":0}},"text":"\n"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1186
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":2}}
|
||
>>>
|
||
Content-Length: 318
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":0},"end":{"line":8,"character":0}},"context":{"diagnostics":[]}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 1121
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":3},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n\n#line 2 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 7 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 2 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}]},"jsonrpc":"2.0"}Content-Length: 445
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":4},"contentChanges":[{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"text":"#include \"WiFi.h\"\n#include \"ESPAsyncWebServer.h\"\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e"}]},"jsonrpc":"2.0"}Content-Length: 251
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":4}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 781
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":[{"kind":12,"name":"setup","range":{"end":{"character":12,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":10,"line":7},"start":{"character":5,"line":7}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":9,"line":9},"start":{"character":5,"line":9}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":14},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":19},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":9,"line":16},"start":{"character":5,"line":16}}}]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":10,"character":16},"end":{"line":10,"character":16}},"context":{"diagnostics":[]}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 247
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":3}},"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":11,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":9},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":10}},"id":12,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":12,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":10},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":15}},"id":13,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":13,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":10}},"id":14,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":14,"jsonrpc":"2.0","result":[]}Content-Length: 1186
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":4}}
|
||
>>>
|
||
Content-Length: 1243
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":5},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \"WiFi.h\"\n#include \"ESPAsyncWebServer.h\"\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n#line 5 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 10 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 5 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}]},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":10},"end":{"line":2,"character":10}},"context":{"diagnostics":[]}},"id":15,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":1,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":1,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3.8461538461538463}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3.8461538461538463}}}Content-Length: 37
|
||
|
||
{"id":15,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 220
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":16,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 782
|
||
|
||
{"id":16,"jsonrpc":"2.0","result":[{"kind":12,"name":"setup","range":{"end":{"character":12,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":10,"line":7},"start":{"character":5,"line":7}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":9,"line":9},"start":{"character":5,"line":9}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":14},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":19},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":9,"line":16},"start":{"character":5,"line":16}}}]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":3,"character":14}},"id":17,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":17,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":6},"contentChanges":[{"range":{"start":{"line":2,"character":9},"end":{"line":2,"character":10}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":13},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":14},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":3,"character":14}},"id":18,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":18,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":15},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":9},"end":{"line":2,"character":9}},"context":{"diagnostics":[]}},"id":19,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":19,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":3,"character":14}},"id":20,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":20,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":17},"jsonrpc":"2.0"}Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":7},"contentChanges":[{"range":{"start":{"line":2,"character":9},"end":{"line":2,"character":9}},"text":"《"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":16},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":10},"end":{"line":2,"character":10}},"context":{"diagnostics":[]}},"id":21,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":21,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":3,"character":14}},"id":22,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":22,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":8},"contentChanges":[{"range":{"start":{"line":2,"character":9},"end":{"line":2,"character":10}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":18},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":9},"end":{"line":2,"character":9}},"context":{"diagnostics":[]}},"id":23,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":23,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":19},"jsonrpc":"2.0"}Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":9},"contentChanges":[{"range":{"start":{"line":2,"character":9},"end":{"line":2,"character":9}},"text":"\u003c"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":20},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":10},"end":{"line":2,"character":10}},"context":{"diagnostics":[]}},"id":24,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":24,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":11}},"id":25,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":25,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":22},"jsonrpc":"2.0"}Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":15}},"id":26,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":26,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":23},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":17},"end":{"line":2,"character":17}},"context":{"diagnostics":[]}},"id":27,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":27,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":21},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":10},"contentChanges":[{"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":17}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":24},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"context":{"diagnostics":[]}},"id":28,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":28,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 333
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":11},"contentChanges":[{"range":{"start":{"line":2,"character":16},"end":{"line":2,"character":16}},"text":"\u003e"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":25},"jsonrpc":"2.0"}Content-Length: 309
|
||
|
||
{"method":"textDocument/completion","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":17},"context":{"triggerKind":2,"triggerCharacter":"\u003e"}},"id":29,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 68
|
||
|
||
{"id":29,"jsonrpc":"2.0","result":{"isIncomplete":false,"items":[]}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":17},"end":{"line":2,"character":17}},"context":{"diagnostics":[]}},"id":30,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":30,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":3,"character":17}},"id":31,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":31,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":26},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server539272211/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":3,"character":10},"end":{"line":3,"character":10}},"context":{"diagnostics":[]}},"id":32,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":32,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":27},"jsonrpc":"2.0"}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":5284,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 1257
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n#line 6 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 11 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 6 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 1186
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 785
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":15},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":20},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":9,"line":17},"start":{"character":5,"line":17}}}]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}
|
||
>>>
|
||
Content-Length: 252
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":12,"character":9}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 230
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[{"range":{"end":{"character":10,"line":117},"start":{"character":5,"line":117}},"uri":"file:///C:/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h"}]}
|
||
>>>
|
||
Content-Length: 6056
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h","languageId":"cpp","version":1,"text":"/*\n Arduino.h - Main include file for the Arduino SDK\n Copyright (c) 2005-2013 Arduino Team. All right reserved.\n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n */\n\n#ifndef Arduino_h\n#define Arduino_h\n\n#include \u003cstdbool.h\u003e\n#include \u003cstdint.h\u003e\n#include \u003cstdarg.h\u003e\n#include \u003cstddef.h\u003e\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\n#include \u003cstring.h\u003e\n#include \u003cinttypes.h\u003e\n\n#include \"freertos/FreeRTOS.h\"\n#include \"freertos/task.h\"\n#include \"freertos/semphr.h\"\n#include \"esp32-hal.h\"\n#include \"esp8266-compat.h\"\n#include \"soc/gpio_reg.h\"\n\n#include \"stdlib_noniso.h\"\n#include \"binary.h\"\n\n#define PI 3.1415926535897932384626433832795\n#define HALF_PI 1.5707963267948966192313216916398\n#define TWO_PI 6.283185307179586476925286766559\n#define DEG_TO_RAD 0.017453292519943295769236907684886\n#define RAD_TO_DEG 57.295779513082320876798154814105\n#define EULER 2.718281828459045235360287471352\n\n#define SERIAL 0x0\n#define DISPLAY 0x1\n\n#define LSBFIRST 0\n#define MSBFIRST 1\n\n//Interrupt Modes\n#define RISING 0x01\n#define FALLING 0x02\n#define CHANGE 0x03\n#define ONLOW 0x04\n#define ONHIGH 0x05\n#define ONLOW_WE 0x0C\n#define ONHIGH_WE 0x0D\n\n#define DEFAULT 1\n#define EXTERNAL 0\n\n#ifndef __STRINGIFY\n#define __STRINGIFY(a) #a\n#endif\n\n#define constrain(amt,low,high) ((amt)\u003c(low)?(low):((amt)\u003e(high)?(high):(amt)))\n#define radians(deg) ((deg)*DEG_TO_RAD)\n#define degrees(rad) ((rad)*RAD_TO_DEG)\n#define sq(x) ((x)*(x))\n\n#define sei()\n#define cli()\n#define interrupts() sei()\n#define noInterrupts() cli()\n\n#define clockCyclesPerMicrosecond() ( (long int)getCpuFrequencyMhz() )\n#define clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() )\n#define microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() )\n\n#define lowByte(w) ((uint8_t) ((w) \u0026 0xff))\n#define highByte(w) ((uint8_t) ((w) \u003e\u003e 8))\n\n#define bitRead(value, bit) (((value) \u003e\u003e (bit)) \u0026 0x01)\n#define bitSet(value, bit) ((value) |= (1UL \u003c\u003c (bit)))\n#define bitClear(value, bit) ((value) \u0026= ~(1UL \u003c\u003c (bit)))\n#define bitWrite(value, bit, bitvalue) ((bitvalue) ? bitSet(value, bit) : bitClear(value, bit))\n\n// avr-libc defines _NOP() since 1.6.2\n#ifndef _NOP\n#define _NOP() do { __asm__ volatile (\"nop\"); } while (0)\n#endif\n\n#define bit(b) (1UL \u003c\u003c (b))\n#define _BV(b) (1UL \u003c\u003c (b))\n\n#define digitalPinToPort(pin) (((pin)\u003e31)?1:0)\n#define digitalPinToBitMask(pin) (1UL \u003c\u003c (((pin)\u003e31)?((pin)-32):(pin)))\n#define digitalPinToTimer(pin) (0)\n#define analogInPinToBit(P) (P)\n#define portOutputRegister(port) ((volatile uint32_t*)((port)?GPIO_OUT1_REG:GPIO_OUT_REG))\n#define portInputRegister(port) ((volatile uint32_t*)((port)?GPIO_IN1_REG:GPIO_IN_REG))\n#define portModeRegister(port) ((volatile uint32_t*)((port)?GPIO_ENABLE1_REG:GPIO_ENABLE_REG))\n\n#define NOT_A_PIN -1\n#define NOT_A_PORT -1\n#define NOT_AN_INTERRUPT -1\n#define NOT_ON_TIMER 0\n\ntypedef bool boolean;\ntypedef uint8_t byte;\ntypedef unsigned int word;\n\nvoid setup(void);\nvoid loop(void);\n\nlong random(long, long);\nvoid randomSeed(unsigned long);\nlong map(long, long, long, long, long);\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid init(void);\nvoid initVariant(void);\nvoid initArduino(void);\n\nunsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout);\nunsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout);\n\nuint8_t shiftIn(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder);\nvoid shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t val);\n\n#ifdef __cplusplus\n}\n\n#include \u003calgorithm\u003e\n#include \u003ccmath\u003e\n\n#include \"WCharacter.h\"\n#include \"WString.h\"\n#include \"Stream.h\"\n#include \"Printable.h\"\n#include \"Print.h\"\n#include \"IPAddress.h\"\n#include \"Client.h\"\n#include \"Server.h\"\n#include \"Udp.h\"\n#include \"HardwareSerial.h\"\n#include \"Esp.h\"\n\nusing std::abs;\nusing std::isinf;\nusing std::isnan;\nusing std::max;\nusing std::min;\nusing ::round;\n\nuint16_t makeWord(uint16_t w);\nuint16_t makeWord(byte h, byte l);\n\n#define word(...) makeWord(__VA_ARGS__)\n\nunsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);\nunsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);\n\nextern \"C\" bool getLocalTime(struct tm * info, uint32_t ms = 5000);\nextern \"C\" void configTime(long gmtOffset_sec, int daylightOffset_sec,\n const char* server1, const char* server2 = nullptr, const char* server3 = nullptr);\nextern \"C\" void configTzTime(const char* tz,\n const char* server1, const char* server2 = nullptr, const char* server3 = nullptr);\n\n// WMath prototypes\nlong random(long);\n#endif /* __cplusplus */\n\n#define _min(a,b) ((a)\u003c(b)?(a):(b))\n#define _max(a,b) ((a)\u003e(b)?(a):(b))\n\n#include \"pins_arduino.h\"\n\n#endif /* _ESP32_CORE_ARDUINO_H_ */\n"}},"jsonrpc":"2.0"}Content-Length: 194
|
||
|
||
{"method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h"}},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 202
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///c:/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h"}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":2},"contentChanges":[{"range":{"start":{"line":6,"character":0},"end":{"line":6,"character":0}},"text":"\n"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 1186
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":2}}
|
||
>>>
|
||
Content-Length: 1263
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":3},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n\n#line 7 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 12 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 7 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}]},"jsonrpc":"2.0"}Content-Length: 468
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":4},"contentChanges":[{"range":{"start":{"line":7,"character":0},"end":{"line":7,"character":0}},"text":"// Replace with your network credentials\nconst char* ssid = \"REPLACE_WITH_YOUR_SSID\";\nconst char* password = \"REPLACE_WITH_YOUR_PASSWORD\";"}]},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":52},"end":{"line":14,"character":52}},"context":{"diagnostics":[]}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":1,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":1,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 36
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1165
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":43,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":16,"line":8},"start":{"character":12,"line":8}}},{"kind":13,"name":"password","range":{"end":{"character":51,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}}},{"kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":18},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":10,"line":15},"start":{"character":5,"line":15}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":23},"start":{"character":0,"line":20}},"selectionRange":{"end":{"character":9,"line":20},"start":{"character":5,"line":20}}}]}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":5},"contentChanges":[{"range":{"start":{"line":14,"character":52},"end":{"line":14,"character":52}},"text":"\n"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":2},"jsonrpc":"2.0"}Content-Length: 246
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":2}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":3},"jsonrpc":"2.0"}Content-Length: 258
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":9}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 318
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":9},"end":{"line":7,"character":9}},"context":{"diagnostics":[]}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 246
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":2}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":6},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":4},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":40}},"context":{"diagnostics":[]}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":5},"jsonrpc":"2.0"}Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":40}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":40},"end":{"line":7,"character":40}},"context":{"diagnostics":[]}},"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":11,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":7},"jsonrpc":"2.0"}Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":6},"contentChanges":[{"range":{"start":{"line":7,"character":39},"end":{"line":7,"character":40}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":8},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":9},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":39},"end":{"line":7,"character":39}},"context":{"diagnostics":[]}},"id":12,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":12,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":7},"contentChanges":[{"range":{"start":{"line":7,"character":38},"end":{"line":7,"character":39}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":10},"jsonrpc":"2.0"}Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":8},"contentChanges":[{"range":{"start":{"line":7,"character":37},"end":{"line":7,"character":38}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":9},"contentChanges":[{"range":{"start":{"line":7,"character":36},"end":{"line":7,"character":37}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":10},"contentChanges":[{"range":{"start":{"line":7,"character":35},"end":{"line":7,"character":36}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":11},"contentChanges":[{"range":{"start":{"line":7,"character":34},"end":{"line":7,"character":35}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":12},"contentChanges":[{"range":{"start":{"line":7,"character":33},"end":{"line":7,"character":34}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":13},"contentChanges":[{"range":{"start":{"line":7,"character":32},"end":{"line":7,"character":33}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":14},"contentChanges":[{"range":{"start":{"line":7,"character":31},"end":{"line":7,"character":32}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":15},"contentChanges":[{"range":{"start":{"line":7,"character":30},"end":{"line":7,"character":31}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":16},"contentChanges":[{"range":{"start":{"line":7,"character":29},"end":{"line":7,"character":30}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":17},"contentChanges":[{"range":{"start":{"line":7,"character":28},"end":{"line":7,"character":29}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":18},"contentChanges":[{"range":{"start":{"line":7,"character":27},"end":{"line":7,"character":28}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":19},"contentChanges":[{"range":{"start":{"line":7,"character":26},"end":{"line":7,"character":27}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":20},"contentChanges":[{"range":{"start":{"line":7,"character":25},"end":{"line":7,"character":26}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":21},"contentChanges":[{"range":{"start":{"line":7,"character":24},"end":{"line":7,"character":25}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":22},"contentChanges":[{"range":{"start":{"line":7,"character":23},"end":{"line":7,"character":24}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":23},"contentChanges":[{"range":{"start":{"line":7,"character":22},"end":{"line":7,"character":23}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":24},"contentChanges":[{"range":{"start":{"line":7,"character":21},"end":{"line":7,"character":22}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":25},"contentChanges":[{"range":{"start":{"line":7,"character":20},"end":{"line":7,"character":21}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":26},"contentChanges":[{"range":{"start":{"line":7,"character":19},"end":{"line":7,"character":20}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":27},"contentChanges":[{"range":{"start":{"line":7,"character":18},"end":{"line":7,"character":19}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":28},"contentChanges":[{"range":{"start":{"line":7,"character":17},"end":{"line":7,"character":18}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":29},"contentChanges":[{"range":{"start":{"line":7,"character":16},"end":{"line":7,"character":17}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":30},"contentChanges":[{"range":{"start":{"line":7,"character":15},"end":{"line":7,"character":16}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":31},"contentChanges":[{"range":{"start":{"line":7,"character":14},"end":{"line":7,"character":15}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":32},"contentChanges":[{"range":{"start":{"line":7,"character":13},"end":{"line":7,"character":14}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":33},"contentChanges":[{"range":{"start":{"line":7,"character":12},"end":{"line":7,"character":13}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":34},"contentChanges":[{"range":{"start":{"line":7,"character":11},"end":{"line":7,"character":12}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":35},"contentChanges":[{"range":{"start":{"line":7,"character":10},"end":{"line":7,"character":11}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":36},"contentChanges":[{"range":{"start":{"line":7,"character":9},"end":{"line":7,"character":10}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":37},"contentChanges":[{"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":9}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":38},"contentChanges":[{"range":{"start":{"line":7,"character":7},"end":{"line":7,"character":8}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":39},"contentChanges":[{"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":7}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":40},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":6}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":41},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":5}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":4}},"context":{"diagnostics":[]}},"id":13,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":13,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":42},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":4}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":11},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1186
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":4}}Content-Length: 1780
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"pp_line_invalid_filename","message":"Invalid filename for #line directive","range":{"end":{"character":52,"line":14},"start":{"character":8,"line":14}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name ':WIFI'","range":{"end":{"character":5,"line":15},"start":{"character":0,"line":15}},"severity":1,"source":"clang"},{"code":"invalid_token_after_toplevel_declarator","message":"Expected ';' after top level declarator (fix available)","range":{"end":{"character":17,"line":15},"start":{"character":10,"line":15}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":42}}
|
||
>>>
|
||
Content-Length: 1375
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":43},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// \nconst char* ssid = \"REPLACE_WITH_YOUR_SSID\";\nconst char* password = \"REPLACE_WITH_YOUR_PASSWORD\";\n\n#line 10 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 15 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 10 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n\n"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":44},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":3}},"text":"W"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":45},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":4}},"text":"I"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":46},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":5}},"text":"F"}]},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":6}},"context":{"diagnostics":[]}},"id":14,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":2,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":2,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 37
|
||
|
||
{"id":14,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 220
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":15,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":46}}Content-Length: 1166
|
||
|
||
{"id":15,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":43,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":16,"line":8},"start":{"character":12,"line":8}}},{"kind":13,"name":"password","range":{"end":{"character":51,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}}},{"kind":12,"name":"setup","range":{"end":{"character":12,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":14},"start":{"character":0,"line":14}},"selectionRange":{"end":{"character":9,"line":14},"start":{"character":5,"line":14}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":19},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":10,"line":16},"start":{"character":5,"line":16}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":24},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":9,"line":21},"start":{"character":5,"line":21}}}]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":47},"contentChanges":[{"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":6}},"text":"I"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":12},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":48},"contentChanges":[{"range":{"start":{"line":7,"character":7},"end":{"line":7,"character":7}},"text":" "}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":49},"contentChanges":[{"range":{"start":{"line":7,"character":7},"end":{"line":7,"character":8}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":50},"contentChanges":[{"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":7}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":51},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":6}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":52},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":5}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":53},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":4}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":54},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":3}},"text":"s"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":55},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":4}},"text":"h"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":56},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":5}},"text":"u"}]},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":6}},"context":{"diagnostics":[]}},"id":16,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":16,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":56}}
|
||
>>>
|
||
Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":57},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":6}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":13},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":58},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":5}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":59},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":4}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":60},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":3}},"text":"s"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":61},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":4}},"text":"h"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":62},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":5}},"text":"r"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":63},"contentChanges":[{"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":6}},"text":"u"}]},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":7},"end":{"line":7,"character":7}},"context":{"diagnostics":[]}},"id":17,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":17,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":63}}
|
||
>>>
|
||
Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":64},"contentChanges":[{"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":7}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":14},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":65},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":6}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":66},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":5}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":67},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":4}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":68},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":3}},"text":"s"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":69},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":4}},"text":"h"}]},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":70},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":5}},"text":"u"}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":71},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":6}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":72},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":5}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 341
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":73},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":4}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":74},"contentChanges":[{"range":{"start":{"line":7,"character":3},"end":{"line":7,"character":3}},"text":"输"}]},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":75},"contentChanges":[{"range":{"start":{"line":7,"character":4},"end":{"line":7,"character":4}},"text":"入"}]},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":5}},"context":{"diagnostics":[]}},"id":18,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":18,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":75}}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":76},"contentChanges":[{"range":{"start":{"line":7,"character":5},"end":{"line":7,"character":5}},"text":"自"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":15},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":77},"contentChanges":[{"range":{"start":{"line":7,"character":6},"end":{"line":7,"character":6}},"text":"己"}]},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":7},"end":{"line":7,"character":7}},"context":{"diagnostics":[]}},"id":19,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":19,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":77}}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":78},"contentChanges":[{"range":{"start":{"line":7,"character":7},"end":{"line":7,"character":7}},"text":"的"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":16},"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":8}},"context":{"diagnostics":[]}},"id":20,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":20,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":78}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":79},"contentChanges":[{"range":{"start":{"line":7,"character":8},"end":{"line":7,"character":8}},"text":"W"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":17},"jsonrpc":"2.0"}Content-Length: 326
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":80},"contentChanges":[{"range":{"start":{"line":7,"character":9},"end":{"line":7,"character":9}},"text":"I"}]},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":81},"contentChanges":[{"range":{"start":{"line":7,"character":10},"end":{"line":7,"character":10}},"text":"F"}]},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":82},"contentChanges":[{"range":{"start":{"line":7,"character":11},"end":{"line":7,"character":11}},"text":"I"}]},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":12},"end":{"line":7,"character":12}},"context":{"diagnostics":[]}},"id":21,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":21,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":82}}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":83},"contentChanges":[{"range":{"start":{"line":7,"character":12},"end":{"line":7,"character":12}},"text":"账"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":18},"jsonrpc":"2.0"}Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":84},"contentChanges":[{"range":{"start":{"line":7,"character":13},"end":{"line":7,"character":13}},"text":"号"}]},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":14},"end":{"line":7,"character":14}},"context":{"diagnostics":[]}},"id":22,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":22,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":84}}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":85},"contentChanges":[{"range":{"start":{"line":7,"character":14},"end":{"line":7,"character":14}},"text":"和"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":19},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":15},"end":{"line":7,"character":15}},"context":{"diagnostics":[]}},"id":23,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":23,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":85}}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":86},"contentChanges":[{"range":{"start":{"line":7,"character":15},"end":{"line":7,"character":15}},"text":"密"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":20},"jsonrpc":"2.0"}Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":87},"contentChanges":[{"range":{"start":{"line":7,"character":16},"end":{"line":7,"character":16}},"text":"码"}]},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":17},"end":{"line":7,"character":17}},"context":{"diagnostics":[]}},"id":24,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":24,"jsonrpc":"2.0","result":[]}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":87}}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":8,"character":19}},"id":25,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":25,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":8,"character":20}},"id":26,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":26,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":22},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":23},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":17},"end":{"line":8,"character":20}},"context":{"diagnostics":[]}},"id":27,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":27,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":21},"jsonrpc":"2.0"}Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":8,"character":39}},"id":28,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":28,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":20},"end":{"line":8,"character":42}},"context":{"diagnostics":[]}},"id":29,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":29,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":24},"jsonrpc":"2.0"}Content-Length: 366
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":88},"contentChanges":[{"range":{"start":{"line":8,"character":20},"end":{"line":8,"character":42}},"rangeLength":22,"text":"REPLACE_WITH_YOUR_SSID"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":25},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":26},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":42},"end":{"line":8,"character":42}},"context":{"diagnostics":[]}},"id":30,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":30,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 350
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":89},"contentChanges":[{"range":{"start":{"line":8,"character":20},"end":{"line":8,"character":42}},"rangeLength":22,"text":"zhulin"}]},"jsonrpc":"2.0"}Content-Length: 349
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":90},"contentChanges":[{"range":{"start":{"line":8,"character":20},"end":{"line":8,"character":26}},"rangeLength":6,"text":"zhulin"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":90}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":26},"end":{"line":8,"character":26}},"context":{"diagnostics":[]}},"id":31,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":31,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":91},"contentChanges":[{"range":{"start":{"line":8,"character":26},"end":{"line":8,"character":26}},"text":"_"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":91}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":27},"end":{"line":8,"character":27}},"context":{"diagnostics":[]}},"id":32,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":32,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":92},"contentChanges":[{"range":{"start":{"line":8,"character":27},"end":{"line":8,"character":27}},"text":"H"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":92}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":28},"end":{"line":8,"character":28}},"context":{"diagnostics":[]}},"id":33,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":33,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":93},"contentChanges":[{"range":{"start":{"line":8,"character":28},"end":{"line":8,"character":28}},"text":"o"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":93}}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":94},"contentChanges":[{"range":{"start":{"line":8,"character":29},"end":{"line":8,"character":29}},"text":"m"}]},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":95},"contentChanges":[{"range":{"start":{"line":8,"character":30},"end":{"line":8,"character":30}},"text":"e"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":94}}Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":95}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":31},"end":{"line":8,"character":31}},"context":{"diagnostics":[]}},"id":34,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":34,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":23}},"id":35,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":35,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":23}},"id":36,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":36,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":23}},"id":37,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":37,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":24}},"id":38,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":38,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":24},"end":{"line":9,"character":50}},"context":{"diagnostics":[]}},"id":39,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":39,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":49}},"id":40,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":40,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":46}},"id":41,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":41,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 345
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":96},"contentChanges":[{"range":{"start":{"line":9,"character":24},"end":{"line":9,"character":50}},"rangeLength":26,"text":"z"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":96}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":25},"end":{"line":9,"character":25}},"context":{"diagnostics":[]}},"id":42,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":42,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":97},"contentChanges":[{"range":{"start":{"line":9,"character":25},"end":{"line":9,"character":25}},"text":"n"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":97}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":26},"end":{"line":9,"character":26}},"context":{"diagnostics":[]}},"id":43,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":43,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":98},"contentChanges":[{"range":{"start":{"line":9,"character":26},"end":{"line":9,"character":26}},"text":"6"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":98}}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":99},"contentChanges":[{"range":{"start":{"line":9,"character":27},"end":{"line":9,"character":27}},"text":"2"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1187
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":99}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":28},"end":{"line":9,"character":28}},"context":{"diagnostics":[]}},"id":44,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":44,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":100},"contentChanges":[{"range":{"start":{"line":9,"character":28},"end":{"line":9,"character":28}},"text":"7"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":100}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":29},"end":{"line":9,"character":29}},"context":{"diagnostics":[]}},"id":45,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":45,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":101},"contentChanges":[{"range":{"start":{"line":9,"character":29},"end":{"line":9,"character":29}},"text":"1"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":101}}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":102},"contentChanges":[{"range":{"start":{"line":9,"character":30},"end":{"line":9,"character":30}},"text":"2"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":102}}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":103},"contentChanges":[{"range":{"start":{"line":9,"character":31},"end":{"line":9,"character":31}},"text":"3"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":103}}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":104},"contentChanges":[{"range":{"start":{"line":9,"character":32},"end":{"line":9,"character":32}},"text":"9"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":104}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":33},"end":{"line":9,"character":33}},"context":{"diagnostics":[]}},"id":46,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":46,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":33},"end":{"line":8,"character":33}},"context":{"diagnostics":[]}},"id":47,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":47,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":35},"end":{"line":9,"character":35}},"context":{"diagnostics":[]}},"id":48,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":48,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":105},"contentChanges":[{"range":{"start":{"line":9,"character":35},"end":{"line":9,"character":35}},"text":"\n"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":105}}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":106},"contentChanges":[{"range":{"start":{"line":10,"character":0},"end":{"line":10,"character":0}},"text":"\n"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":106}}
|
||
>>>
|
||
Content-Length: 392
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":107},"contentChanges":[{"range":{"start":{"line":16,"character":0},"end":{"line":16,"character":0}},"text":"#define DHTPIN 27 // Digital pin connected to the DHT sensor"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":107}}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":16,"character":64},"end":{"line":16,"character":64}},"context":{"diagnostics":[]}},"id":49,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":49,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 1450
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":108},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输己IFI账密\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 27 // Digital pin connected to the DHT sensor\n\n#line 12 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup();\n#line 17 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid loop();\n#line 12 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nvoid setup() {\n // put your setup code here, to run once:\n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n入自的W号和码\n"}]},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":23}},"id":50,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":3,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":3,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 39
|
||
|
||
{"id":50,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 220
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":51,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1551
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":27},"start":{"character":0,"line":27}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":28},"start":{"character":0,"line":28}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":108}}Content-Length: 1166
|
||
|
||
{"id":51,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":16,"line":8},"start":{"character":12,"line":8}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}}},{"kind":12,"name":"setup","range":{"end":{"character":12,"line":14},"start":{"character":0,"line":14}},"selectionRange":{"end":{"character":10,"line":14},"start":{"character":5,"line":14}}},{"kind":12,"name":"loop","range":{"end":{"character":11,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":9,"line":16},"start":{"character":5,"line":16}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":21},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":10,"line":18},"start":{"character":5,"line":18}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":26},"start":{"character":0,"line":23}},"selectionRange":{"end":{"character":9,"line":23},"start":{"character":5,"line":23}}}]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":47},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":25}},"id":52,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":52,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":25}},"id":53,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":53,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":48},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":49},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":25},"end":{"line":11,"character":64}},"context":{"diagnostics":[]}},"id":54,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":54,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 254
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":62}},"id":55,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":55,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":50},"jsonrpc":"2.0"}Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":26}},"id":56,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":56,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":26},"end":{"line":11,"character":26}},"context":{"diagnostics":[]}},"id":57,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":57,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":25}},"id":58,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":58,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":54},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":52},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":25},"end":{"line":11,"character":64}},"context":{"diagnostics":[]}},"id":59,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":59,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":53},"jsonrpc":"2.0"}Content-Length: 380
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":109},"contentChanges":[{"range":{"start":{"line":11,"character":25},"end":{"line":11,"character":64}},"rangeLength":39,"text":"连接DHT传感器的数字引脚"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":55},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":38},"end":{"line":11,"character":38}},"context":{"diagnostics":[]}},"id":60,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":60,"jsonrpc":"2.0","result":[]}Content-Length: 1551
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":27},"start":{"character":0,"line":27}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":28},"start":{"character":0,"line":28}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":109}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":17}},"id":61,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":61,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":57},"jsonrpc":"2.0"}Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":16}},"id":62,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":62,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":16},"end":{"line":11,"character":16}},"context":{"diagnostics":[]}},"id":63,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":63,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":56},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":17}},"id":64,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":64,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":60},"jsonrpc":"2.0"}Content-Length: 346
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":110},"contentChanges":[{"range":{"start":{"line":11,"character":15},"end":{"line":11,"character":16}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":58},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":59},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":15},"end":{"line":11,"character":15}},"context":{"diagnostics":[]}},"id":65,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":65,"jsonrpc":"2.0","result":[]}Content-Length: 1551
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":27},"start":{"character":0,"line":27}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":28},"start":{"character":0,"line":28}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":110}}
|
||
>>>
|
||
Content-Length: 331
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":111},"contentChanges":[{"range":{"start":{"line":11,"character":15},"end":{"line":11,"character":15}},"text":"1"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":61},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":16},"end":{"line":11,"character":16}},"context":{"diagnostics":[]}},"id":66,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":66,"jsonrpc":"2.0","result":[]}Content-Length: 1551
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":27},"start":{"character":0,"line":27}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":28},"start":{"character":0,"line":28}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":111}}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":16},"end":{"line":11,"character":16}},"context":{"diagnostics":[]}},"id":67,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":67,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":18,"character":14},"end":{"line":18,"character":14}},"context":{"diagnostics":[]}},"id":68,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":68,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":19,"character":16}},"id":69,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":69,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":19,"character":17}},"id":70,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":70,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":2}},"id":71,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":71,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":1}},"id":72,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":72,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":0}},"id":73,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":73,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":0}},"id":74,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":74,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":18,"character":0},"end":{"line":26,"character":1}},"context":{"diagnostics":[]}},"id":75,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":75,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 346
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":112},"contentChanges":[{"range":{"start":{"line":18,"character":0},"end":{"line":26,"character":1}},"rangeLength":128,"text":""}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1551
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":19},"start":{"character":0,"line":19}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":20},"start":{"character":0,"line":20}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":112}}
|
||
>>>
|
||
Content-Length: 775
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":113},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输己IFI账密\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n\n入自的W号和码\n"}]},"jsonrpc":"2.0"}Content-Length: 4937
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":114},"contentChanges":[{"range":{"start":{"line":13,"character":0},"end":{"line":13,"character":0}},"text":"// Uncomment the type of sensor in use:\n//#define DHTTYPE DHT11 // DHT 11\n#define DHTTYPE DHT22 // DHT 22 (AM2302)\n//#define DHTTYPE DHT21 // DHT 21 (AM2301)\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// Create AsyncWebServer object on port 80\nAsyncWebServer server(80);\n\nString readDHTTemperature() {\n // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)\n // Read temperature as Celsius (the default)\n float t = dht.readTemperature();\n // Read temperature as Fahrenheit (isFahrenheit = true)\n //float t = dht.readTemperature(true);\n // Check if any reads failed and exit early (to try again).\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// Replaces placeholder with DHT values\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // Serial port for debugging purposes\n Serial.begin(115200);\n\n dht.begin();\n \n // Connect to Wi-Fi\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // Print ESP32 Local IP Address\n Serial.println(WiFi.localIP());\n\n // Route for root / web page\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // Start server\n server.begin();\n}\n \nvoid loop(){\n \n}"}]},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":160,"character":1},"end":{"line":160,"character":1}},"context":{"diagnostics":[]}},"id":76,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":4,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":4,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 37
|
||
|
||
{"id":76,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 220
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":77,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8008
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:146:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":145},"start":{"character":50,"line":145}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:146:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":145},"start":{"character":50,"line":145}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":145},"start":{"character":4,"line":145}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":144},"start":{"character":27,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":144},"start":{"character":27,"line":144}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:145:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":144},"start":{"character":2,"line":144}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:148:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":147},"start":{"character":2,"line":147}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:151:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":150},"start":{"character":2,"line":150}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":162},"start":{"character":0,"line":162}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":114}}Content-Length: 1970
|
||
|
||
{"id":77,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":16,"line":8},"start":{"character":12,"line":8}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":7,"line":18},"start":{"character":4,"line":18}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":21},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":21,"line":21},"start":{"character":15,"line":21}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":38},"start":{"character":0,"line":23}},"selectionRange":{"end":{"character":25,"line":23},"start":{"character":7,"line":23}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":51},"start":{"character":0,"line":40}},"selectionRange":{"end":{"character":22,"line":40},"start":{"character":7,"line":40}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":113},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":21,"line":53},"start":{"character":11,"line":53}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":125},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":16,"line":116},"start":{"character":7,"line":116}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":156},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":10,"line":127},"start":{"character":5,"line":127}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":160},"start":{"character":0,"line":158}},"selectionRange":{"end":{"character":9,"line":158},"start":{"character":5,"line":158}}}]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":145,"character":13}},"id":78,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 565
|
||
|
||
{"id":78,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `send_P` \n\n---\n→ `void` \nParameters: \n- `int code`\n- `const String & contentType`\n- `const uint8_t * content`\n- `size_t len`\n- `AwsTemplateProcessor callback = <null expr>`\n\n---\n```cpp\n// In AsyncWebServerRequest\npublic: void send_P(int code, const String &contentType, const uint8_t *content,\n size_t len, AwsTemplateProcessor callback = <null expr>)\n```"},"range":{"end":{"character":19,"line":145},"start":{"character":13,"line":145}}}}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":73},"jsonrpc":"2.0"}Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":115,"character":13}},"id":79,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":79,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":74},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":14,"character":14}},"id":80,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":80,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":75},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":0}},"id":81,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":81,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":1}},"id":82,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":82,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":76},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":15,"character":1},"end":{"line":15,"character":1}},"context":{"diagnostics":[]}},"id":83,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":83,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":72},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":77},"jsonrpc":"2.0"}Content-Length: 497
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":15,"character":0},"end":{"line":15,"character":0}},"context":{"diagnostics":[{"range":{"start":{"line":15,"character":0},"end":{"line":15,"character":0}},"severity":1,"code":"expected_unqualified_id","source":"clang","message":"Expected unqualified-id"}]}},"id":84,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":84,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":78},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":4}},"id":85,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":85,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":80},"jsonrpc":"2.0"}Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":115},"contentChanges":[{"range":{"start":{"line":15,"character":0},"end":{"line":15,"character":0}},"text":"/"}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":79},"jsonrpc":"2.0"}Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":116},"contentChanges":[{"range":{"start":{"line":15,"character":1},"end":{"line":15,"character":1}},"text":"/"}]},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":16,"character":0}},"id":86,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":86,"jsonrpc":"2.0","result":null}Content-Length: 8197
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'DHTTYPE'","range":{"end":{"character":23,"line":18},"start":{"character":16,"line":18}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:146:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":145},"start":{"character":50,"line":145}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:146:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":145},"start":{"character":50,"line":145}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":145},"start":{"character":4,"line":145}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":144},"start":{"character":27,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":144},"start":{"character":27,"line":144}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:145:28)
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":81},"jsonrpc":"2.0"}
|
||
<<<
|
||
' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":144},"start":{"character":2,"line":144}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:148:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":147},"start":{"character":2,"line":147}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:151:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":150},"start":{"character":2,"line":150}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":162},"start":{"character":0,"line":162}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":116}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":15,"character":2},"end":{"line":15,"character":2}},"context":{"diagnostics":[]}},"id":87,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":87,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":14,"character":1}},"id":88,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":88,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 220
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":89,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1970
|
||
|
||
{"id":89,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":16,"line":8},"start":{"character":12,"line":8}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":18},"start":{"character":0,"line":18}},"selectionRange":{"end":{"character":7,"line":18},"start":{"character":4,"line":18}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":21},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":21,"line":21},"start":{"character":15,"line":21}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":38},"start":{"character":0,"line":23}},"selectionRange":{"end":{"character":25,"line":23},"start":{"character":7,"line":23}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":51},"start":{"character":0,"line":40}},"selectionRange":{"end":{"character":22,"line":40},"start":{"character":7,"line":40}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":113},"start":{"character":0,"line":53}},"selectionRange":{"end":{"character":21,"line":53},"start":{"character":11,"line":53}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":125},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":16,"line":116},"start":{"character":7,"line":116}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":156},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":10,"line":127},"start":{"character":5,"line":127}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":160},"start":{"character":0,"line":158}},"selectionRange":{"end":{"character":9,"line":158},"start":{"character":5,"line":158}}}]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":83},"jsonrpc":"2.0"}Content-Length: 506
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":2},"end":{"line":14,"character":2}},"context":{"diagnostics":[{"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":7}},"severity":1,"code":"unknown_typename","source":"clang","message":"Unknown type name '入自的W号和码'"}]}},"id":90,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":90,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":82},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":3}},"id":91,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":91,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":117},"contentChanges":[{"range":{"start":{"line":14,"character":1},"end":{"line":14,"character":2}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":84},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":118},"contentChanges":[{"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":1}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":85},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":3}},"id":92,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":92,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":86},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8008
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:146:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":145},"start":{"character":50,"line":145}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:146:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":145},"start":{"character":50,"line":145}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":145},"start":{"character":4,"line":145}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":144},"start":{"character":27,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":144},"start":{"character":27,"line":144}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:145:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":144},"start":{"character":2,"line":144}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:148:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":147},"start":{"character":2,"line":147}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:151:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":150},"start":{"character":2,"line":150}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":162},"start":{"character":0,"line":162}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":118}}
|
||
>>>
|
||
Content-Length: 506
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":0}},"context":{"diagnostics":[{"range":{"start":{"line":14,"character":0},"end":{"line":14,"character":7}},"severity":1,"code":"unknown_typename","source":"clang","message":"Unknown type name '入自的W号和码'"}]}},"id":93,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":93,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":3}},"id":94,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":94,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":88},"jsonrpc":"2.0"}Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":14,"character":37}},"id":95,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":95,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":37},"end":{"line":14,"character":37}},"context":{"diagnostics":[]}},"id":96,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":96,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":87},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":14,"character":36}},"id":97,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":97,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":91},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":38},"end":{"line":14,"character":38}},"context":{"diagnostics":[]}},"id":98,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":98,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":90},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":33}},"id":99,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":99,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 63
|
||
|
||
{"method":"$/cancelRequest","params":{"id":93},"jsonrpc":"2.0"}Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":29}},"id":100,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":100,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":29}},"id":101,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":101,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":38},"end":{"line":14,"character":38}},"context":{"diagnostics":[]}},"id":102,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":102,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":29}},"id":103,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":103,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":15,"character":0},"end":{"line":16,"character":49}},"context":{"diagnostics":[]}},"id":104,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":104,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 346
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":119},"contentChanges":[{"range":{"start":{"line":15,"character":0},"end":{"line":16,"character":49}},"rangeLength":99,"text":""}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8008
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":144},"start":{"character":4,"line":144}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:144:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":143},"start":{"character":2,"line":143}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:147:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":146},"start":{"character":2,"line":146}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:150:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":149},"start":{"character":2,"line":149}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":160},"start":{"character":0,"line":160}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":119}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":0}},"id":105,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":105,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":3}},"id":106,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":106,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":2}},"id":107,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":107,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":2}},"id":108,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":108,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":2}},"id":109,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":109,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":13,"character":2},"end":{"line":13,"character":39}},"context":{"diagnostics":[]}},"id":110,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":110,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":14,"character":14}},"id":111,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":111,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":14,"character":14},"end":{"line":14,"character":14}},"context":{"diagnostics":[]}},"id":112,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":112,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":3}},"id":113,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":113,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":3}},"id":114,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":114,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":13,"character":3},"end":{"line":13,"character":39}},"context":{"diagnostics":[]}},"id":115,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":115,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":13,"character":39}},"id":116,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":116,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 392
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":120},"contentChanges":[{"range":{"start":{"line":13,"character":3},"end":{"line":13,"character":39}},"rangeLength":36,"text":"取消对使用中的传感器类型的注释:"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8008
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":144},"start":{"character":4,"line":144}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:144:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":143},"start":{"character":2,"line":143}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:147:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":146},"start":{"character":2,"line":146}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:150:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":149},"start":{"character":2,"line":149}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":160},"start":{"character":0,"line":160}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":120}}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":13,"character":19},"end":{"line":13,"character":19}},"context":{"diagnostics":[]}},"id":117,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":117,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":22}},"id":118,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":118,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":11,"character":22},"end":{"line":11,"character":38}},"context":{"diagnostics":[]}},"id":119,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":119,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":13,"character":19},"end":{"line":13,"character":19}},"context":{"diagnostics":[]}},"id":120,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":120,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":19,"character":2}},"id":121,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":121,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":19,"character":3}},"id":122,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":122,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":19,"character":3},"end":{"line":19,"character":42}},"context":{"diagnostics":[]}},"id":123,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":123,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":19,"character":3}},"id":124,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":124,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":19,"character":3}},"id":125,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":125,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":19,"character":3},"end":{"line":19,"character":42}},"context":{"diagnostics":[]}},"id":126,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":126,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 386
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":121},"contentChanges":[{"range":{"start":{"line":19,"character":3},"end":{"line":19,"character":42}},"rangeLength":39,"text":"在端口80上创建AsyncWebServer对象"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8008
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":144},"start":{"character":4,"line":144}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:144:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":143},"start":{"character":2,"line":143}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:147:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":146},"start":{"character":2,"line":146}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:150:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":149},"start":{"character":2,"line":149}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":160},"start":{"character":0,"line":160}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":121}}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":19,"character":27},"end":{"line":19,"character":27}},"context":{"diagnostics":[]}},"id":127,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":127,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":19,"character":27},"end":{"line":19,"character":27}},"context":{"diagnostics":[]}},"id":128,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":128,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":4}},"id":129,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":129,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":5}},"id":130,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":130,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":4}},"id":131,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":131,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":5}},"id":132,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":132,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":22,"character":29},"end":{"line":23,"character":5}},"context":{"diagnostics":[]}},"id":133,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":133,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":23,"character":5},"end":{"line":23,"character":79}},"context":{"diagnostics":[]}},"id":134,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":134,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":71}},"id":135,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":135,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":73}},"id":136,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":136,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":72}},"id":137,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":137,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":30}},"id":138,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":138,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":25,"character":20}},"id":139,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 204
|
||
|
||
{"id":139,"jsonrpc":"2.0","result":[{"range":{"end":{"character":26,"line":84},"start":{"character":11,"line":84}},"uri":"file:///C:/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp"}]}
|
||
>>>
|
||
Content-Length: 12904
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp","languageId":"cpp","version":1,"text":"/*!\n * @file DHT.cpp\n *\n * @mainpage DHT series of low cost temperature/humidity sensors.\n *\n * @section intro_sec Introduction\n *\n * This is a library for DHT series of low cost temperature/humidity sensors.\n *\n * You must have Adafruit Unified Sensor Library library installed to use this\n * class.\n *\n * Adafruit invests time and resources providing this open source code,\n * please support Adafruit andopen-source hardware by purchasing products\n * from Adafruit!\n *\n * @section author Author\n *\n * Written by Adafruit Industries.\n *\n * @section license License\n *\n * MIT license, all text above must be included in any redistribution\n */\n\n#include \"DHT.h\"\n\n#define MIN_INTERVAL 2000 /**\u003c min interval value */\n#define TIMEOUT \\\n UINT32_MAX /**\u003c Used programmatically for timeout. \\\n Not a timeout duration. Type: uint32_t. */\n\n/*!\n * @brief Instantiates a new DHT class\n * @param pin\n * pin number that sensor is connected\n * @param type\n * type of sensor\n * @param count\n * number of sensors\n */\nDHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {\n (void)count; // Workaround to avoid compiler warning.\n _pin = pin;\n _type = type;\n#ifdef __AVR\n _bit = digitalPinToBitMask(pin);\n _port = digitalPinToPort(pin);\n#endif\n _maxcycles =\n microsecondsToClockCycles(1000); // 1 millisecond timeout for\n // reading pulses from DHT sensor.\n // Note that count is now ignored as the DHT reading algorithm adjusts itself\n // based on the speed of the processor.\n}\n\n/*!\n * @brief Setup sensor pins and set pull timings\n * @param usec\n * Optionally pass pull-up time (in microseconds) before DHT reading\n *starts. Default is 55 (see function declaration in DHT.h).\n */\nvoid DHT::begin(uint8_t usec) {\n // set up the pins!\n pinMode(_pin, INPUT_PULLUP);\n // Using this value makes sure that millis() - lastreadtime will be\n // \u003e= MIN_INTERVAL right away. Note that this assignment wraps around,\n // but so will the subtraction.\n _lastreadtime = millis() - MIN_INTERVAL;\n DEBUG_PRINT(\"DHT max clock cycles: \");\n DEBUG_PRINTLN(_maxcycles, DEC);\n pullTime = usec;\n}\n\n/*!\n * @brief Read temperature\n * @param S\n * Scale. Boolean value:\n *\t\t\t\t\t- true = Fahrenheit\n *\t\t\t\t\t- false = Celcius\n * @param force\n * true if in force mode\n *\t@return Temperature value in selected scale\n */\nfloat DHT::readTemperature(bool S, bool force) {\n float f = NAN;\n\n if (read(force)) {\n switch (_type) {\n case DHT11:\n f = data[2];\n if (data[3] \u0026 0x80) {\n f = -1 - f;\n }\n f += (data[3] \u0026 0x0f) * 0.1;\n if (S) {\n f = convertCtoF(f);\n }\n break;\n case DHT12:\n f = data[2];\n f += (data[3] \u0026 0x0f) * 0.1;\n if (data[2] \u0026 0x80) {\n f *= -1;\n }\n if (S) {\n f = convertCtoF(f);\n }\n break;\n case DHT22:\n case DHT21:\n f = ((word)(data[2] \u0026 0x7F)) \u003c\u003c 8 | data[3];\n f *= 0.1;\n if (data[2] \u0026 0x80) {\n f *= -1;\n }\n if (S) {\n f = convertCtoF(f);\n }\n break;\n }\n }\n return f;\n}\n\n/*!\n * @brief Converts Celcius to Fahrenheit\n * @param c\n *\t\t\t\t\tvalue in Celcius\n *\t@return float value in Fahrenheit\n */\nfloat DHT::convertCtoF(float c) { return c * 1.8 + 32; }\n\n/*!\n * @brief Converts Fahrenheit to Celcius\n * @param f\n *\t\t\t\t\tvalue in Fahrenheit\n *\t@return float value in Celcius\n */\nfloat DHT::convertFtoC(float f) { return (f - 32) * 0.55555; }\n\n/*!\n * @brief Read Humidity\n * @param force\n *\t\t\t\t\tforce read mode\n *\t@return float value - humidity in percent\n */\nfloat DHT::readHumidity(bool force) {\n float f = NAN;\n if (read(force)) {\n switch (_type) {\n case DHT11:\n case DHT12:\n f = data[0] + data[1] * 0.1;\n break;\n case DHT22:\n case DHT21:\n f = ((word)data[0]) \u003c\u003c 8 | data[1];\n f *= 0.1;\n break;\n }\n }\n return f;\n}\n\n/*!\n * @brief Compute Heat Index\n * Simplified version that reads temp and humidity from sensor\n * @param isFahrenheit\n * \t\t\t\t\ttrue if fahrenheit, false if celcius\n *(default true)\n *\t@return float heat index\n */\nfloat DHT::computeHeatIndex(bool isFahrenheit) {\n float hi = computeHeatIndex(readTemperature(isFahrenheit), readHumidity(),\n isFahrenheit);\n return hi;\n}\n\n/*!\n * @brief Compute Heat Index\n * \t\t\t\tUsing both Rothfusz and Steadman's equations\n *\t\t\t\t\t(http://www.wpc.ncep.noaa.gov/html/heatindex_equation.shtml)\n * @param temperature\n * temperature in selected scale\n * @param percentHumidity\n * humidity in percent\n * @param isFahrenheit\n * \t\t\t\t\ttrue if fahrenheit, false if celcius\n *\t@return float heat index\n */\nfloat DHT::computeHeatIndex(float temperature, float percentHumidity,\n bool isFahrenheit) {\n float hi;\n\n if (!isFahrenheit)\n temperature = convertCtoF(temperature);\n\n hi = 0.5 * (temperature + 61.0 + ((temperature - 68.0) * 1.2) +\n (percentHumidity * 0.094));\n\n if (hi \u003e 79) {\n hi = -42.379 + 2.04901523 * temperature + 10.14333127 * percentHumidity +\n -0.22475541 * temperature * percentHumidity +\n -0.00683783 * pow(temperature, 2) +\n -0.05481717 * pow(percentHumidity, 2) +\n 0.00122874 * pow(temperature, 2) * percentHumidity +\n 0.00085282 * temperature * pow(percentHumidity, 2) +\n -0.00000199 * pow(temperature, 2) * pow(percentHumidity, 2);\n\n if ((percentHumidity \u003c 13) \u0026\u0026 (temperature \u003e= 80.0) \u0026\u0026\n (temperature \u003c= 112.0))\n hi -= ((13.0 - percentHumidity) * 0.25) *\n sqrt((17.0 - abs(temperature - 95.0)) * 0.05882);\n\n else if ((percentHumidity \u003e 85.0) \u0026\u0026 (temperature \u003e= 80.0) \u0026\u0026\n (temperature \u003c= 87.0))\n hi += ((percentHumidity - 85.0) * 0.1) * ((87.0 - temperature) * 0.2);\n }\n\n return isFahrenheit ? hi : convertFtoC(hi);\n}\n\n/*!\n * @brief Read value from sensor or return last one from less than two\n *seconds.\n * @param force\n * true if using force mode\n *\t@return float value\n */\nbool DHT::read(bool force) {\n // Check if sensor was read less than two seconds ago and return early\n // to use last reading.\n uint32_t currenttime = millis();\n if (!force \u0026\u0026 ((currenttime - _lastreadtime) \u003c MIN_INTERVAL)) {\n return _lastresult; // return last correct measurement\n }\n _lastreadtime = currenttime;\n\n // Reset 40 bits of received data to zero.\n data[0] = data[1] = data[2] = data[3] = data[4] = 0;\n\n#if defined(ESP8266)\n yield(); // Handle WiFi / reset software watchdog\n#endif\n\n // Send start signal. See DHT datasheet for full signal diagram:\n // http://www.adafruit.com/datasheets/Digital%20humidity%20and%20temperature%20sensor%20AM2302.pdf\n\n // Go into high impedence state to let pull-up raise data line level and\n // start the reading process.\n pinMode(_pin, INPUT_PULLUP);\n delay(1);\n\n // First set data line low for a period according to sensor type\n pinMode(_pin, OUTPUT);\n digitalWrite(_pin, LOW);\n switch (_type) {\n case DHT22:\n case DHT21:\n delayMicroseconds(1100); // data sheet says \"at least 1ms\"\n break;\n case DHT11:\n default:\n delay(20); // data sheet says at least 18ms, 20ms just to be safe\n break;\n }\n\n uint32_t cycles[80];\n {\n // End the start signal by setting data line high for 40 microseconds.\n pinMode(_pin, INPUT_PULLUP);\n\n // Delay a moment to let sensor pull data line low.\n delayMicroseconds(pullTime);\n\n // Now start reading the data line to get the value from the DHT sensor.\n\n // Turn off interrupts temporarily because the next sections\n // are timing critical and we don't want any interruptions.\n InterruptLock lock;\n\n // First expect a low signal for ~80 microseconds followed by a high signal\n // for ~80 microseconds again.\n if (expectPulse(LOW) == TIMEOUT) {\n DEBUG_PRINTLN(F(\"DHT timeout waiting for start signal low pulse.\"));\n _lastresult = false;\n return _lastresult;\n }\n if (expectPulse(HIGH) == TIMEOUT) {\n DEBUG_PRINTLN(F(\"DHT timeout waiting for start signal high pulse.\"));\n _lastresult = false;\n return _lastresult;\n }\n\n // Now read the 40 bits sent by the sensor. Each bit is sent as a 50\n // microsecond low pulse followed by a variable length high pulse. If the\n // high pulse is ~28 microseconds then it's a 0 and if it's ~70 microseconds\n // then it's a 1. We measure the cycle count of the initial 50us low pulse\n // and use that to compare to the cycle count of the high pulse to determine\n // if the bit is a 0 (high state cycle count \u003c low state cycle count), or a\n // 1 (high state cycle count \u003e low state cycle count). Note that for speed\n // all the pulses are read into a array and then examined in a later step.\n for (int i = 0; i \u003c 80; i += 2) {\n cycles[i] = expectPulse(LOW);\n cycles[i + 1] = expectPulse(HIGH);\n }\n } // Timing critical code is now complete.\n\n // Inspect pulses and determine which ones are 0 (high state cycle count \u003c low\n // state cycle count), or 1 (high state cycle count \u003e low state cycle count).\n for (int i = 0; i \u003c 40; ++i) {\n uint32_t lowCycles = cycles[2 * i];\n uint32_t highCycles = cycles[2 * i + 1];\n if ((lowCycles == TIMEOUT) || (highCycles == TIMEOUT)) {\n DEBUG_PRINTLN(F(\"DHT timeout waiting for pulse.\"));\n _lastresult = false;\n return _lastresult;\n }\n data[i / 8] \u003c\u003c= 1;\n // Now compare the low and high cycle times to see if the bit is a 0 or 1.\n if (highCycles \u003e lowCycles) {\n // High cycles are greater than 50us low cycle count, must be a 1.\n data[i / 8] |= 1;\n }\n // Else high cycles are less than (or equal to, a weird case) the 50us low\n // cycle count so this must be a zero. Nothing needs to be changed in the\n // stored data.\n }\n\n DEBUG_PRINTLN(F(\"Received from DHT:\"));\n DEBUG_PRINT(data[0], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[1], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[2], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[3], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[4], HEX);\n DEBUG_PRINT(F(\" =? \"));\n DEBUG_PRINTLN((data[0] + data[1] + data[2] + data[3]) \u0026 0xFF, HEX);\n\n // Check we read 40 bits and that the checksum matches.\n if (data[4] == ((data[0] + data[1] + data[2] + data[3]) \u0026 0xFF)) {\n _lastresult = true;\n return _lastresult;\n } else {\n DEBUG_PRINTLN(F(\"DHT checksum failure!\"));\n _lastresult = false;\n return _lastresult;\n }\n}\n\n// Expect the signal line to be at the specified level for a period of time and\n// return a count of loop cycles spent at that level (this cycle count can be\n// used to compare the relative time of two pulses). If more than a millisecond\n// ellapses without the level changing then the call fails with a 0 response.\n// This is adapted from Arduino's pulseInLong function (which is only available\n// in the very latest IDE versions):\n// https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/wiring_pulse.c\nuint32_t DHT::expectPulse(bool level) {\n#if (F_CPU \u003e 16000000L)\n uint32_t count = 0;\n#else\n uint16_t count = 0; // To work fast enough on slower AVR boards\n#endif\n// On AVR platforms use direct GPIO port access as it's much faster and better\n// for catching pulses that are 10's of microseconds in length:\n#ifdef __AVR\n uint8_t portState = level ? _bit : 0;\n while ((*portInputRegister(_port) \u0026 _bit) == portState) {\n if (count++ \u003e= _maxcycles) {\n return TIMEOUT; // Exceeded timeout, fail.\n }\n }\n// Otherwise fall back to using digitalRead (this seems to be necessary on\n// ESP8266 right now, perhaps bugs in direct port access functions?).\n#else\n while (digitalRead(_pin) == level) {\n if (count++ \u003e= _maxcycles) {\n return TIMEOUT; // Exceeded timeout, fail.\n }\n }\n#endif\n\n return count;\n}\n"}},"jsonrpc":"2.0"}Content-Length: 167
|
||
|
||
{"method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp"}},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 175
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///c:/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp"}}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":16}},"id":140,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":140,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":16}},"id":141,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":141,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":24,"character":16},"end":{"line":24,"character":16}},"context":{"diagnostics":[]}},"id":142,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":142,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":5}},"id":143,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":143,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":5}},"id":144,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":144,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":23,"character":5}},"id":145,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":145,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":23,"character":5},"end":{"line":23,"character":79}},"context":{"diagnostics":[]}},"id":146,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":146,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 424
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":122},"contentChanges":[{"range":{"start":{"line":23,"character":5},"end":{"line":23,"character":79}},"rangeLength":74,"text":"传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8008
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:145:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":144},"start":{"character":50,"line":144}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":144},"start":{"character":4,"line":144}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:144:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":143},"start":{"character":27,"line":143}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:144:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":143},"start":{"character":2,"line":143}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:147:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":146},"start":{"character":2,"line":146}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server091795711\\sketch\\WIFI Web Servers DHT11.ino.cpp:150:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":149},"start":{"character":2,"line":149}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":160},"start":{"character":0,"line":160}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":161},"start":{"character":0,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":122}}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":23,"character":33},"end":{"line":23,"character":33}},"context":{"diagnostics":[]}},"id":147,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":147,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":23,"character":33},"end":{"line":23,"character":33}},"context":{"diagnostics":[]}},"id":148,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":148,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":3}},"id":149,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":149,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":4}},"id":150,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":150,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":24,"character":5}},"id":151,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":151,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 5860
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":123},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输己IFI账密\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 21 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 38 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 21 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // Read temperature as Celsius (the default)\n float t = dht.readTemperature();\n // Read temperature as Fahrenheit (isFahrenheit = true)\n //float t = dht.readTemperature(true);\n // Check if any reads failed and exit early (to try again).\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// Replaces placeholder with DHT values\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // Serial port for debugging purposes\n Serial.begin(115200);\n\n dht.begin();\n \n // Connect to Wi-Fi\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // Print ESP32 Local IP Address\n Serial.println(WiFi.localIP());\n\n // Route for root / web page\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // Start server\n server.begin();\n}\n \nvoid loop(){\n \n}\n入自的W号和码\n"}]},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":29,"character":5},"end":{"line":29,"character":46}},"context":{"diagnostics":[]}},"id":152,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":5,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":5,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 38
|
||
|
||
{"id":152,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 221
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":153,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":123}}Content-Length: 2374
|
||
|
||
{"id":153,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":16,"line":8},"start":{"character":12,"line":8}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":9},"start":{"character":0,"line":9}},"selectionRange":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":7,"line":17},"start":{"character":4,"line":17}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":20},"start":{"character":0,"line":20}},"selectionRange":{"end":{"character":21,"line":20},"start":{"character":15,"line":20}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":23},"start":{"character":0,"line":23}},"selectionRange":{"end":{"character":25,"line":23},"start":{"character":7,"line":23}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":22,"line":25},"start":{"character":7,"line":25}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":42},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":25,"line":27},"start":{"character":7,"line":27}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":44}},"selectionRange":{"end":{"character":22,"line":44},"start":{"character":7,"line":44}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":117},"start":{"character":0,"line":57}},"selectionRange":{"end":{"character":21,"line":57},"start":{"character":11,"line":57}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":129},"start":{"character":0,"line":120}},"selectionRange":{"end":{"character":16,"line":120},"start":{"character":7,"line":120}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":160},"start":{"character":0,"line":131}},"selectionRange":{"end":{"character":10,"line":131},"start":{"character":5,"line":131}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":164},"start":{"character":0,"line":162}},"selectionRange":{"end":{"character":9,"line":162},"start":{"character":5,"line":162}}}]}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":29,"character":39}},"id":154,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":154,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":29,"character":5}},"id":155,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":155,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":148},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":29,"character":6},"end":{"line":29,"character":6}},"context":{"diagnostics":[]}},"id":156,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":156,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":146},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":29,"character":4}},"id":157,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":157,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":29,"character":5}},"id":158,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":158,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":150},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":151},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":28,"character":30},"end":{"line":29,"character":5}},"context":{"diagnostics":[]}},"id":159,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":159,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":149},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":29,"character":5},"end":{"line":29,"character":46}},"context":{"diagnostics":[]}},"id":160,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":160,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":152},"jsonrpc":"2.0"}Content-Length: 381
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":124},"contentChanges":[{"range":{"start":{"line":29,"character":5},"end":{"line":29,"character":46}},"rangeLength":41,"text":"读取温度为摄氏度(默认值)"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":153},"jsonrpc":"2.0"}Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":29,"character":18},"end":{"line":29,"character":18}},"context":{"diagnostics":[]}},"id":161,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":161,"jsonrpc":"2.0","result":[]}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":124}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":31,"character":5}},"id":162,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":162,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":31,"character":5}},"id":163,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":163,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":155},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":156},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":31,"character":5},"end":{"line":31,"character":57}},"context":{"diagnostics":[]}},"id":164,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":164,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":154},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":147},"jsonrpc":"2.0"}Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":55}},"id":165,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":165,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":158},"jsonrpc":"2.0"}Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":44}},"id":166,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":166,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":31,"character":36}},"id":167,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":167,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":160},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":31,"character":8}},"id":168,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":168,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":161},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":31,"character":8},"end":{"line":31,"character":8}},"context":{"diagnostics":[]}},"id":169,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":169,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":157},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":31,"character":4}},"id":170,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":170,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":31,"character":5}},"id":171,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":171,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":163},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":164},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":31,"character":5},"end":{"line":31,"character":57}},"context":{"diagnostics":[]}},"id":172,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":172,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":162},"jsonrpc":"2.0"}Content-Length: 391
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":125},"contentChanges":[{"range":{"start":{"line":31,"character":5},"end":{"line":31,"character":57}},"rangeLength":52,"text":"读取温度为华氏度(isFahrenheit = true)"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":165},"jsonrpc":"2.0"}Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":31,"character":34},"end":{"line":31,"character":34}},"context":{"diagnostics":[]}},"id":173,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":173,"jsonrpc":"2.0","result":[]}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":125}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":4}},"id":174,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":174,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":4}},"id":175,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":175,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":167},"jsonrpc":"2.0"}Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":126},"contentChanges":[{"range":{"start":{"line":32,"character":4},"end":{"line":32,"character":4}},"text":" "}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":168},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":166},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":5},"end":{"line":32,"character":5}},"context":{"diagnostics":[]}},"id":176,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":176,"jsonrpc":"2.0","result":[]}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":126}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":5}},"id":177,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":177,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":170},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":4}},"id":178,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":178,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":171},"jsonrpc":"2.0"}Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":6}},"id":179,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":179,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":172},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":5},"end":{"line":32,"character":41}},"context":{"diagnostics":[]}},"id":180,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":180,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":169},"jsonrpc":"2.0"}Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":41},"end":{"line":32,"character":41}},"context":{"diagnostics":[]}},"id":181,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":181,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":173},"jsonrpc":"2.0"}Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":10}},"id":182,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":182,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":175},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":5}},"id":183,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":183,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":6}},"id":184,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":184,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":176},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":177},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":6},"end":{"line":32,"character":34}},"context":{"diagnostics":[]}},"id":185,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":185,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":174},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":7}},"id":186,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":186,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":179},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":6}},"id":187,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":187,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":180},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":5}},"id":188,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":188,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":5}},"id":189,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":189,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":181},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":5},"end":{"line":32,"character":5}},"context":{"diagnostics":[]}},"id":190,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":190,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":178},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":32,"character":5}},"id":191,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":191,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":184},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":5},"end":{"line":32,"character":5}},"context":{"diagnostics":[]}},"id":192,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":192,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":183},"jsonrpc":"2.0"}Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":5},"end":{"line":32,"character":41}},"context":{"diagnostics":[]}},"id":193,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":193,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 382
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":127},"contentChanges":[{"range":{"start":{"line":32,"character":5},"end":{"line":32,"character":41}},"rangeLength":36,"text":"float t = dht.readTemperature(true);"}]},"jsonrpc":"2.0"}Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":41},"end":{"line":32,"character":41}},"context":{"diagnostics":[]}},"id":194,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":194,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":23}},"id":195,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":195,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":23}},"id":196,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":196,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":6}},"id":197,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":197,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":5}},"id":198,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":198,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":5}},"id":199,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":199,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":5},"end":{"line":33,"character":61}},"context":{"diagnostics":[]}},"id":200,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":200,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":19}},"id":201,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":201,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":5}},"id":202,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":202,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":5}},"id":203,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":203,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":5},"end":{"line":33,"character":5}},"context":{"diagnostics":[]}},"id":204,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":204,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":5}},"id":205,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":205,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":5}},"id":206,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":206,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":199},"jsonrpc":"2.0"}Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":6}},"id":207,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":207,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":32,"character":41},"end":{"line":33,"character":5}},"context":{"diagnostics":[]}},"id":208,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":208,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":5},"end":{"line":33,"character":60}},"context":{"diagnostics":[]}},"id":209,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":209,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":33,"character":59}},"id":210,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":210,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 411
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":128},"contentChanges":[{"range":{"start":{"line":33,"character":5},"end":{"line":33,"character":60}},"rangeLength":55,"text":"检查是否有任何读取失败并提前退出(再试一次)。"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":128}}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":28},"end":{"line":33,"character":28}},"context":{"diagnostics":[]}},"id":211,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":211,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":28},"end":{"line":33,"character":28}},"context":{"diagnostics":[]}},"id":212,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":212,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":29},"end":{"line":33,"character":29}},"context":{"diagnostics":[]}},"id":213,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":213,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 346
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":129},"contentChanges":[{"range":{"start":{"line":33,"character":28},"end":{"line":33,"character":29}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":129}}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":33,"character":28},"end":{"line":33,"character":28}},"context":{"diagnostics":[]}},"id":214,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":214,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":6}},"id":215,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":215,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":5}},"id":216,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":216,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":5}},"id":217,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":217,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":45,"character":5},"end":{"line":45,"character":79}},"context":{"diagnostics":[]}},"id":218,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":218,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 255
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":46,"character":19}},"id":219,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 206
|
||
|
||
{"id":219,"jsonrpc":"2.0","result":[{"range":{"end":{"character":23,"line":147},"start":{"character":11,"line":147}},"uri":"file:///C:/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp"}]}
|
||
>>>
|
||
Content-Length: 12904
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp","languageId":"cpp","version":1,"text":"/*!\n * @file DHT.cpp\n *\n * @mainpage DHT series of low cost temperature/humidity sensors.\n *\n * @section intro_sec Introduction\n *\n * This is a library for DHT series of low cost temperature/humidity sensors.\n *\n * You must have Adafruit Unified Sensor Library library installed to use this\n * class.\n *\n * Adafruit invests time and resources providing this open source code,\n * please support Adafruit andopen-source hardware by purchasing products\n * from Adafruit!\n *\n * @section author Author\n *\n * Written by Adafruit Industries.\n *\n * @section license License\n *\n * MIT license, all text above must be included in any redistribution\n */\n\n#include \"DHT.h\"\n\n#define MIN_INTERVAL 2000 /**\u003c min interval value */\n#define TIMEOUT \\\n UINT32_MAX /**\u003c Used programmatically for timeout. \\\n Not a timeout duration. Type: uint32_t. */\n\n/*!\n * @brief Instantiates a new DHT class\n * @param pin\n * pin number that sensor is connected\n * @param type\n * type of sensor\n * @param count\n * number of sensors\n */\nDHT::DHT(uint8_t pin, uint8_t type, uint8_t count) {\n (void)count; // Workaround to avoid compiler warning.\n _pin = pin;\n _type = type;\n#ifdef __AVR\n _bit = digitalPinToBitMask(pin);\n _port = digitalPinToPort(pin);\n#endif\n _maxcycles =\n microsecondsToClockCycles(1000); // 1 millisecond timeout for\n // reading pulses from DHT sensor.\n // Note that count is now ignored as the DHT reading algorithm adjusts itself\n // based on the speed of the processor.\n}\n\n/*!\n * @brief Setup sensor pins and set pull timings\n * @param usec\n * Optionally pass pull-up time (in microseconds) before DHT reading\n *starts. Default is 55 (see function declaration in DHT.h).\n */\nvoid DHT::begin(uint8_t usec) {\n // set up the pins!\n pinMode(_pin, INPUT_PULLUP);\n // Using this value makes sure that millis() - lastreadtime will be\n // \u003e= MIN_INTERVAL right away. Note that this assignment wraps around,\n // but so will the subtraction.\n _lastreadtime = millis() - MIN_INTERVAL;\n DEBUG_PRINT(\"DHT max clock cycles: \");\n DEBUG_PRINTLN(_maxcycles, DEC);\n pullTime = usec;\n}\n\n/*!\n * @brief Read temperature\n * @param S\n * Scale. Boolean value:\n *\t\t\t\t\t- true = Fahrenheit\n *\t\t\t\t\t- false = Celcius\n * @param force\n * true if in force mode\n *\t@return Temperature value in selected scale\n */\nfloat DHT::readTemperature(bool S, bool force) {\n float f = NAN;\n\n if (read(force)) {\n switch (_type) {\n case DHT11:\n f = data[2];\n if (data[3] \u0026 0x80) {\n f = -1 - f;\n }\n f += (data[3] \u0026 0x0f) * 0.1;\n if (S) {\n f = convertCtoF(f);\n }\n break;\n case DHT12:\n f = data[2];\n f += (data[3] \u0026 0x0f) * 0.1;\n if (data[2] \u0026 0x80) {\n f *= -1;\n }\n if (S) {\n f = convertCtoF(f);\n }\n break;\n case DHT22:\n case DHT21:\n f = ((word)(data[2] \u0026 0x7F)) \u003c\u003c 8 | data[3];\n f *= 0.1;\n if (data[2] \u0026 0x80) {\n f *= -1;\n }\n if (S) {\n f = convertCtoF(f);\n }\n break;\n }\n }\n return f;\n}\n\n/*!\n * @brief Converts Celcius to Fahrenheit\n * @param c\n *\t\t\t\t\tvalue in Celcius\n *\t@return float value in Fahrenheit\n */\nfloat DHT::convertCtoF(float c) { return c * 1.8 + 32; }\n\n/*!\n * @brief Converts Fahrenheit to Celcius\n * @param f\n *\t\t\t\t\tvalue in Fahrenheit\n *\t@return float value in Celcius\n */\nfloat DHT::convertFtoC(float f) { return (f - 32) * 0.55555; }\n\n/*!\n * @brief Read Humidity\n * @param force\n *\t\t\t\t\tforce read mode\n *\t@return float value - humidity in percent\n */\nfloat DHT::readHumidity(bool force) {\n float f = NAN;\n if (read(force)) {\n switch (_type) {\n case DHT11:\n case DHT12:\n f = data[0] + data[1] * 0.1;\n break;\n case DHT22:\n case DHT21:\n f = ((word)data[0]) \u003c\u003c 8 | data[1];\n f *= 0.1;\n break;\n }\n }\n return f;\n}\n\n/*!\n * @brief Compute Heat Index\n * Simplified version that reads temp and humidity from sensor\n * @param isFahrenheit\n * \t\t\t\t\ttrue if fahrenheit, false if celcius\n *(default true)\n *\t@return float heat index\n */\nfloat DHT::computeHeatIndex(bool isFahrenheit) {\n float hi = computeHeatIndex(readTemperature(isFahrenheit), readHumidity(),\n isFahrenheit);\n return hi;\n}\n\n/*!\n * @brief Compute Heat Index\n * \t\t\t\tUsing both Rothfusz and Steadman's equations\n *\t\t\t\t\t(http://www.wpc.ncep.noaa.gov/html/heatindex_equation.shtml)\n * @param temperature\n * temperature in selected scale\n * @param percentHumidity\n * humidity in percent\n * @param isFahrenheit\n * \t\t\t\t\ttrue if fahrenheit, false if celcius\n *\t@return float heat index\n */\nfloat DHT::computeHeatIndex(float temperature, float percentHumidity,\n bool isFahrenheit) {\n float hi;\n\n if (!isFahrenheit)\n temperature = convertCtoF(temperature);\n\n hi = 0.5 * (temperature + 61.0 + ((temperature - 68.0) * 1.2) +\n (percentHumidity * 0.094));\n\n if (hi \u003e 79) {\n hi = -42.379 + 2.04901523 * temperature + 10.14333127 * percentHumidity +\n -0.22475541 * temperature * percentHumidity +\n -0.00683783 * pow(temperature, 2) +\n -0.05481717 * pow(percentHumidity, 2) +\n 0.00122874 * pow(temperature, 2) * percentHumidity +\n 0.00085282 * temperature * pow(percentHumidity, 2) +\n -0.00000199 * pow(temperature, 2) * pow(percentHumidity, 2);\n\n if ((percentHumidity \u003c 13) \u0026\u0026 (temperature \u003e= 80.0) \u0026\u0026\n (temperature \u003c= 112.0))\n hi -= ((13.0 - percentHumidity) * 0.25) *\n sqrt((17.0 - abs(temperature - 95.0)) * 0.05882);\n\n else if ((percentHumidity \u003e 85.0) \u0026\u0026 (temperature \u003e= 80.0) \u0026\u0026\n (temperature \u003c= 87.0))\n hi += ((percentHumidity - 85.0) * 0.1) * ((87.0 - temperature) * 0.2);\n }\n\n return isFahrenheit ? hi : convertFtoC(hi);\n}\n\n/*!\n * @brief Read value from sensor or return last one from less than two\n *seconds.\n * @param force\n * true if using force mode\n *\t@return float value\n */\nbool DHT::read(bool force) {\n // Check if sensor was read less than two seconds ago and return early\n // to use last reading.\n uint32_t currenttime = millis();\n if (!force \u0026\u0026 ((currenttime - _lastreadtime) \u003c MIN_INTERVAL)) {\n return _lastresult; // return last correct measurement\n }\n _lastreadtime = currenttime;\n\n // Reset 40 bits of received data to zero.\n data[0] = data[1] = data[2] = data[3] = data[4] = 0;\n\n#if defined(ESP8266)\n yield(); // Handle WiFi / reset software watchdog\n#endif\n\n // Send start signal. See DHT datasheet for full signal diagram:\n // http://www.adafruit.com/datasheets/Digital%20humidity%20and%20temperature%20sensor%20AM2302.pdf\n\n // Go into high impedence state to let pull-up raise data line level and\n // start the reading process.\n pinMode(_pin, INPUT_PULLUP);\n delay(1);\n\n // First set data line low for a period according to sensor type\n pinMode(_pin, OUTPUT);\n digitalWrite(_pin, LOW);\n switch (_type) {\n case DHT22:\n case DHT21:\n delayMicroseconds(1100); // data sheet says \"at least 1ms\"\n break;\n case DHT11:\n default:\n delay(20); // data sheet says at least 18ms, 20ms just to be safe\n break;\n }\n\n uint32_t cycles[80];\n {\n // End the start signal by setting data line high for 40 microseconds.\n pinMode(_pin, INPUT_PULLUP);\n\n // Delay a moment to let sensor pull data line low.\n delayMicroseconds(pullTime);\n\n // Now start reading the data line to get the value from the DHT sensor.\n\n // Turn off interrupts temporarily because the next sections\n // are timing critical and we don't want any interruptions.\n InterruptLock lock;\n\n // First expect a low signal for ~80 microseconds followed by a high signal\n // for ~80 microseconds again.\n if (expectPulse(LOW) == TIMEOUT) {\n DEBUG_PRINTLN(F(\"DHT timeout waiting for start signal low pulse.\"));\n _lastresult = false;\n return _lastresult;\n }\n if (expectPulse(HIGH) == TIMEOUT) {\n DEBUG_PRINTLN(F(\"DHT timeout waiting for start signal high pulse.\"));\n _lastresult = false;\n return _lastresult;\n }\n\n // Now read the 40 bits sent by the sensor. Each bit is sent as a 50\n // microsecond low pulse followed by a variable length high pulse. If the\n // high pulse is ~28 microseconds then it's a 0 and if it's ~70 microseconds\n // then it's a 1. We measure the cycle count of the initial 50us low pulse\n // and use that to compare to the cycle count of the high pulse to determine\n // if the bit is a 0 (high state cycle count \u003c low state cycle count), or a\n // 1 (high state cycle count \u003e low state cycle count). Note that for speed\n // all the pulses are read into a array and then examined in a later step.\n for (int i = 0; i \u003c 80; i += 2) {\n cycles[i] = expectPulse(LOW);\n cycles[i + 1] = expectPulse(HIGH);\n }\n } // Timing critical code is now complete.\n\n // Inspect pulses and determine which ones are 0 (high state cycle count \u003c low\n // state cycle count), or 1 (high state cycle count \u003e low state cycle count).\n for (int i = 0; i \u003c 40; ++i) {\n uint32_t lowCycles = cycles[2 * i];\n uint32_t highCycles = cycles[2 * i + 1];\n if ((lowCycles == TIMEOUT) || (highCycles == TIMEOUT)) {\n DEBUG_PRINTLN(F(\"DHT timeout waiting for pulse.\"));\n _lastresult = false;\n return _lastresult;\n }\n data[i / 8] \u003c\u003c= 1;\n // Now compare the low and high cycle times to see if the bit is a 0 or 1.\n if (highCycles \u003e lowCycles) {\n // High cycles are greater than 50us low cycle count, must be a 1.\n data[i / 8] |= 1;\n }\n // Else high cycles are less than (or equal to, a weird case) the 50us low\n // cycle count so this must be a zero. Nothing needs to be changed in the\n // stored data.\n }\n\n DEBUG_PRINTLN(F(\"Received from DHT:\"));\n DEBUG_PRINT(data[0], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[1], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[2], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[3], HEX);\n DEBUG_PRINT(F(\", \"));\n DEBUG_PRINT(data[4], HEX);\n DEBUG_PRINT(F(\" =? \"));\n DEBUG_PRINTLN((data[0] + data[1] + data[2] + data[3]) \u0026 0xFF, HEX);\n\n // Check we read 40 bits and that the checksum matches.\n if (data[4] == ((data[0] + data[1] + data[2] + data[3]) \u0026 0xFF)) {\n _lastresult = true;\n return _lastresult;\n } else {\n DEBUG_PRINTLN(F(\"DHT checksum failure!\"));\n _lastresult = false;\n return _lastresult;\n }\n}\n\n// Expect the signal line to be at the specified level for a period of time and\n// return a count of loop cycles spent at that level (this cycle count can be\n// used to compare the relative time of two pulses). If more than a millisecond\n// ellapses without the level changing then the call fails with a 0 response.\n// This is adapted from Arduino's pulseInLong function (which is only available\n// in the very latest IDE versions):\n// https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/wiring_pulse.c\nuint32_t DHT::expectPulse(bool level) {\n#if (F_CPU \u003e 16000000L)\n uint32_t count = 0;\n#else\n uint16_t count = 0; // To work fast enough on slower AVR boards\n#endif\n// On AVR platforms use direct GPIO port access as it's much faster and better\n// for catching pulses that are 10's of microseconds in length:\n#ifdef __AVR\n uint8_t portState = level ? _bit : 0;\n while ((*portInputRegister(_port) \u0026 _bit) == portState) {\n if (count++ \u003e= _maxcycles) {\n return TIMEOUT; // Exceeded timeout, fail.\n }\n }\n// Otherwise fall back to using digitalRead (this seems to be necessary on\n// ESP8266 right now, perhaps bugs in direct port access functions?).\n#else\n while (digitalRead(_pin) == level) {\n if (count++ \u003e= _maxcycles) {\n return TIMEOUT; // Exceeded timeout, fail.\n }\n }\n#endif\n\n return count;\n}\n"}},"jsonrpc":"2.0"}Content-Length: 167
|
||
|
||
{"method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp"}},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 175
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///c:/Users/zhulin/Documents/Arduino/libraries/DHT_sensor_library/DHT.cpp"}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":4}},"id":220,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":220,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":5}},"id":221,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":221,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":45,"character":79},"end":{"line":45,"character":79}},"context":{"diagnostics":[]}},"id":222,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":222,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":45,"character":4},"end":{"line":45,"character":79}},"context":{"diagnostics":[]}},"id":223,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":223,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":45,"character":5},"end":{"line":45,"character":79}},"context":{"diagnostics":[]}},"id":224,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":224,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":5}},"id":225,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":225,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 254
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":5}},"id":226,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":226,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 424
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":130},"contentChanges":[{"range":{"start":{"line":45,"character":5},"end":{"line":45,"character":79}},"rangeLength":74,"text":"传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)"}]},"jsonrpc":"2.0"}Content-Length: 254
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":45,"character":5}},"id":227,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":227,"jsonrpc":"2.0","result":[]}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":130}}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":46,"character":5}},"id":228,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":228,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":45,"character":33},"end":{"line":45,"character":33}},"context":{"diagnostics":[]}},"id":229,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":229,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":50,"character":3},"end":{"line":50,"character":3}},"context":{"diagnostics":[]}},"id":230,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":230,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":88,"character":45}},"id":231,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":231,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":119,"character":2}},"id":232,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":232,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":119,"character":3}},"id":233,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":233,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":118,"character":0},"end":{"line":119,"character":3}},"context":{"diagnostics":[]}},"id":234,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":234,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":119,"character":3},"end":{"line":119,"character":39}},"context":{"diagnostics":[]}},"id":235,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":235,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":119,"character":15}},"id":236,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":236,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":119,"character":2}},"id":237,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":237,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":119,"character":3},"end":{"line":119,"character":3}},"context":{"diagnostics":[]}},"id":238,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":238,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":119,"character":3}},"id":239,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":239,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":119,"character":4}},"id":240,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":240,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":119,"character":3},"end":{"line":119,"character":39}},"context":{"diagnostics":[]}},"id":241,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":241,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 372
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":131},"contentChanges":[{"range":{"start":{"line":119,"character":3},"end":{"line":119,"character":39}},"rangeLength":36,"text":"用DHT值替换占位符"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":131}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":119,"character":13},"end":{"line":119,"character":13}},"context":{"diagnostics":[]}},"id":242,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":242,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":122,"character":23}},"id":243,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":243,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":121,"character":4}},"id":244,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":244,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":132,"character":4}},"id":245,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":245,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":132,"character":5}},"id":246,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":246,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":132,"character":5},"end":{"line":132,"character":39}},"context":{"diagnostics":[]}},"id":247,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":247,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":132,"character":19}},"id":248,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":248,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":132,"character":5}},"id":249,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":249,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":242},"jsonrpc":"2.0"}Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":132,"character":5}},"id":250,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":250,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":132,"character":5},"end":{"line":132,"character":5}},"context":{"diagnostics":[]}},"id":251,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":251,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":132,"character":7}},"id":252,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":252,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":132,"character":5},"end":{"line":132,"character":39}},"context":{"diagnostics":[]}},"id":253,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":253,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 369
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":132},"contentChanges":[{"range":{"start":{"line":132,"character":5},"end":{"line":132,"character":39}},"rangeLength":34,"text":"用于调试的串口"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":132}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":132,"character":12},"end":{"line":132,"character":12}},"context":{"diagnostics":[]}},"id":254,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":254,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":132,"character":12},"end":{"line":132,"character":12}},"context":{"diagnostics":[]}},"id":255,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":255,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":5}},"id":256,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":256,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":5}},"id":257,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":257,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":137,"character":5},"end":{"line":137,"character":21}},"context":{"diagnostics":[]}},"id":258,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":258,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":21}},"id":259,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":259,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":138,"character":26}},"id":260,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 243
|
||
|
||
{"id":260,"jsonrpc":"2.0","result":[{"range":{"end":{"character":20,"line":9},"start":{"character":12,"line":9}},"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}]}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":139,"character":26}},"id":261,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 238
|
||
|
||
{"id":261,"jsonrpc":"2.0","result":[{"range":{"end":{"character":16,"line":44},"start":{"character":4,"line":44}},"uri":"file:///C:/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiType.h"}]}
|
||
>>>
|
||
Content-Length: 1958
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiType.h","languageId":"cpp","version":1,"text":"/*\n ESP8266WiFiType.h - esp8266 Wifi support.\n Copyright (c) 2011-2014 Arduino. All right reserved.\n Modified by Ivan Grokhotkov, December 2014\n Reworked by Markus Sattler, December 2015\n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n */\n\n\n#ifndef ESP32WIFITYPE_H_\n#define ESP32WIFITYPE_H_\n\n#define WIFI_SCAN_RUNNING (-1)\n#define WIFI_SCAN_FAILED (-2)\n\n#define WiFiMode_t wifi_mode_t\n#define WIFI_OFF WIFI_MODE_NULL\n#define WIFI_STA WIFI_MODE_STA\n#define WIFI_AP WIFI_MODE_AP\n#define WIFI_AP_STA WIFI_MODE_APSTA\n\n#define WiFiEvent_t system_event_id_t\n#define WiFiEventInfo_t system_event_info_t\n#define WiFiEventId_t wifi_event_id_t\n\n\ntypedef enum {\n WL_NO_SHIELD = 255, // for compatibility with WiFi Shield library\n WL_IDLE_STATUS = 0,\n WL_NO_SSID_AVAIL = 1,\n WL_SCAN_COMPLETED = 2,\n WL_CONNECTED = 3,\n WL_CONNECT_FAILED = 4,\n WL_CONNECTION_LOST = 5,\n WL_DISCONNECTED = 6\n} wl_status_t;\n\n#endif /* ESP32WIFITYPE_H_ */\n"}},"jsonrpc":"2.0"}Content-Length: 202
|
||
|
||
{"method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiType.h"}},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 210
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///c:/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiType.h"}}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":21}},"id":262,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":262,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 263
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":21}},"id":263,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":263,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":137,"character":21},"end":{"line":137,"character":21}},"context":{"diagnostics":[]}},"id":264,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":264,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":6}},"id":265,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":265,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":137,"character":6},"end":{"line":137,"character":6}},"context":{"diagnostics":[]}},"id":266,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":266,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":137,"character":4}},"id":267,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":267,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":137,"character":5},"end":{"line":137,"character":21}},"context":{"diagnostics":[]}},"id":268,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":268,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 369
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":133},"contentChanges":[{"range":{"start":{"line":137,"character":5},"end":{"line":137,"character":21}},"rangeLength":16,"text":"连接到无线网络"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":133}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":137,"character":12},"end":{"line":137,"character":12}},"context":{"diagnostics":[]}},"id":269,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":269,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":5}},"id":270,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":270,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":5}},"id":271,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":271,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":143,"character":0},"end":{"line":144,"character":5}},"context":{"diagnostics":[]}},"id":272,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":272,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":143,"character":0},"end":{"line":144,"character":33}},"context":{"diagnostics":[]}},"id":273,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":273,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":144,"character":23},"end":{"line":144,"character":23}},"context":{"diagnostics":[]}},"id":274,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":274,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":5}},"id":275,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":275,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":144,"character":5},"end":{"line":144,"character":33}},"context":{"diagnostics":[]}},"id":276,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":276,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":145,"character":28}},"id":277,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 242
|
||
|
||
{"id":277,"jsonrpc":"2.0","result":[{"range":{"end":{"character":31,"line":409},"start":{"character":24,"line":409}},"uri":"file:///C:/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiSTA.cpp"}]}
|
||
>>>
|
||
Content-Length: 21993
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiSTA.cpp","languageId":"cpp","version":1,"text":"/*\n WiFiSTA.cpp - WiFi library for esp32\n\n Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.\n This file is part of the esp8266 core for Arduino environment.\n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\n\n Reworked on 28 Dec 2015 by Markus Sattler\n\n */\n\n#include \"WiFi.h\"\n#include \"WiFiGeneric.h\"\n#include \"WiFiSTA.h\"\n\nextern \"C\" {\n#include \u003cstdint.h\u003e\n#include \u003cstdbool.h\u003e\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\n#include \u003cinttypes.h\u003e\n#include \u003cstring.h\u003e\n#include \u003cesp_err.h\u003e\n#include \u003cesp_wifi.h\u003e\n#include \u003cesp_event_loop.h\u003e\n#include \u003cesp32-hal.h\u003e\n#include \u003clwip/ip_addr.h\u003e\n#include \"lwip/err.h\"\n#include \"lwip/dns.h\"\n#include \u003cesp_smartconfig.h\u003e\n#include \u003ctcpip_adapter.h\u003e\n}\n\n// -----------------------------------------------------------------------------------------------------------------------\n// ---------------------------------------------------- Private functions ------------------------------------------------\n// -----------------------------------------------------------------------------------------------------------------------\n\nstatic bool sta_config_equal(const wifi_config_t\u0026 lhs, const wifi_config_t\u0026 rhs);\n\n\n/**\n * compare two STA configurations\n * @param lhs station_config\n * @param rhs station_config\n * @return equal\n */\nstatic bool sta_config_equal(const wifi_config_t\u0026 lhs, const wifi_config_t\u0026 rhs)\n{\n if(memcmp(\u0026lhs, \u0026rhs, sizeof(wifi_config_t)) != 0) {\n return false;\n }\n return true;\n}\n\n// -----------------------------------------------------------------------------------------------------------------------\n// ---------------------------------------------------- STA function -----------------------------------------------------\n// -----------------------------------------------------------------------------------------------------------------------\n\nbool WiFiSTAClass::_autoReconnect = true;\nbool WiFiSTAClass::_useStaticIp = false;\nString WiFiSTAClass::_hostname = \"esp32-arduino\";\n\nstatic wl_status_t _sta_status = WL_NO_SHIELD;\nstatic EventGroupHandle_t _sta_status_group = NULL;\n\nvoid WiFiSTAClass::_setStatus(wl_status_t status)\n{\n if(!_sta_status_group){\n _sta_status_group = xEventGroupCreate();\n if(!_sta_status_group){\n log_e(\"STA Status Group Create Failed!\");\n _sta_status = status;\n return;\n }\n }\n xEventGroupClearBits(_sta_status_group, 0x00FFFFFF);\n xEventGroupSetBits(_sta_status_group, status);\n}\n\n/**\n * Return Connection status.\n * @return one of the value defined in wl_status_t\n *\n */\nwl_status_t WiFiSTAClass::status()\n{\n if(!_sta_status_group){\n return _sta_status;\n }\n return (wl_status_t)xEventGroupClearBits(_sta_status_group, 0);\n}\n\n/**\n * Start Wifi connection\n * if passphrase is set the most secure supported mode will be automatically selected\n * @param ssid const char* Pointer to the SSID string.\n * @param passphrase const char * Optional. Passphrase. Valid characters in a passphrase must be between ASCII 32-126 (decimal).\n * @param bssid uint8_t[6] Optional. BSSID / MAC of AP\n * @param channel Optional. Channel of AP\n * @param connect Optional. call connect\n * @return\n */\nwl_status_t WiFiSTAClass::begin(const char* ssid, const char *passphrase, int32_t channel, const uint8_t* bssid, bool connect)\n{\n\n if(!WiFi.enableSTA(true)) {\n log_e(\"STA enable failed!\");\n return WL_CONNECT_FAILED;\n }\n\n if(!ssid || *ssid == 0x00 || strlen(ssid) \u003e 32) {\n log_e(\"SSID too long or missing!\");\n return WL_CONNECT_FAILED;\n }\n\n if(passphrase \u0026\u0026 strlen(passphrase) \u003e 64) {\n log_e(\"passphrase too long!\");\n return WL_CONNECT_FAILED;\n }\n\n wifi_config_t conf;\n memset(\u0026conf, 0, sizeof(wifi_config_t));\n strcpy(reinterpret_cast\u003cchar*\u003e(conf.sta.ssid), ssid);\n conf.sta.scan_method = WIFI_ALL_CHANNEL_SCAN; //force full scan to be able to choose the nearest / strongest AP\n\n if(passphrase) {\n if (strlen(passphrase) == 64){ // it's not a passphrase, is the PSK\n memcpy(reinterpret_cast\u003cchar*\u003e(conf.sta.password), passphrase, 64);\n } else {\n strcpy(reinterpret_cast\u003cchar*\u003e(conf.sta.password), passphrase);\n }\n }\n\n if(bssid) {\n conf.sta.bssid_set = 1;\n memcpy((void *) \u0026conf.sta.bssid[0], (void *) bssid, 6);\n }\n\n if(channel \u003e 0 \u0026\u0026 channel \u003c= 13) {\n conf.sta.channel = channel;\n }\n\n wifi_config_t current_conf;\n esp_wifi_get_config(WIFI_IF_STA, \u0026current_conf);\n if(!sta_config_equal(current_conf, conf)) {\n if(esp_wifi_disconnect()){\n log_e(\"disconnect failed!\");\n return WL_CONNECT_FAILED;\n }\n\n esp_wifi_set_config(WIFI_IF_STA, \u0026conf);\n } else if(status() == WL_CONNECTED){\n return WL_CONNECTED;\n } else {\n esp_wifi_set_config(WIFI_IF_STA, \u0026conf);\n }\n\n if(!_useStaticIp) {\n if(tcpip_adapter_dhcpc_start(TCPIP_ADAPTER_IF_STA) == ESP_ERR_TCPIP_ADAPTER_DHCPC_START_FAILED){\n log_e(\"dhcp client start failed!\");\n return WL_CONNECT_FAILED;\n }\n } else {\n tcpip_adapter_dhcpc_stop(TCPIP_ADAPTER_IF_STA);\n }\n\n if(connect \u0026\u0026 esp_wifi_connect()) {\n log_e(\"connect failed!\");\n return WL_CONNECT_FAILED;\n }\n\n return status();\n}\n\nwl_status_t WiFiSTAClass::begin(char* ssid, char *passphrase, int32_t channel, const uint8_t* bssid, bool connect)\n{\n return begin((const char*) ssid, (const char*) passphrase, channel, bssid, connect);\n}\n\n/**\n * Use to connect to SDK config.\n * @return wl_status_t\n */\nwl_status_t WiFiSTAClass::begin()\n{\n\n if(!WiFi.enableSTA(true)) {\n log_e(\"STA enable failed!\");\n return WL_CONNECT_FAILED;\n }\n\n wifi_config_t current_conf;\n if(esp_wifi_get_config(WIFI_IF_STA, \u0026current_conf) != ESP_OK || esp_wifi_set_config(WIFI_IF_STA, \u0026current_conf) != ESP_OK) {\n log_e(\"config failed\");\n return WL_CONNECT_FAILED;\n }\n\n if(!_useStaticIp) {\n if(tcpip_adapter_dhcpc_start(TCPIP_ADAPTER_IF_STA) == ESP_ERR_TCPIP_ADAPTER_DHCPC_START_FAILED){\n log_e(\"dhcp client start failed!\");\n return WL_CONNECT_FAILED;\n }\n } else {\n tcpip_adapter_dhcpc_stop(TCPIP_ADAPTER_IF_STA);\n }\n\n if(status() != WL_CONNECTED \u0026\u0026 esp_wifi_connect()){\n log_e(\"connect failed!\");\n return WL_CONNECT_FAILED;\n }\n\n return status();\n}\n\n/**\n * will force a disconnect and then start reconnecting to AP\n * @return true when successful\n */\nbool WiFiSTAClass::reconnect()\n{\n if(WiFi.getMode() \u0026 WIFI_MODE_STA) {\n if(esp_wifi_disconnect() == ESP_OK) {\n return esp_wifi_connect() == ESP_OK;\n }\n }\n return false;\n}\n\n/**\n * Disconnect from the network\n * @param wifioff\n * @return one value of wl_status_t enum\n */\nbool WiFiSTAClass::disconnect(bool wifioff, bool eraseap)\n{\n wifi_config_t conf;\n\n if(WiFi.getMode() \u0026 WIFI_MODE_STA){\n if(eraseap){\n memset(\u0026conf, 0, sizeof(wifi_config_t));\n if(esp_wifi_set_config(WIFI_IF_STA, \u0026conf)){\n log_e(\"clear config failed!\");\n }\n }\n if(esp_wifi_disconnect()){\n log_e(\"disconnect failed!\");\n return false;\n }\n if(wifioff) {\n return WiFi.enableSTA(false);\n }\n return true;\n }\n\n return false;\n}\n\n/**\n * Change IP configuration settings disabling the dhcp client\n * @param local_ip Static ip configuration\n * @param gateway Static gateway configuration\n * @param subnet Static Subnet mask\n * @param dns1 Static DNS server 1\n * @param dns2 Static DNS server 2\n */\nbool WiFiSTAClass::config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1, IPAddress dns2)\n{\n esp_err_t err = ESP_OK;\n\n if(!WiFi.enableSTA(true)) {\n return false;\n }\n\n tcpip_adapter_ip_info_t info;\n\n if(local_ip != (uint32_t)0x00000000 \u0026\u0026 local_ip != INADDR_NONE){\n info.ip.addr = static_cast\u003cuint32_t\u003e(local_ip);\n info.gw.addr = static_cast\u003cuint32_t\u003e(gateway);\n info.netmask.addr = static_cast\u003cuint32_t\u003e(subnet);\n } else {\n info.ip.addr = 0;\n info.gw.addr = 0;\n info.netmask.addr = 0;\n }\n\n err = tcpip_adapter_dhcpc_stop(TCPIP_ADAPTER_IF_STA);\n if(err != ESP_OK \u0026\u0026 err != ESP_ERR_TCPIP_ADAPTER_DHCP_ALREADY_STOPPED){\n log_e(\"DHCP could not be stopped! Error: %d\", err);\n return false;\n }\n\n err = tcpip_adapter_set_ip_info(TCPIP_ADAPTER_IF_STA, \u0026info);\n if(err != ERR_OK){\n log_e(\"STA IP could not be configured! Error: %d\", err);\n return false;\n }\n\n if(info.ip.addr){\n _useStaticIp = true;\n } else {\n err = tcpip_adapter_dhcpc_start(TCPIP_ADAPTER_IF_STA);\n if(err == ESP_ERR_TCPIP_ADAPTER_DHCPC_START_FAILED){\n log_e(\"dhcp client start failed!\");\n return false;\n }\n _useStaticIp = false;\n }\n\n ip_addr_t d;\n d.type = IPADDR_TYPE_V4;\n\n if(dns1 != (uint32_t)0x00000000 \u0026\u0026 dns1 != INADDR_NONE) {\n // Set DNS1-Server\n d.u_addr.ip4.addr = static_cast\u003cuint32_t\u003e(dns1);\n dns_setserver(0, \u0026d);\n }\n\n if(dns2 != (uint32_t)0x00000000 \u0026\u0026 dns2 != INADDR_NONE) {\n // Set DNS2-Server\n d.u_addr.ip4.addr = static_cast\u003cuint32_t\u003e(dns2);\n dns_setserver(1, \u0026d);\n }\n\n return true;\n}\n\n/**\n * is STA interface connected?\n * @return true if STA is connected to an AP\n */\nbool WiFiSTAClass::isConnected()\n{\n return (status() == WL_CONNECTED);\n}\n\n\n/**\n * Setting the ESP32 station to connect to the AP (which is recorded)\n * automatically or not when powered on. Enable auto-connect by default.\n * @param autoConnect bool\n * @return if saved\n */\nbool WiFiSTAClass::setAutoConnect(bool autoConnect)\n{\n /*bool ret;\n ret = esp_wifi_set_auto_connect(autoConnect);\n return ret;*/\n return false;//now deprecated\n}\n\n/**\n * Checks if ESP32 station mode will connect to AP\n * automatically or not when it is powered on.\n * @return auto connect\n */\nbool WiFiSTAClass::getAutoConnect()\n{\n /*bool autoConnect;\n esp_wifi_get_auto_connect(\u0026autoConnect);\n return autoConnect;*/\n return false;//now deprecated\n}\n\nbool WiFiSTAClass::setAutoReconnect(bool autoReconnect)\n{\n _autoReconnect = autoReconnect;\n return true;\n}\n\nbool WiFiSTAClass::getAutoReconnect()\n{\n return _autoReconnect;\n}\n\n/**\n * Wait for WiFi connection to reach a result\n * returns the status reached or disconnect if STA is off\n * @return wl_status_t\n */\nuint8_t WiFiSTAClass::waitForConnectResult()\n{\n //1 and 3 have STA enabled\n if((WiFiGenericClass::getMode() \u0026 WIFI_MODE_STA) == 0) {\n return WL_DISCONNECTED;\n }\n int i = 0;\n while((!status() || status() \u003e= WL_DISCONNECTED) \u0026\u0026 i++ \u003c 100) {\n delay(100);\n }\n return status();\n}\n\n/**\n * Get the station interface IP address.\n * @return IPAddress station IP\n */\nIPAddress WiFiSTAClass::localIP()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPAddress();\n }\n tcpip_adapter_ip_info_t ip;\n tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, \u0026ip);\n return IPAddress(ip.ip.addr);\n}\n\n\n/**\n * Get the station interface MAC address.\n * @param mac pointer to uint8_t array with length WL_MAC_ADDR_LENGTH\n * @return pointer to uint8_t *\n */\nuint8_t* WiFiSTAClass::macAddress(uint8_t* mac)\n{\n if(WiFiGenericClass::getMode() != WIFI_MODE_NULL){\n esp_wifi_get_mac(WIFI_IF_STA, mac);\t\n }\n else{\n esp_read_mac(mac, ESP_MAC_WIFI_STA);\n }\n return mac;\n}\n\n/**\n * Get the station interface MAC address.\n * @return String mac\n */\nString WiFiSTAClass::macAddress(void)\n{\n uint8_t mac[6];\n char macStr[18] = { 0 };\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n esp_read_mac(mac, ESP_MAC_WIFI_STA);\n }\n else{\n esp_wifi_get_mac(WIFI_IF_STA, mac);\n }\n sprintf(macStr, \"%02X:%02X:%02X:%02X:%02X:%02X\", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);\n return String(macStr);\n}\n\n/**\n * Get the interface subnet mask address.\n * @return IPAddress subnetMask\n */\nIPAddress WiFiSTAClass::subnetMask()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPAddress();\n }\n tcpip_adapter_ip_info_t ip;\n tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, \u0026ip);\n return IPAddress(ip.netmask.addr);\n}\n\n/**\n * Get the gateway ip address.\n * @return IPAddress gatewayIP\n */\nIPAddress WiFiSTAClass::gatewayIP()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPAddress();\n }\n tcpip_adapter_ip_info_t ip;\n tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, \u0026ip);\n return IPAddress(ip.gw.addr);\n}\n\n/**\n * Get the DNS ip address.\n * @param dns_no\n * @return IPAddress DNS Server IP\n */\nIPAddress WiFiSTAClass::dnsIP(uint8_t dns_no)\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPAddress();\n }\n const ip_addr_t* dns_ip = dns_getserver(dns_no);\n return IPAddress(dns_ip-\u003eu_addr.ip4.addr);\n}\n\n/**\n * Get the broadcast ip address.\n * @return IPAddress broadcastIP\n */\nIPAddress WiFiSTAClass::broadcastIP()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPAddress();\n }\n tcpip_adapter_ip_info_t ip;\n tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, \u0026ip);\n return WiFiGenericClass::calculateBroadcast(IPAddress(ip.gw.addr), IPAddress(ip.netmask.addr));\n}\n\n/**\n * Get the network id.\n * @return IPAddress networkID\n */\nIPAddress WiFiSTAClass::networkID()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPAddress();\n }\n tcpip_adapter_ip_info_t ip;\n tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, \u0026ip);\n return WiFiGenericClass::calculateNetworkID(IPAddress(ip.gw.addr), IPAddress(ip.netmask.addr));\n}\n\n/**\n * Get the subnet CIDR.\n * @return uint8_t subnetCIDR\n */\nuint8_t WiFiSTAClass::subnetCIDR()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return (uint8_t)0;\n }\n tcpip_adapter_ip_info_t ip;\n tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, \u0026ip);\n return WiFiGenericClass::calculateSubnetCIDR(IPAddress(ip.netmask.addr));\n}\n\n/**\n * Return the current SSID associated with the network\n * @return SSID\n */\nString WiFiSTAClass::SSID() const\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return String();\n }\n wifi_ap_record_t info;\n if(!esp_wifi_sta_get_ap_info(\u0026info)) {\n return String(reinterpret_cast\u003cchar*\u003e(info.ssid));\n }\n return String();\n}\n\n/**\n * Return the current pre shared key associated with the network\n * @return psk string\n */\nString WiFiSTAClass::psk() const\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return String();\n }\n wifi_config_t conf;\n esp_wifi_get_config(WIFI_IF_STA, \u0026conf);\n return String(reinterpret_cast\u003cchar*\u003e(conf.sta.password));\n}\n\n/**\n * Return the current bssid / mac associated with the network if configured\n * @return bssid uint8_t *\n */\nuint8_t* WiFiSTAClass::BSSID(void)\n{\n static uint8_t bssid[6];\n wifi_ap_record_t info;\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return NULL;\n }\n if(!esp_wifi_sta_get_ap_info(\u0026info)) {\n memcpy(bssid, info.bssid, 6);\n return reinterpret_cast\u003cuint8_t*\u003e(bssid);\n }\n return NULL;\n}\n\n/**\n * Return the current bssid / mac associated with the network if configured\n * @return String bssid mac\n */\nString WiFiSTAClass::BSSIDstr(void)\n{\n uint8_t* bssid = BSSID();\n if(!bssid){\n return String();\n }\n char mac[18] = { 0 };\n sprintf(mac, \"%02X:%02X:%02X:%02X:%02X:%02X\", bssid[0], bssid[1], bssid[2], bssid[3], bssid[4], bssid[5]);\n return String(mac);\n}\n\n/**\n * Return the current network RSSI.\n * @return RSSI value\n */\nint8_t WiFiSTAClass::RSSI(void)\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return 0;\n }\n wifi_ap_record_t info;\n if(!esp_wifi_sta_get_ap_info(\u0026info)) {\n return info.rssi;\n }\n return 0;\n}\n\n/**\n * Get the station interface Host name.\n * @return char array hostname\n */\nconst char * WiFiSTAClass::getHostname()\n{\n const char * hostname = NULL;\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return hostname;\n }\n if(tcpip_adapter_get_hostname(TCPIP_ADAPTER_IF_STA, \u0026hostname)){\n return NULL;\n }\n return hostname;\n}\n\n/**\n * Set the station interface Host name.\n * @param hostname pointer to const string\n * @return true on success\n */\nbool WiFiSTAClass::setHostname(const char * hostname)\n{\n _hostname = hostname;\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return false;\n }\n return tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_STA, hostname) == 0;\n}\n\n/**\n * Enable IPv6 on the station interface.\n * @return true on success\n */\nbool WiFiSTAClass::enableIpV6()\n{\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return false;\n }\n return tcpip_adapter_create_ip6_linklocal(TCPIP_ADAPTER_IF_STA) == 0;\n}\n\n/**\n * Get the station interface IPv6 address.\n * @return IPv6Address\n */\nIPv6Address WiFiSTAClass::localIPv6()\n{\n static ip6_addr_t addr;\n if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){\n return IPv6Address();\n }\n if(tcpip_adapter_get_ip6_linklocal(TCPIP_ADAPTER_IF_STA, \u0026addr)){\n return IPv6Address();\n }\n return IPv6Address(addr.addr);\n}\n\n\nbool WiFiSTAClass::_smartConfigStarted = false;\nbool WiFiSTAClass::_smartConfigDone = false;\n\n\nbool WiFiSTAClass::beginSmartConfig() {\n if (_smartConfigStarted) {\n return false;\n }\n\n if (!WiFi.mode(WIFI_STA)) {\n return false;\n }\n\n esp_wifi_disconnect();\n\n esp_err_t err;\n err = esp_smartconfig_start(reinterpret_cast\u003csc_callback_t\u003e(\u0026WiFiSTAClass::_smartConfigCallback), 1);\n if (err == ESP_OK) {\n _smartConfigStarted = true;\n _smartConfigDone = false;\n return true;\n }\n return false;\n}\n\nbool WiFiSTAClass::stopSmartConfig() {\n if (!_smartConfigStarted) {\n return true;\n }\n\n if (esp_smartconfig_stop() == ESP_OK) {\n _smartConfigStarted = false;\n return true;\n }\n\n return false;\n}\n\nbool WiFiSTAClass::smartConfigDone() {\n if (!_smartConfigStarted) {\n return false;\n }\n\n return _smartConfigDone;\n}\n\n#if ARDUHAL_LOG_LEVEL \u003e= ARDUHAL_LOG_LEVEL_DEBUG\nconst char * sc_status_strings[] = {\n \"WAIT\",\n \"FIND_CHANNEL\",\n \"GETTING_SSID_PSWD\",\n \"LINK\",\n \"LINK_OVER\"\n};\n\nconst char * sc_type_strings[] = {\n \"ESPTOUCH\",\n \"AIRKISS\",\n \"ESPTOUCH_AIRKISS\"\n};\n#endif\n\nvoid WiFiSTAClass::_smartConfigCallback(uint32_t st, void* result) {\n smartconfig_status_t status = (smartconfig_status_t) st;\n log_d(\"Status: %s\", sc_status_strings[st % 5]);\n if (status == SC_STATUS_GETTING_SSID_PSWD) {\n#if ARDUHAL_LOG_LEVEL \u003e= ARDUHAL_LOG_LEVEL_DEBUG\n smartconfig_type_t * type = (smartconfig_type_t *)result;\n log_d(\"Type: %s\", sc_type_strings[*type % 3]);\n#endif\n } else if (status == SC_STATUS_LINK) {\n wifi_sta_config_t *sta_conf = reinterpret_cast\u003cwifi_sta_config_t *\u003e(result);\n log_d(\"SSID: %s\", (char *)(sta_conf-\u003essid));\n sta_conf-\u003ebssid_set = 0;\n esp_wifi_set_config(WIFI_IF_STA, (wifi_config_t *)sta_conf);\n esp_wifi_connect();\n _smartConfigDone = true;\n } else if (status == SC_STATUS_LINK_OVER) {\n if(result){\n#if ARDUHAL_LOG_LEVEL \u003e= ARDUHAL_LOG_LEVEL_DEBUG\n ip4_addr_t * ip = (ip4_addr_t *)result;\n log_d(\"Sender IP: \" IPSTR, IP2STR(ip));\n#endif\n }\n WiFi.stopSmartConfig();\n }\n}\n"}},"jsonrpc":"2.0"}Content-Length: 203
|
||
|
||
{"method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///c%3A/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiSTA.cpp"}},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 211
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///c:/Users/zhulin/AppData/Local/Arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/WiFi/src/WiFiSTA.cpp"}}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":145,"character":27}},"id":278,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 311
|
||
|
||
{"id":278,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `localIP` \n\n---\n→ `class IPAddress` \nSTA network info \n\n---\n```cpp\n// In WiFiSTAClass\npublic: IPAddress localIP()\n```"},"range":{"end":{"character":29,"line":145},"start":{"character":22,"line":145}}}}
|
||
>>>
|
||
Content-Length: 263
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":145,"character":26}},"id":279,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 128
|
||
|
||
{"id":279,"jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":29,"line":145},"start":{"character":22,"line":145}}}]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":145,"character":26},"end":{"line":145,"character":26}},"context":{"diagnostics":[]}},"id":280,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":280,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":21}},"id":281,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":281,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 263
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":14}},"id":282,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":282,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":144,"character":14},"end":{"line":144,"character":14}},"context":{"diagnostics":[]}},"id":283,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":283,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":4}},"id":284,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":284,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":4}},"id":285,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":285,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":144,"character":5}},"id":286,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":286,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":144,"character":5},"end":{"line":144,"character":33}},"context":{"diagnostics":[]}},"id":287,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":287,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 373
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":134},"contentChanges":[{"range":{"start":{"line":144,"character":5},"end":{"line":144,"character":33}},"rangeLength":28,"text":"打印ESP32本地IP地址"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":134}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":144,"character":18},"end":{"line":144,"character":18}},"context":{"diagnostics":[]}},"id":288,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":288,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":144,"character":18},"end":{"line":144,"character":18}},"context":{"diagnostics":[]}},"id":289,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":289,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":5}},"id":290,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":290,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":147,"character":5},"end":{"line":147,"character":30}},"context":{"diagnostics":[]}},"id":291,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":291,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":148,"character":59}},"id":292,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 247
|
||
|
||
{"id":292,"jsonrpc":"2.0","result":[{"range":{"end":{"character":60,"line":148},"start":{"character":53,"line":148}},"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}]}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":148,"character":54}},"id":293,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 247
|
||
|
||
{"id":293,"jsonrpc":"2.0","result":[{"range":{"end":{"character":60,"line":148},"start":{"character":53,"line":148}},"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}]}
|
||
>>>
|
||
Content-Length: 263
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":30}},"id":294,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":294,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":147,"character":30},"end":{"line":147,"character":30}},"context":{"diagnostics":[]}},"id":295,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":295,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":26}},"id":296,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":296,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":6}},"id":297,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":297,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":5}},"id":298,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":298,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":5}},"id":299,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":299,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":147,"character":5},"end":{"line":147,"character":5}},"context":{"diagnostics":[]}},"id":300,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":300,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":147,"character":5},"end":{"line":147,"character":30}},"context":{"diagnostics":[]}},"id":301,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":301,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 367
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":135},"contentChanges":[{"range":{"start":{"line":147,"character":5},"end":{"line":147,"character":30}},"rangeLength":25,"text":"路由的根/网页"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":135}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":147,"character":12},"end":{"line":147,"character":12}},"context":{"diagnostics":[]}},"id":302,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":302,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":147,"character":12},"end":{"line":147,"character":12}},"context":{"diagnostics":[]}},"id":303,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":303,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":3}},"id":304,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":304,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":3}},"id":305,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":305,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":5}},"id":306,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":306,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":5}},"id":307,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":307,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":158,"character":5},"end":{"line":158,"character":17}},"context":{"diagnostics":[]}},"id":308,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":308,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 256
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":15}},"id":309,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 245
|
||
|
||
{"id":309,"jsonrpc":"2.0","result":[{"range":{"end":{"character":21,"line":20},"start":{"character":15,"line":20}},"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":15}},"id":310,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":310,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":9}},"id":311,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":311,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":4}},"id":312,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":312,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":4}},"id":313,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":313,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":158,"character":5},"end":{"line":158,"character":5}},"context":{"diagnostics":[]}},"id":314,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":314,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":6}},"id":315,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":315,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 325
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":158,"character":5},"end":{"line":158,"character":17}},"context":{"diagnostics":[]}},"id":316,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":316,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 363
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":136},"contentChanges":[{"range":{"start":{"line":158,"character":5},"end":{"line":158,"character":17}},"rangeLength":12,"text":"启动服务器"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1752]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":136}}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":158,"character":10},"end":{"line":158,"character":10}},"context":{"diagnostics":[]}},"id":317,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":317,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":159,"character":17},"end":{"line":159,"character":17}},"context":{"diagnostics":[]}},"id":318,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":318,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":8,"character":17}},"id":319,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 315
|
||
|
||
{"id":319,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `ssid` \n\n---\nType: `const char *` \nValue = `&\"zhulin_Home\"[0]` \n输己IFI账密 \n\n---\n```cpp\nconst char *ssid = \"zhulin_Home\"\n```"},"range":{"end":{"character":18,"line":8},"start":{"character":17,"line":8}}}}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":31}},"id":320,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":320,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":28}},"id":321,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":321,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":26}},"id":322,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":322,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":82,"character":50}},"id":323,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":323,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":80,"character":15}},"id":324,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":324,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 262
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":80,"character":15}},"id":325,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":325,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":15},"end":{"line":80,"character":15}},"context":{"diagnostics":[]}},"id":326,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":326,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":80,"character":18}},"id":327,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":327,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":80,"character":18}},"id":328,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":328,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 331
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":137},"contentChanges":[{"range":{"start":{"line":80,"character":15},"end":{"line":80,"character":15}},"text":"1"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1753]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":137}}
|
||
>>>
|
||
Content-Length: 331
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":138},"contentChanges":[{"range":{"start":{"line":80,"character":16},"end":{"line":80,"character":16}},"text":"1"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":149},"start":{"character":50,"line":149}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":2},"start":{"character":9,"line":2}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":149},"start":{"character":4,"line":149}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:149:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":148},"start":{"character":27,"line":148}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":148},"start":{"character":2,"line":148}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":151},"start":{"character":2,"line":151}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":154},"start":{"character":2,"line":154}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":165},"start":{"character":0,"line":165}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":138}}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":17},"end":{"line":80,"character":17}},"context":{"diagnostics":[]}},"id":329,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":329,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":29},"end":{"line":80,"character":29}},"context":{"diagnostics":[]}},"id":330,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":330,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":98,"character":38}},"id":331,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":331,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":109,"character":38}},"id":332,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":332,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":109,"character":29}},"id":333,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":333,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":152,"character":19}},"id":334,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 532
|
||
|
||
{"id":334,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `send_P` \n\n---\n→ `void` \nParameters: \n- `int code`\n- `const String & contentType`\n- `const char * content`\n- `AwsTemplateProcessor callback = <null expr>`\n\n---\n```cpp\n// In AsyncWebServerRequest\npublic: void send_P(int code, const String &contentType, const char *content,\n AwsTemplateProcessor callback = <null expr>)\n```"},"range":{"end":{"character":19,"line":152},"start":{"character":13,"line":152}}}}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":152,"character":15}},"id":335,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 532
|
||
|
||
{"id":335,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `send_P` \n\n---\n→ `void` \nParameters: \n- `int code`\n- `const String & contentType`\n- `const char * content`\n- `AwsTemplateProcessor callback = <null expr>`\n\n---\n```cpp\n// In AsyncWebServerRequest\npublic: void send_P(int code, const String &contentType, const char *content,\n AwsTemplateProcessor callback = <null expr>)\n```"},"range":{"end":{"character":19,"line":152},"start":{"character":13,"line":152}}}}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":147,"character":2}},"id":336,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":336,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":150,"character":5},"end":{"line":150,"character":5}},"context":{"diagnostics":[]}},"id":337,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":337,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 251
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":155,"character":28}},"id":338,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":338,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":149,"character":9}},"id":339,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 317
|
||
|
||
{"id":339,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### param `request` \n\n---\nType: `AsyncWebServerRequest *` \n\n---\n```cpp\n// In setup::(anonymous class)::operator()\nAsyncWebServerRequest *request\n```"},"range":{"end":{"character":11,"line":149},"start":{"character":4,"line":149}}}}
|
||
>>>
|
||
Content-Length: 263
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":151,"character":20}},"id":340,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":340,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 326
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":151,"character":20},"end":{"line":151,"character":20}},"context":{"diagnostics":[]}},"id":341,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":341,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":24}},"id":342,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":342,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":16}},"id":343,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":343,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":16},"end":{"line":7,"character":16}},"context":{"diagnostics":[]}},"id":344,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":344,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":28}},"id":345,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":345,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":29}},"id":346,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":346,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":9,"character":28}},"id":347,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":347,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":29},"end":{"line":9,"character":29}},"context":{"diagnostics":[]}},"id":348,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":348,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 254
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":8,"character":31}},"id":349,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":349,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":0}},"id":350,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":350,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":0}},"id":351,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":351,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":0}},"id":352,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":352,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":1}},"id":353,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":353,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":1},"end":{"line":2,"character":1}},"context":{"diagnostics":[]}},"id":354,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":354,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":0}},"id":355,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":355,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"context":{"diagnostics":[]}},"id":356,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":356,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":139},"contentChanges":[{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"text":"\n"}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":3,"character":0},"end":{"line":3,"character":0}},"context":{"diagnostics":[]}},"id":357,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":357,"jsonrpc":"2.0","result":[]}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:151:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":150},"start":{"character":50,"line":150}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:151:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":150},"start":{"character":50,"line":150}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":3},"start":{"character":9,"line":3}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":150},"start":{"character":4,"line":150}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:150:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":149},"start":{"character":27,"line":149}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:150:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":149},"start":{"character":27,"line":149}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":149},"start":{"character":2,"line":149}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":152},"start":{"character":2,"line":152}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":166},"start":{"character":0,"line":166}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":167},"start":{"character":0,"line":167}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":139}}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":3,"character":0}},"id":358,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":358,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":0}},"id":359,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":359,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 584
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":140},"contentChanges":[{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"text":"/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:10.Passive.ino\n 版本:V2.0\n author: zhulin\n 说明:无源蜂鸣器实验\n ********************************************/"}]},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":46},"end":{"line":8,"character":46}},"context":{"diagnostics":[]}},"id":360,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":360,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":3}},"id":361,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":361,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":6,"character":10}},"id":362,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":362,"jsonrpc":"2.0","result":null}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":172},"start":{"character":0,"line":172}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":173},"start":{"character":0,"line":173}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":140}}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":8,"character":46},"end":{"line":8,"character":46}},"context":{"diagnostics":[]}},"id":363,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":363,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":8}},"id":364,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":364,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":8}},"id":365,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":365,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":8}},"context":{"diagnostics":[]}},"id":366,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":366,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":6,"character":14}},"id":367,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":367,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":6,"character":14}},"id":368,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 40
|
||
|
||
{"id":368,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":141},"contentChanges":[{"range":{"start":{"line":4,"character":7},"end":{"line":4,"character":8}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 342
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":142},"contentChanges":[{"range":{"start":{"line":4,"character":6},"end":{"line":4,"character":7}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":6},"end":{"line":4,"character":6}},"context":{"diagnostics":[]}},"id":369,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":369,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":143},"contentChanges":[{"range":{"start":{"line":4,"character":6},"end":{"line":4,"character":6}},"text":"4"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":172},"start":{"character":0,"line":172}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":173},"start":{"character":0,"line":173}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":141}}Content-Length: 8086
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:142:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:145:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:148:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码'","range":{"end":{"character":7,"line":172},"start":{"character":0,"line":172}},"severity":1,"source":"clang"},{"code":"expected_unqualified_id","message":"Expected unqualified-id","range":{"end":{"character":0,"line":173},"start":{"character":0,"line":173}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":143}}
|
||
>>>
|
||
Content-Length: 19114
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":144},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:10.Passive.ino\n 版本:V2.0\n author: zhulin\n 说明:无源蜂鸣器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输己IFI账密\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。.\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n入自的W号和码取失败并提前退出(再试一次)。.\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// Replaces placeholder with DHT values\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // Serial port for debugging purposes\n Serial.begin(115200);\n\n dht.begin();\n \n // Connect to Wi-Fi\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // Print ESP32 Local IP Address\n Serial.println(WiFi.localIP());\n\n // Route for root / web page\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // Start server\n server.begin();\n}\n \nvoid loop(){\n \n}\n入自的W号和码名:10.Passive.ino\n 版本:V2.0\n author: zhulin\n 说明:无源蜂鸣器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输己IFI账密\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。.\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n入自的W号和码取失败并提前退出(再试一次)。.\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// Replaces placeholder with DHT values\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // Serial port for debugging purposes\n Serial.begin(115200);\n\n dht.begin();\n \n // Connect to Wi-Fi\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // Print ESP32 Local IP Address\n Serial.println(WiFi.localIP());\n\n // Route for root / web page\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // Start server\n server.begin();\n}\n \nvoid loop(){\n \n}\n入自的W号和码4\n"}]},"jsonrpc":"2.0"}Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":145},"contentChanges":[{"range":{"start":{"line":4,"character":7},"end":{"line":4,"character":7}},"text":"2"}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":8},"end":{"line":4,"character":8}},"context":{"diagnostics":[]}},"id":370,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":6,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":6,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 38
|
||
|
||
{"id":370,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 221
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":371,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 6124
|
||
|
||
{"id":371,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":194},"start":{"character":0,"line":183}},"selectionRange":{"end":{"character":22,"line":183},"start":{"character":7,"line":183}}},{"kind":13,"name":"index_html","range":{"end":{"character":23,"line":196},"start":{"character":0,"line":196}},"selectionRange":{"end":{"character":21,"line":196},"start":{"character":11,"line":196}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":268},"start":{"character":0,"line":259}},"selectionRange":{"end":{"character":16,"line":259},"start":{"character":7,"line":259}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":299},"start":{"character":0,"line":270}},"selectionRange":{"end":{"character":10,"line":270},"start":{"character":5,"line":270}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":303},"start":{"character":0,"line":301}},"selectionRange":{"end":{"character":9,"line":301},"start":{"character":5,"line":301}}},{"kind":13,"name":"password","range":{"end":{"character":20,"line":316},"start":{"character":0,"line":316}},"selectionRange":{"end":{"character":20,"line":316},"start":{"character":12,"line":316}}},{"kind":13,"name":"dht","range":{"end":{"character":7,"line":324},"start":{"character":0,"line":324}},"selectionRange":{"end":{"character":7,"line":324},"start":{"character":4,"line":324}}},{"kind":13,"name":"server","range":{"end":{"character":21,"line":327},"start":{"character":0,"line":327}},"selectionRange":{"end":{"character":21,"line":327},"start":{"character":15,"line":327}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":344},"start":{"character":0,"line":329}},"selectionRange":{"end":{"character":25,"line":329},"start":{"character":7,"line":329}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":357},"start":{"character":0,"line":346}},"selectionRange":{"end":{"character":22,"line":346},"start":{"character":7,"line":346}}},{"kind":13,"name":"index_html","range":{"end":{"character":23,"line":359},"start":{"character":0,"line":359}},"selectionRange":{"end":{"character":21,"line":359},"start":{"character":11,"line":359}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":431},"start":{"character":0,"line":422}},"selectionRange":{"end":{"character":16,"line":422},"start":{"character":7,"line":422}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":462},"start":{"character":0,"line":433}},"selectionRange":{"end":{"character":10,"line":433},"start":{"character":5,"line":433}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":466},"start":{"character":0,"line":464}},"selectionRange":{"end":{"character":9,"line":464},"start":{"character":5,"line":464}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":489},"start":{"character":0,"line":478}},"selectionRange":{"end":{"character":22,"line":478},"start":{"character":7,"line":478}}},{"kind":13,"name":"index_html","range":{"end":{"character":23,"line":491},"start":{"character":0,"line":491}},"selectionRange":{"end":{"character":21,"line":491},"start":{"character":11,"line":491}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":563},"start":{"character":0,"line":554}},"selectionRange":{"end":{"character":16,"line":554},"start":{"character":7,"line":554}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":594},"start":{"character":0,"line":565}},"selectionRange":{"end":{"character":10,"line":565},"start":{"character":5,"line":565}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":598},"start":{"character":0,"line":596}},"selectionRange":{"end":{"character":9,"line":596},"start":{"character":5,"line":596}}}]}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":9}},"id":372,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":372,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":16},"end":{"line":4,"character":16}},"context":{"diagnostics":[]}},"id":373,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":373,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":363},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":146},"contentChanges":[{"range":{"start":{"line":4,"character":15},"end":{"line":4,"character":16}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":364},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":365},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":147},"contentChanges":[{"range":{"start":{"line":4,"character":14},"end":{"line":4,"character":15}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":148},"contentChanges":[{"range":{"start":{"line":4,"character":13},"end":{"line":4,"character":14}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":149},"contentChanges":[{"range":{"start":{"line":4,"character":12},"end":{"line":4,"character":13}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":150},"contentChanges":[{"range":{"start":{"line":4,"character":11},"end":{"line":4,"character":12}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 344
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":151},"contentChanges":[{"range":{"start":{"line":4,"character":10},"end":{"line":4,"character":11}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 343
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":152},"contentChanges":[{"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":10}},"rangeLength":1,"text":""}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":9}},"context":{"diagnostics":[]}},"id":374,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":374,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":153},"contentChanges":[{"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":9}},"text":"W"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":366},"jsonrpc":"2.0"}Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":154},"contentChanges":[{"range":{"start":{"line":4,"character":10},"end":{"line":4,"character":10}},"text":"I"}]},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":11},"end":{"line":4,"character":11}},"context":{"diagnostics":[]}},"id":375,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":375,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":155},"contentChanges":[{"range":{"start":{"line":4,"character":11},"end":{"line":4,"character":11}},"text":"F"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":367},"jsonrpc":"2.0"}Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":156},"contentChanges":[{"range":{"start":{"line":4,"character":12},"end":{"line":4,"character":12}},"text":"I"}]},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":13},"end":{"line":4,"character":13}},"context":{"diagnostics":[]}},"id":376,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":376,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":157},"contentChanges":[{"range":{"start":{"line":4,"character":13},"end":{"line":4,"character":13}},"text":" "}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":368},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":14},"end":{"line":4,"character":14}},"context":{"diagnostics":[]}},"id":377,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":377,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":158},"contentChanges":[{"range":{"start":{"line":4,"character":14},"end":{"line":4,"character":14}},"text":"W"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":369},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":15},"end":{"line":4,"character":15}},"context":{"diagnostics":[]}},"id":378,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":378,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":159},"contentChanges":[{"range":{"start":{"line":4,"character":15},"end":{"line":4,"character":15}},"text":"e"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":370},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":16},"end":{"line":4,"character":16}},"context":{"diagnostics":[]}},"id":379,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":379,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":160},"contentChanges":[{"range":{"start":{"line":4,"character":16},"end":{"line":4,"character":16}},"text":"b"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":371},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":17},"end":{"line":4,"character":17}},"context":{"diagnostics":[]}},"id":380,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":380,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":161},"contentChanges":[{"range":{"start":{"line":4,"character":17},"end":{"line":4,"character":17}},"text":" "}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":372},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":18},"end":{"line":4,"character":18}},"context":{"diagnostics":[]}},"id":381,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":381,"jsonrpc":"2.0","result":[]}Content-Length: 14188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"},{"code":"non_ascii","message":"Non-ASCII characters are not allowed outside of literals and identifiers (fix available)","range":{"end":{"character":22,"line":172},"start":{"character":21,"line":172}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码取失败并提前退出'","range":{"end":{"character":15,"line":172},"start":{"character":0,"line":172}},"severity":1,"source":"clang"},{"code":"invalid_token_after_toplevel_declarator","message":"Expected ';' after top level declarator (fix available)","range":{"end":{"character":22,"line":172},"start":{"character":21,"line":172}},"severity":1,"source":"clang"},{"code":"extraneous_closing_brace","message":"Extraneous closing brace ('}')","range":{"end":{"character":1,"line":181},"start":{"character":0,"line":181}},"severity":1,"source":"clang"},{"code":"redefinition","message":"Redefinition of 'readDHTHumidity'\n\nWIFI Web Servers DHT11.ino.cpp:52:8: note: previous definition is here","range":{"end":{"character":22,"line":183},"start":{"character":7,"line":183}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:184:8: error: redefinition of 'readDHTHumidity'","range":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}},"severity":3},{"code":"redefinition","message":"Redefinition of 'index_html'\n\nWIFI Web Servers DHT11.ino.cpp:65:12: note: previous definition is here","range":{"end":{"character":21,"line":196},"start":{"character":11,"line":196}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:197:12: error: redefinition of 'index_html'","range":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}},"severity":3},{"code":"redefinition","message":"Redefinition of 'processor'\n\nWIFI Web Servers DHT11.ino.cpp:128:8: note: previous definition is here","range":{"end":{"character":16,"line":259},"start":{"character":7,"line":259}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:260:8: error: redefinition of 'processor'","range":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}},"severity":3},{"code":"redefinition","message":"Redefinition of 'setup'\n\nWIFI Web Servers DHT11.ino.cpp:139:6: note: previous definition is here","range":{"end":{"character":10,"line":270},"start":{"character":5,"line":270}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:271:6: error: redefinition of 'setup'","range":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:281:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":287},"start":{"character":2,"line":287}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:284:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":290},"start":{"character":2,"line":290}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:287:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":293},"start":{"character":2,"line":293}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":145}}Content-Length: 14188
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"},{"code":"non_ascii","message":"Non-ASCII characters are not allowed outside of literals and identifiers (fix available)","range":{"end":{"character":22,"line":172},"start":{"character":21,"line":172}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"Unknown type name '入自的W号和码取失败并提前退出'","range":{"end":{"character":15,"line":172},"start":{"character":0,"line":172}},"severity":1,"source":"clang"},{"code":"invalid_token_after_toplevel_declarator","message":"Expected ';' after top level declarator (fix available)","range":{"end":{"character":22,"line":172},"start":{"character":21,"line":172}},"severity":1,"source":"clang"},{"code":"extraneous_closing_brace","message":"Extraneous closing brace ('}')","range":{"end":{"character":1,"line":181},"start":{"character":0,"line":181}},"severity":1,"source":"clang"},{"code":"redefinition","message":"Redefinition of 'readDHTHumidity'\n\nWIFI Web Servers DHT11.ino.cpp:52:8: note: previous definition is here","range":{"end":{"character":22,"line":183},"start":{"character":7,"line":183}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:184:8: error: redefinition of 'readDHTHumidity'","range":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}},"severity":3},{"code":"redefinition","message":"Redefinition of 'index_html'\n\nWIFI Web Servers DHT11.ino.cpp:65:12: note: previous definition is here","range":{"end":{"character":21,"line":196},"start":{"character":11,"line":196}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:197:12: error: redefinition of 'index_html'","range":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}},"severity":3},{"code":"redefinition","message":"Redefinition of 'processor'\n\nWIFI Web Servers DHT11.ino.cpp:128:8: note: previous definition is here","range":{"end":{"character":16,"line":259},"start":{"character":7,"line":259}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:260:8: error: redefinition of 'processor'","range":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}},"severity":3},{"code":"redefinition","message":"Redefinition of 'setup'\n\nWIFI Web Servers DHT11.ino.cpp:139:6: note: previous definition is here","range":{"end":{"character":10,"line":270},"start":{"character":5,"line":270}},"severity":1,"source":"clang"},{"message":"Previous definition is here\n\nWIFI Web Servers DHT11.ino.cpp:271:6: error: redefinition of 'setup'","range":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:281:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":287},"start":{"character":2,"line":287}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:284:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":290},"start":{"character":2,"line":290}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:287:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":293},"start":{"character":2,"line":293}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":161}}
|
||
>>>
|
||
Content-Length: 586
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":162},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名FI Web WI\n"}]},"jsonrpc":"2.0"}Content-Length: 329
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":163},"contentChanges":[{"range":{"start":{"line":4,"character":18},"end":{"line":4,"character":18}},"text":"S"}]},"jsonrpc":"2.0"}Content-Length: 64
|
||
|
||
{"method":"$/cancelRequest","params":{"id":373},"jsonrpc":"2.0"}Content-Length: 221
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":382,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 103
|
||
|
||
{"error":{"code":-32602,"message":"trying to get AST for non-added document"},"id":382,"jsonrpc":"2.0"}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server091795711/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":19},"end":{"line":4,"character":19}},"context":{"diagnostics":[]}},"id":383,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 101
|
||
|
||
{"error":{"code":-32602,"message":"onCodeAction called for non-added file"},"id":383,"jsonrpc":"2.0"}<<< Read Error: read |0: file already closed
|
||
--- Stream closed, err=%!s(<nil>)
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":5284,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server334275135\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6093
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":13},"end":{"line":7,"character":13}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 2380
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":2},"contentChanges":[{"range":{"start":{"line":7,"character":13},"end":{"line":7,"character":13}},"text":" "}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":1},"jsonrpc":"2.0"}Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":3},"contentChanges":[{"range":{"start":{"line":7,"character":14},"end":{"line":7,"character":14}},"text":"S"}]},"jsonrpc":"2.0"}Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":4},"contentChanges":[{"range":{"start":{"line":7,"character":15},"end":{"line":7,"character":15}},"text":"e"}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":16},"end":{"line":7,"character":16}},"context":{"diagnostics":[]}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":5},"contentChanges":[{"range":{"start":{"line":7,"character":16},"end":{"line":7,"character":16}},"text":"r"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":2},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":17},"end":{"line":7,"character":17}},"context":{"diagnostics":[]}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":6},"contentChanges":[{"range":{"start":{"line":7,"character":17},"end":{"line":7,"character":17}},"text":"v"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":3},"jsonrpc":"2.0"}Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":7},"contentChanges":[{"range":{"start":{"line":7,"character":18},"end":{"line":7,"character":18}},"text":"e"}]},"jsonrpc":"2.0"}Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":8},"contentChanges":[{"range":{"start":{"line":7,"character":19},"end":{"line":7,"character":19}},"text":"r"}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":20},"end":{"line":7,"character":20}},"context":{"diagnostics":[]}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 327
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":9},"contentChanges":[{"range":{"start":{"line":7,"character":20},"end":{"line":7,"character":20}},"text":" "}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":4},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":10},"contentChanges":[{"range":{"start":{"line":7,"character":21},"end":{"line":7,"character":21}},"text":"D"}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":22},"end":{"line":7,"character":22}},"context":{"diagnostics":[]}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":11},"contentChanges":[{"range":{"start":{"line":7,"character":22},"end":{"line":7,"character":22}},"text":"H"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":5},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":23},"end":{"line":7,"character":23}},"context":{"diagnostics":[]}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":12},"contentChanges":[{"range":{"start":{"line":7,"character":23},"end":{"line":7,"character":23}},"text":"T"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":6},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":24},"end":{"line":7,"character":24}},"context":{"diagnostics":[]}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":13},"contentChanges":[{"range":{"start":{"line":7,"character":24},"end":{"line":7,"character":24}},"text":"1"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":7},"jsonrpc":"2.0"}Content-Length: 328
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":14},"contentChanges":[{"range":{"start":{"line":7,"character":25},"end":{"line":7,"character":25}},"text":"1"}]},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":26},"end":{"line":7,"character":26}},"context":{"diagnostics":[]}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":15},"contentChanges":[{"range":{"start":{"line":7,"character":26},"end":{"line":7,"character":26}},"text":"温"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":8},"jsonrpc":"2.0"}Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":16},"contentChanges":[{"range":{"start":{"line":7,"character":27},"end":{"line":7,"character":27}},"text":"湿"}]},"jsonrpc":"2.0"}Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":17},"contentChanges":[{"range":{"start":{"line":7,"character":28},"end":{"line":7,"character":28}},"text":"度"}]},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":29},"end":{"line":7,"character":29}},"context":{"diagnostics":[]}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":[]}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":4}}
|
||
>>>
|
||
Content-Length: 6098
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":18},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}]},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":19},"contentChanges":[{"range":{"start":{"line":7,"character":29},"end":{"line":7,"character":29}},"text":"传"}]},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":9},"jsonrpc":"2.0"}Content-Length: 220
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 102
|
||
|
||
{"error":{"code":-32602,"message":"trying to get AST for non-added document"},"id":11,"jsonrpc":"2.0"}
|
||
>>>
|
||
Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":20},"contentChanges":[{"range":{"start":{"line":7,"character":30},"end":{"line":7,"character":30}},"text":"感"}]},"jsonrpc":"2.0"}Content-Length: 330
|
||
|
||
{"method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":21},"contentChanges":[{"range":{"start":{"line":7,"character":31},"end":{"line":7,"character":31}},"text":"器"}]},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server334275135/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":7,"character":32},"end":{"line":7,"character":32}},"context":{"diagnostics":[]}},"id":12,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 100
|
||
|
||
{"error":{"code":-32602,"message":"onCodeAction called for non-added file"},"id":12,"jsonrpc":"2.0"}<<< Read Error: read |0: file already closed
|
||
--- Stream closed, err=%!s(<nil>)
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":5284,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server565061731\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6130
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web Server DHT11温湿度传感器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":10,"character":22},"end":{"line":10,"character":22}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 2380
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":1},"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 261
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":166,"character":13}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 125
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":14,"line":166},"start":{"character":9,"line":166}}}]}
|
||
>>>
|
||
Content-Length: 324
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":166,"character":13},"end":{"line":166,"character":13}},"context":{"diagnostics":[]}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":158,"character":18}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":89,"character":18}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":27,"character":18}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 308
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `server` \n\n---\nType: `class AsyncWebServer` \n在端口80上创建AsyncWebServer对象 \n\n---\n```cpp\nAsyncWebServer server(80)\n```"},"range":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}}}
|
||
>>>
|
||
Content-Length: 260
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":26,"character":27}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":26,"character":27},"end":{"line":26,"character":27}},"context":{"diagnostics":[]}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":76,"character":3}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":78,"character":3}},"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":11,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":76,"character":29},"end":{"line":76,"character":29}},"context":{"diagnostics":[]}},"id":12,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":12,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 323
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":24},"end":{"line":80,"character":24}},"context":{"diagnostics":[]}},"id":13,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":13,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server565061731/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":85,"character":7}},"id":14,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":14,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 59
|
||
|
||
{"method":"shutdown","params":null,"id":15,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":15,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 47
|
||
|
||
{"method":"exit","params":null,"jsonrpc":"2.0"}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2165
|
||
|
||
{"method":"initialize","params":{"processId":18064,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server580301151\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server580301151/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6130
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server580301151/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web Server DHT11温湿度传感器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server580301151/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":24},"end":{"line":80,"character":24}},"context":{"diagnostics":[]}},"id":1,"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server580301151/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server580301151/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 36
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[]}Content-Length: 2380
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server580301151/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":24},"end":{"line":80,"character":24}},"context":{"diagnostics":[]}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 58
|
||
|
||
{"method":"shutdown","params":null,"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 47
|
||
|
||
{"method":"exit","params":null,"jsonrpc":"2.0"}<<< Read Error: EOF
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2165
|
||
|
||
{"method":"initialize","params":{"processId":11608,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server807515867\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6130
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web Server DHT11温湿度传感器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":24},"end":{"line":80,"character":24}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 2380
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":24},"end":{"line":80,"character":24}},"context":{"diagnostics":[]}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 247
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server807515867/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":87,"character":5}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 58
|
||
|
||
{"method":"shutdown","params":null,"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 47
|
||
|
||
{"method":"exit","params":null,"jsonrpc":"2.0"}<<< Read Error: EOF
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":2260,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server139150143\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6130
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web Server DHT11温湿度传感器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":80,"character":24},"end":{"line":80,"character":24}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 2380
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":86,"character":6},"end":{"line":86,"character":6}},"context":{"diagnostics":[]}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":1},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":67,"character":46}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":3},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":86,"character":6},"end":{"line":86,"character":6}},"context":{"diagnostics":[]}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":10,"character":17}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 247
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":14}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 247
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":16}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 259
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":16}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":16},"end":{"line":4,"character":16}},"context":{"diagnostics":[]}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 247
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":9}},"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":11,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 259
|
||
|
||
{"method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":4,"character":9}},"id":12,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":12,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":31}},"context":{"diagnostics":[]}},"id":13,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":13,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 253
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":33}},"id":14,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":14,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":33}},"id":15,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":15,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":36}},"id":16,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":16,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":33}},"id":17,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":17,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":15,"character":33}},"id":18,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":18,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":10,"character":19}},"id":19,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":19,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server139150143/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":11,"character":9}},"id":20,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":20,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 59
|
||
|
||
{"method":"shutdown","params":null,"id":21,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":21,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 47
|
||
|
||
{"method":"exit","params":null,"jsonrpc":"2.0"}<<< Read Error: EOF
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2164
|
||
|
||
{"method":"initialize","params":{"processId":9420,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server910016643\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6130
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web Server DHT11温湿度传感器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}Content-Length: 319
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":4,"character":9},"end":{"line":4,"character":31}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 2380
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 322
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":15,"character":33},"end":{"line":15,"character":33}},"context":{"diagnostics":[]}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":1},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":35}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":3},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":36}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 253
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":36}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":0},"end":{"line":172,"character":0}},"context":{"diagnostics":[]}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":2},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":4},"jsonrpc":"2.0"}Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":5},"jsonrpc":"2.0"}Content-Length: 253
|
||
|
||
{"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":36}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":18,"character":36}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":8},"jsonrpc":"2.0"}Content-Length: 7016
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":2,"character":0},"end":{"line":172,"character":0}},"context":{"diagnostics":[{"range":{"start":{"line":156,"character":50},"end":{"line":156,"character":59}},"severity":1,"code":"no_member","source":"clang","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class\u003cString, const String \u0026\u003e'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function\u003cString (const String \u0026)\u003e' requested here"},{"range":{"start":{"line":156,"character":50},"end":{"line":156,"character":59}},"severity":3,"message":"In instantiation of template class 'std::function\u003cString (const String \u0026)\u003e' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class\u003cString, const String \u0026\u003e'"},{"range":{"start":{"line":9,"character":9},"end":{"line":9,"character":10}},"severity":1,"code":"no_member","source":"clang","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class\u003cString, const String \u0026\u003e'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here"},{"range":{"start":{"line":156,"character":4},"end":{"line":156,"character":19}},"severity":1,"code":"ovl_no_viable_member_function_in_call","source":"clang","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String \u0026)' to 'AwsTemplateProcessor' (aka 'function\u003cString (const String \u0026)\u003e') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument"},{"range":{"start":{"line":155,"character":27},"end":{"line":155,"character":28}},"severity":1,"code":"no_member","source":"clang","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class\u003cvoid, AsyncWebServerRequest *\u003e'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function\u003cvoid (AsyncWebServerRequest *)\u003e' requested here"},{"range":{"start":{"line":155,"character":27},"end":{"line":155,"character":28}},"severity":3,"message":"In instantiation of template class 'std::function\u003cvoid (AsyncWebServerRequest *)\u003e' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class\u003cvoid, AsyncWebServerRequest *\u003e'"},{"range":{"start":{"line":155,"character":2},"end":{"line":155,"character":11}},"severity":1,"code":"ovl_no_viable_member_function_in_call","source":"clang","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function\u003cvoid (AsyncWebServerRequest *)\u003e') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided"},{"range":{"start":{"line":158,"character":2},"end":{"line":158,"character":11}},"severity":1,"code":"ovl_no_viable_member_function_in_call","source":"clang","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function\u003cvoid (AsyncWebServerRequest *)\u003e') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided"},{"range":{"start":{"line":161,"character":2},"end":{"line":161,"character":11}},"severity":1,"code":"ovl_no_viable_member_function_in_call","source":"clang","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function\u003cvoid (AsyncWebServerRequest *)\u003e') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided"}]}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":9,"character":17},"end":{"line":9,"character":17}},"context":{"diagnostics":[]}},"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":11,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":34}},"id":12,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":12,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":2,"character":10}},"id":13,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":13,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":7,"character":33}},"id":14,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":14,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 250
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":162,"character":29}},"id":15,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":15,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server910016643/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":73,"character":10}},"id":16,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":16,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 59
|
||
|
||
{"method":"shutdown","params":null,"id":17,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":17,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 47
|
||
|
||
{"method":"exit","params":null,"jsonrpc":"2.0"}
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Started logging.
|
||
|
||
>>>
|
||
Content-Length: 2165
|
||
|
||
{"method":"initialize","params":{"processId":11732,"rootPath":"C:\\Users\\zhulin\\AppData\\Local\\Temp\\arduino-language-server105531999\\sketch","rootUri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch","clientInfo":{"name":"vscode","version":"1.50.0"},"trace":"off","initializationOptions":{},"capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"]},"applyEdit":true,"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"implementation":{"linkSupport":true,"dynamicRegistration":true},"typeDefinition":{"linkSupport":true},"synchronization":{"willSave":true,"didSave":true,"willSaveWaitUntil":true},"documentSymbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["markdown","plaintext"],"snippetSupport":true},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"hover":{"contentFormat":["markdown","plaintext"]},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"colorProvider":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}}},"id":0,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 1671
|
||
|
||
{"id":0,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":[],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","enum","enumMember","type","dependent","dependent","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 12.0.0 (https://github.com/llvm/llvm-project e841bd5f335864b8c4d81cbf4df08460ef39f2ae)"}}}
|
||
>>>
|
||
Content-Length: 52
|
||
|
||
{"method":"initialized","params":{},"jsonrpc":"2.0"}Content-Length: 6130
|
||
|
||
{"method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\n/********************************************\n ----湖南创乐博智能科技有限公司----\n 文件名:42.WIFI Web Servers DTH11.ino\n 版本:V2.0\n author: zhulin\n 说明:WIFI Web Server DHT11温湿度传感器实验\n ********************************************/\n#include \u003cWiFi.h\u003e\n#include \u003cESPAsyncWebServer.h\u003e\n#include \u003cAdafruit_Sensor.h\u003e\n#include \u003cDHT.h\u003e\n\n// 输入自己的WIFI账号和密码\nconst char* ssid = \"zhulin_Home\";\nconst char* password = \"zn6271239\";\n\n#define DHTPIN 17 // 连接DHT传感器的数字引脚\n\n// 取消对使用中的传感器类型的注释:\n#define DHTTYPE DHT11 // DHT 11\n\n\nDHT dht(DHTPIN, DHTTYPE);\n\n// 在端口80上创建AsyncWebServer对象\nAsyncWebServer server(80);\n\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature();\n#line 45 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTHumidity();\n#line 28 \"C:\\\\Users\\\\zhulin\\\\Documents\\\\Arduino\\\\第42课:WIFI Web Servers DHT11温湿度实验\\\\WIFI Web Servers DHT11\\\\WIFI Web Servers DHT11.ino\"\nString readDHTTemperature() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n // 读取温度为摄氏度(默认值)\n float t = dht.readTemperature();\n // 读取温度为华氏度(isFahrenheit = true)\n // float t = dht.readTemperature(true);\n // 检查是否有任何读取失败并提前退出(再试一次)。\n if (isnan(t)) { \n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(t);\n return String(t);\n }\n}\n\nString readDHTHumidity() {\n // 传感器读数也可能高达2秒“旧”(这是一个非常慢的传感器)\n float h = dht.readHumidity();\n if (isnan(h)) {\n Serial.println(\"Failed to read from DHT sensor!\");\n return \"--\";\n }\n else {\n Serial.println(h);\n return String(h);\n }\n}\n\nconst char index_html[] PROGMEM = R\"rawliteral(\n\u003c!DOCTYPE HTML\u003e\u003chtml\u003e\n\u003chead\u003e\n \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n \u003clink rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.7.2/css/all.css\" integrity=\"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr\" crossorigin=\"anonymous\"\u003e\n \u003cstyle\u003e\n html {\n font-family: Arial;\n display: inline-block;\n margin: 0px auto;\n text-align: center;\n }\n h2 { font-size: 3.0rem; }\n p { font-size: 3.0rem; }\n .units { font-size: 1.2rem; }\n .dht-labels{\n font-size: 1.5rem;\n vertical-align:middle;\n padding-bottom: 15px;\n }\n \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n \u003ch2\u003eESP32 DHT11 Server\u003c/h2\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-thermometer-half\" style=\"color:#059e8a;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eTemperature\u003c/span\u003e \n \u003cspan id=\"temperature\"\u003e%TEMPERATURE%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026deg;C\u003c/sup\u003e\n \u003c/p\u003e\n \u003cp\u003e\n \u003ci class=\"fas fa-tint\" style=\"color:#00add6;\"\u003e\u003c/i\u003e \n \u003cspan class=\"dht-labels\"\u003eHumidity\u003c/span\u003e\n \u003cspan id=\"humidity\"\u003e%HUMIDITY%\u003c/span\u003e\n \u003csup class=\"units\"\u003e\u0026percnt;\u003c/sup\u003e\n \u003c/p\u003e\n\u003c/body\u003e\n\u003cscript\u003e\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"temperature\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/temperature\", true);\n xhttp.send();\n}, 10000 ) ;\n\nsetInterval(function ( ) {\n var xhttp = new XMLHttpRequest();\n xhttp.onreadystatechange = function() {\n if (this.readyState == 4 \u0026\u0026 this.status == 200) {\n document.getElementById(\"humidity\").innerHTML = this.responseText;\n }\n };\n xhttp.open(\"GET\", \"/humidity\", true);\n xhttp.send();\n}, 10000 ) ;\n\u003c/script\u003e\n\u003c/html\u003e)rawliteral\";\n\n// 用DHT值替换占位符\nString processor(const String\u0026 var){\n //Serial.println(var);\n if(var == \"TEMPERATURE\"){\n return readDHTTemperature();\n }\n else if(var == \"HUMIDITY\"){\n return readDHTHumidity();\n }\n return String();\n}\n\nvoid setup(){\n // 用于调试的串口\n Serial.begin(115200);\n\n dht.begin();\n \n // 连接到无线网络\n WiFi.begin(ssid, password);\n while (WiFi.status() != WL_CONNECTED) {\n delay(1000);\n Serial.println(\"Connecting to WiFi..\");\n }\n\n // 打印ESP32本地IP地址\n Serial.println(WiFi.localIP());\n\n // 路由的根/网页\n server.on(\"/\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/html\", index_html, processor);\n });\n server.on(\"/temperature\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTTemperature().c_str());\n });\n server.on(\"/humidity\", HTTP_GET, [](AsyncWebServerRequest *request){\n request-\u003esend_P(200, \"text/plain\", readDHTHumidity().c_str());\n });\n\n // 启动服务器\n server.begin();\n}\n \nvoid loop(){\n \n}\n\n"}},"jsonrpc":"2.0"}Content-Length: 219
|
||
|
||
{"method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"}},"id":1,"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":62,"character":1},"end":{"line":62,"character":1}},"context":{"diagnostics":[]}},"id":2,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 111
|
||
|
||
{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
|
||
>>>
|
||
Content-Length: 38
|
||
|
||
{"id":0,"result":null,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 143
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 142
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/63","percentage":0}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/63","percentage":1.5873015873015872}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/63","percentage":3.1746031746031744}}}Content-Length: 7717
|
||
|
||
{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"drv_unknown_argument","message":"Unknown argument: '-fstrict-volatile-bitfields'","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"drv_unknown_argument_with_suggestion","message":"Unknown argument '-mlongcalls'; did you mean '-mlong-calls'?","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"unknown_typename","message":"In included file: unknown type name '_read'\n\nC:\\Users\\zhulin\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\1.0.6/tools/sdk/include/newlib\\sys/reent.h:195:36:\nnote: error occurred here","range":{"end":{"character":10,"line":0},"start":{"character":9,"line":0}},"severity":1,"source":"clang"},{"code":"fatal_too_many_errors","message":"Too many errors emitted, stopping now","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: note: in instantiation of template class 'std::function<String (const String &)>' requested here","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<String (const String &)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:157:51: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'","range":{"end":{"character":59,"line":156},"start":{"character":50,"line":156}},"severity":3},{"code":"no_member","message":"In included file: no member named '_Enable_if_callable_t' in 'std::_Func_class<String, const String &>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1177:67:\nnote: error occurred here","range":{"end":{"character":10,"line":9},"start":{"character":9,"line":9}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'send_P'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:244:10:\nnote: candidate function not viable: no known conversion from 'String (const String &)' to 'AwsTemplateProcessor' (aka 'function<String (const String &)>') for 4th argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:243:10:\nnote: candidate function not viable: no known conversion from 'const char [1754]' to 'const uint8_t *' (aka 'const unsigned char *') for 3rd argument","range":{"end":{"character":19,"line":156},"start":{"character":4,"line":156}},"severity":1,"source":"clang"},{"code":"no_member","message":"In template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'\n\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\include\\functional:1156:53:\nnote: error occurred here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: note: in instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":1,"source":"clang"},{"message":"In instantiation of template class 'std::function<void (AsyncWebServerRequest *)>' requested here\n\nWIFI Web Servers DHT11.ino.cpp:156:28: error: in template: no member named '_Enable_if_callable_t' in 'std::_Func_class<void, AsyncWebServerRequest *>'","range":{"end":{"character":28,"line":155},"start":{"character":27,"line":155}},"severity":3},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:149:28)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":155},"start":{"character":2,"line":155}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:152:39)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":158},"start":{"character":2,"line":158}},"severity":1,"source":"clang"},{"code":"ovl_no_viable_member_function_in_call","message":"No matching member function for call to 'on'\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:424:30:\nnote: candidate function not viable: no known conversion from '(lambda at C:\\Users\\zhulin\\Documents\\Arduino\\第42课:WIFI Web Servers DHT11温湿度实验\\WIFI Web Servers DHT11\\WIFI Web Servers DHT11.ino:155:36)' to 'ArRequestHandlerFunction' (aka 'function<void (AsyncWebServerRequest *)>') for 3rd argument\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:423:30:\nnote: candidate function not viable: requires 2 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:425:30:\nnote: candidate function not viable: requires 4 arguments, but 3 were provided\n\nc:\\Users\\zhulin\\Documents\\Arduino\\libraries\\ESPAsyncWebServer\\src\\ESPAsyncWebServer.h:426:30:\nnote: candidate function not viable: requires 5 arguments, but 3 were provided","range":{"end":{"character":11,"line":161},"start":{"character":2,"line":161}},"severity":1,"source":"clang"}],"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp","version":1}}Content-Length: 2380
|
||
|
||
{"id":1,"jsonrpc":"2.0","result":[{"kind":13,"name":"ssid","range":{"end":{"character":32,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":16,"line":15},"start":{"character":12,"line":15}}},{"kind":13,"name":"password","range":{"end":{"character":34,"line":16},"start":{"character":0,"line":16}},"selectionRange":{"end":{"character":20,"line":16},"start":{"character":12,"line":16}}},{"kind":13,"name":"dht","range":{"end":{"character":24,"line":24},"start":{"character":0,"line":24}},"selectionRange":{"end":{"character":7,"line":24},"start":{"character":4,"line":24}}},{"kind":13,"name":"server","range":{"end":{"character":25,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":21,"line":27},"start":{"character":15,"line":27}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":27,"line":30},"start":{"character":0,"line":30}},"selectionRange":{"end":{"character":25,"line":30},"start":{"character":7,"line":30}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":24,"line":32},"start":{"character":0,"line":32}},"selectionRange":{"end":{"character":22,"line":32},"start":{"character":7,"line":32}}},{"kind":12,"name":"readDHTTemperature","range":{"end":{"character":1,"line":49},"start":{"character":0,"line":34}},"selectionRange":{"end":{"character":25,"line":34},"start":{"character":7,"line":34}}},{"kind":12,"name":"readDHTHumidity","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":51}},"selectionRange":{"end":{"character":22,"line":51},"start":{"character":7,"line":51}}},{"kind":13,"name":"index_html","range":{"end":{"character":19,"line":124},"start":{"character":0,"line":64}},"selectionRange":{"end":{"character":21,"line":64},"start":{"character":11,"line":64}}},{"kind":12,"name":"processor","range":{"end":{"character":1,"line":136},"start":{"character":0,"line":127}},"selectionRange":{"end":{"character":16,"line":127},"start":{"character":7,"line":127}}},{"kind":12,"name":"setup","range":{"end":{"character":1,"line":167},"start":{"character":0,"line":138}},"selectionRange":{"end":{"character":10,"line":138},"start":{"character":5,"line":138}}},{"kind":12,"name":"loop","range":{"end":{"character":1,"line":171},"start":{"character":0,"line":169}},"selectionRange":{"end":{"character":9,"line":169},"start":{"character":5,"line":169}}}]}Content-Length: 36
|
||
|
||
{"id":2,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 247
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":51,"character":6}},"id":3,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 237
|
||
|
||
{"id":3,"jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### class `String` \n\n---\nThe string class \n\n---\n```cpp\nclass String {}\n```"},"range":{"end":{"character":6,"line":51},"start":{"character":0,"line":51}}}}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":2},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":57,"character":3},"end":{"line":57,"character":3}},"context":{"diagnostics":[]}},"id":4,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":4,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":1},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":78,"character":29}},"id":5,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":5,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":4},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":78,"character":29}},"id":6,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":6,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":5},"jsonrpc":"2.0"}Content-Length: 320
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":62,"character":1},"end":{"line":62,"character":1}},"context":{"diagnostics":[]}},"id":7,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 36
|
||
|
||
{"id":7,"jsonrpc":"2.0","result":[]}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":3},"jsonrpc":"2.0"}Content-Length: 248
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":74,"character":20}},"id":8,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":8,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":7},"jsonrpc":"2.0"}Content-Length: 249
|
||
|
||
{"method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"position":{"line":103,"character":20}},"id":9,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 38
|
||
|
||
{"id":9,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 62
|
||
|
||
{"method":"$/cancelRequest","params":{"id":8},"jsonrpc":"2.0"}Content-Length: 321
|
||
|
||
{"method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/zhulin/AppData/Local/Temp/arduino-language-server105531999/sketch/WIFI%20Web%20Servers%20DHT11.ino.cpp"},"range":{"start":{"line":62,"character":1},"end":{"line":62,"character":1}},"context":{"diagnostics":[]}},"id":10,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 37
|
||
|
||
{"id":10,"jsonrpc":"2.0","result":[]}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/63","percentage":4.7619047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/63","percentage":6.3492063492063489}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/63","percentage":7.9365079365079367}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/63","percentage":9.5238095238095237}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/63","percentage":11.111111111111111}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/63","percentage":12.698412698412698}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/63","percentage":14.285714285714286}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/63","percentage":15.873015873015873}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/63","percentage":17.460317460317459}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/63","percentage":19.047619047619047}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/63","percentage":20.634920634920636}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/63","percentage":22.222222222222221}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/63","percentage":23.80952380952381}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/63","percentage":25.396825396825395}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/63","percentage":26.984126984126984}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/63","percentage":28.571428571428573}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/63","percentage":30.158730158730158}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/63","percentage":31.746031746031747}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/63","percentage":33.333333333333336}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/63","percentage":34.920634920634917}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/63","percentage":36.507936507936506}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/63","percentage":38.095238095238095}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/63","percentage":39.682539682539684}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/63","percentage":41.269841269841272}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"27/63","percentage":42.857142857142854}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"28/63","percentage":44.444444444444443}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"29/63","percentage":46.031746031746032}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"30/63","percentage":47.61904761904762}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"31/63","percentage":49.206349206349209}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"32/63","percentage":50.793650793650791}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"33/63","percentage":52.38095238095238}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"34/63","percentage":53.968253968253968}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"35/63","percentage":55.555555555555557}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"36/63","percentage":57.142857142857146}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"37/63","percentage":58.730158730158728}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"38/63","percentage":60.317460317460316}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"39/63","percentage":61.904761904761905}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"40/63","percentage":63.492063492063494}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"41/63","percentage":65.079365079365076}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"42/63","percentage":66.666666666666671}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"43/63","percentage":68.253968253968253}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"44/63","percentage":69.841269841269835}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"45/63","percentage":71.428571428571431}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"46/63","percentage":73.015873015873012}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"47/63","percentage":74.603174603174608}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 159
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"48/63","percentage":76.19047619047619}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"49/63","percentage":77.777777777777771}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"50/63","percentage":79.365079365079367}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"51/63","percentage":80.952380952380949}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"52/63","percentage":82.539682539682545}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"53/63","percentage":84.126984126984127}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"54/63","percentage":85.714285714285708}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"55/63","percentage":87.301587301587304}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"56/63","percentage":88.888888888888886}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"57/63","percentage":90.476190476190482}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"58/63","percentage":92.063492063492063}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"59/63","percentage":93.650793650793645}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"60/63","percentage":95.238095238095241}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"61/63","percentage":96.825396825396822}}}Content-Length: 160
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"62/63","percentage":98.412698412698418}}}Content-Length: 107
|
||
|
||
{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
|
||
>>>
|
||
Content-Length: 59
|
||
|
||
{"method":"shutdown","params":null,"id":11,"jsonrpc":"2.0"}
|
||
<<<
|
||
Content-Length: 39
|
||
|
||
{"id":11,"jsonrpc":"2.0","result":null}
|
||
>>>
|
||
Content-Length: 47
|
||
|
||
{"method":"exit","params":null,"jsonrpc":"2.0"}<<< Read Error: EOF
|