├── .gitattributes ├── .gitignore ├── Android_hybird ├── .project ├── LICENSE ├── README.md ├── css │ ├── app.css │ ├── mui.css │ ├── mui.min.css │ └── style.css ├── fonts │ └── mui.ttf ├── images │ ├── iconfont-tianjia.png │ ├── qihoo.png │ ├── qq.png │ ├── sinaweibo.png │ ├── user-photo.png │ └── weixin.png ├── imgs │ ├── 0.png │ ├── 1.png │ ├── bg1.png │ ├── bg2.png │ ├── bg3.png │ ├── f0.jpg │ ├── f1.gif │ ├── ttt.png │ ├── zvd.png │ └── zzz.png ├── index.html ├── js │ ├── app.js │ ├── mui.enterfocus.js │ ├── mui.js │ └── mui.min.js ├── libs │ └── echarts.js ├── list.html ├── login.html ├── main.html ├── manifest.json ├── pages │ ├── device1.html │ ├── device1_son.html │ └── device2.html └── unpackage │ ├── .confirmed_dependencies │ ├── .dependencies │ ├── release │ └── H5201A237_0315170659.apk │ └── res │ └── icons │ ├── 100x100.png │ ├── 114x114.png │ ├── 120x120.png │ ├── 144x144.png │ ├── 152x152.png │ ├── 180x180.png │ ├── 192x192.png │ ├── 256x256.png │ ├── 29x29.png │ ├── 40x40.png │ ├── 48x48.png │ ├── 50x50.png │ ├── 57x57.png │ ├── 58x58.png │ ├── 72x72.png │ ├── 76x76.png │ ├── 80x80.png │ ├── 87x87.png │ └── 96x96.png ├── BleUsart_hardware ├── EventRecorderStub.scvd ├── core │ ├── core_cm3.c │ ├── core_cm3.h │ ├── startup │ │ └── arm │ │ │ ├── startup_stm32f10x_cl.s │ │ │ ├── startup_stm32f10x_hd.s │ │ │ ├── startup_stm32f10x_hd_vl.s │ │ │ ├── startup_stm32f10x_ld.s │ │ │ ├── startup_stm32f10x_ld_vl.s │ │ │ ├── startup_stm32f10x_md.s │ │ │ ├── startup_stm32f10x_md_vl.s │ │ │ └── startup_stm32f10x_xl.s │ ├── stm32f10x.h │ ├── stm32f10x_conf.h │ ├── stm32f10x_it.c │ ├── stm32f10x_it.h │ ├── system_stm32f10x.c │ └── system_stm32f10x.h ├── fwlib │ ├── inc │ │ ├── misc.h │ │ ├── stm32f10x_adc.h │ │ ├── stm32f10x_bkp.h │ │ ├── stm32f10x_can.h │ │ ├── stm32f10x_cec.h │ │ ├── stm32f10x_crc.h │ │ ├── stm32f10x_dac.h │ │ ├── stm32f10x_dbgmcu.h │ │ ├── stm32f10x_dma.h │ │ ├── stm32f10x_exti.h │ │ ├── stm32f10x_flash.h │ │ ├── stm32f10x_fsmc.h │ │ ├── stm32f10x_gpio.h │ │ ├── stm32f10x_i2c.h │ │ ├── stm32f10x_iwdg.h │ │ ├── stm32f10x_pwr.h │ │ ├── stm32f10x_rcc.h │ │ ├── stm32f10x_rtc.h │ │ ├── stm32f10x_sdio.h │ │ ├── stm32f10x_spi.h │ │ ├── stm32f10x_tim.h │ │ ├── stm32f10x_usart.h │ │ └── stm32f10x_wwdg.h │ └── src │ │ ├── misc.c │ │ ├── stm32f10x_adc.c │ │ ├── stm32f10x_bkp.c │ │ ├── stm32f10x_can.c │ │ ├── stm32f10x_cec.c │ │ ├── stm32f10x_crc.c │ │ ├── stm32f10x_dac.c │ │ ├── stm32f10x_dbgmcu.c │ │ ├── stm32f10x_dma.c │ │ ├── stm32f10x_exti.c │ │ ├── stm32f10x_flash.c │ │ ├── stm32f10x_fsmc.c │ │ ├── stm32f10x_gpio.c │ │ ├── stm32f10x_i2c.c │ │ ├── stm32f10x_iwdg.c │ │ ├── stm32f10x_pwr.c │ │ ├── stm32f10x_rcc.c │ │ ├── stm32f10x_rtc.c │ │ ├── stm32f10x_sdio.c │ │ ├── stm32f10x_spi.c │ │ ├── stm32f10x_tim.c │ │ ├── stm32f10x_usart.c │ │ └── stm32f10x_wwdg.c ├── hardware │ ├── inc │ │ ├── delay.h │ │ ├── led.h │ │ └── usart.h │ └── src │ │ ├── delay.c │ │ ├── led.c │ │ └── usart.c ├── keilkilll.bat ├── listing │ ├── startup_stm32f10x_hd.lst │ └── stmf10x-demo.map ├── output │ ├── ExtDll.iex │ ├── core_cm3.crf │ ├── core_cm3.d │ ├── core_cm3.o │ ├── delay.crf │ ├── delay.d │ ├── delay.o │ ├── led.crf │ ├── led.d │ ├── led.o │ ├── main.crf │ ├── main.d │ ├── main.o │ ├── misc.crf │ ├── misc.d │ ├── misc.o │ ├── startup_stm32f10x_hd.d │ ├── startup_stm32f10x_hd.o │ ├── stm32f10x_gpio.crf │ ├── stm32f10x_gpio.d │ ├── stm32f10x_gpio.o │ ├── stm32f10x_it.crf │ ├── stm32f10x_it.d │ ├── stm32f10x_it.o │ ├── stm32f10x_rcc.crf │ ├── stm32f10x_rcc.d │ ├── stm32f10x_rcc.o │ ├── stm32f10x_usart.crf │ ├── stm32f10x_usart.d │ ├── stm32f10x_usart.o │ ├── stmf10x-demo.axf │ ├── stmf10x-demo.build_log.htm │ ├── stmf10x-demo.hex │ ├── stmf10x-demo.htm │ ├── stmf10x-demo.lnp │ ├── stmf10x-demo.sct │ ├── stmf10x-demo_USART.dep │ ├── system_stm32f10x.crf │ ├── system_stm32f10x.d │ ├── system_stm32f10x.o │ ├── usart.crf │ ├── usart.d │ └── usart.o ├── stmf10x-demo.uvgui.admin007 ├── stmf10x-demo.uvgui.zzes ├── stmf10x-demo.uvopt ├── stmf10x-demo.uvproj └── user │ └── main.c ├── CONTRIBUTING.md ├── ContanaControl_C# ├── .vs │ └── ContanaControl │ │ ├── DesignTimeBuild │ │ └── .dtbcache │ │ ├── v14 │ │ └── .suo │ │ └── v15 │ │ └── Server │ │ └── sqlite3 │ │ ├── db.lock │ │ ├── storage.ide │ │ ├── storage.ide-shm │ │ └── storage.ide-wal ├── ContanaControl.sln └── ContanaControl │ ├── App.config │ ├── ContanaControl.csproj │ ├── Program.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── bin │ └── Debug │ │ ├── ContanaControl.exe │ │ ├── ContanaControl.exe.config │ │ ├── ContanaControl.pdb │ │ ├── ContanaControl.vshost.exe │ │ ├── ContanaControl.vshost.exe.config │ │ └── ContanaControl.vshost.exe.manifest │ └── obj │ └── Debug │ ├── ContanaControl.csproj.FileListAbsolute.txt │ ├── ContanaControl.csprojResolveAssemblyReference.cache │ ├── ContanaControl.exe │ ├── ContanaControl.pdb │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs ├── IOT_Backend ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── api.js ├── autofood.js ├── autofoodv2.js ├── autofoodv3.js ├── autofoodv4.js ├── echarts.js ├── img │ ├── 0.png │ ├── 1.png │ ├── f0.jpg │ └── f1.gif ├── index.html ├── newSocket.js ├── newTcp.js ├── package.json └── public │ ├── index.html │ ├── swagger-ui-bundle.js │ ├── swagger-ui-bundle.js.map │ ├── swagger-ui-standalone-preset.js │ ├── swagger-ui-standalone-preset.js.map │ ├── swagger-ui.css │ ├── swagger-ui.css.map │ ├── swagger-ui.js │ ├── swagger-ui.js.map │ └── swagger.json ├── IOT_Frontend ├── .gitignore ├── LICENSE ├── README.md ├── apiTest.html ├── css │ ├── bootstrap.min.css │ └── mycss │ │ ├── apiTest.css │ │ ├── historydata.css │ │ ├── home.css │ │ ├── index.css │ │ ├── login.css │ │ ├── realdata.css │ │ └── time.css ├── font │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── gulpfile.js ├── historydata.html ├── home.html ├── img │ ├── aczj.jpg │ ├── ff0.jpg │ ├── ff1.gif │ ├── giveFood.gif │ ├── indoor0.png │ ├── indoor1.png │ ├── logo.png │ ├── msg.gif │ ├── qrcode.jpg │ └── time.gif ├── index.html ├── js │ ├── angular-ui-router.min.js │ ├── angular.min.js │ ├── bootstrap.min.js │ ├── echarts.min.js │ ├── jquery.min.js │ ├── myjs │ │ ├── indexApp.js │ │ ├── indexCtrl.js │ │ ├── indexFilter.js │ │ ├── indexRouter.js │ │ ├── loginApp.js │ │ └── loginCtrl.js │ ├── otherpage │ │ ├── apiTestCtrl.js │ │ ├── controller.js │ │ ├── historydataCtrl.js │ │ ├── homeCtrl.js │ │ ├── indoor-analysis.js │ │ ├── realdataCtrl.js │ │ ├── realhum-data.js │ │ ├── realtem-data.js │ │ └── timeCtrl.js │ └── socket.io.js ├── login.html ├── package.json ├── realdata.html └── time.html ├── LICENSE ├── MaibuControl ├── OUT.MAI ├── appinfo.json ├── resources │ ├── files │ │ └── temp.data │ ├── fonts │ │ ├── ASCII_10.bin │ │ └── ASCII_12.bin │ └── images │ │ ├── counter_bg.bmp │ │ ├── counter_bg20160101.bmp │ │ ├── counter_bg_20160121.bmp │ │ ├── counter_icon.bmp │ │ └── old_counter_icon.bmp ├── watchapp_counter.c └── watchapp_counter.h ├── MaibuView ├── v1 │ ├── OUT.MAI │ ├── appinfo.json │ ├── btc.c │ └── resources │ │ └── images │ │ ├── bg.bmp │ │ └── underline.bmp └── v2 │ ├── LICENSE │ ├── OUT.MAI │ ├── README.md │ ├── appinfo.json │ ├── btc.c │ └── resources │ └── images │ ├── bg.bmp │ ├── bg1.bmp │ └── underline.bmp ├── README.md ├── STM32_ESP8266_miniboard(before) ├── Devices │ ├── hal_i2c.c │ ├── hal_i2c.h │ ├── sht20.c │ └── sht20.h ├── Hal │ ├── usart1.c │ ├── usart1.h │ ├── usart2.c │ └── usart2.h ├── Libraries │ ├── CMSIS │ │ ├── core_cm3.c │ │ ├── core_cm3.h │ │ ├── startup │ │ │ └── arm │ │ │ │ ├── startup_stm32f10x_cl.s │ │ │ │ ├── startup_stm32f10x_hd.s │ │ │ │ ├── startup_stm32f10x_hd_vl.s │ │ │ │ ├── startup_stm32f10x_ld.s │ │ │ │ ├── startup_stm32f10x_ld.s.bak │ │ │ │ ├── startup_stm32f10x_ld_vl.s │ │ │ │ ├── startup_stm32f10x_md.s │ │ │ │ ├── startup_stm32f10x_md_vl.s │ │ │ │ └── startup_stm32f10x_xl.s │ │ ├── stm32f10x.h │ │ ├── system_stm32f10x.c │ │ └── system_stm32f10x.h │ └── STM32F10x_StdPeriph_Driver │ │ ├── Release_Notes.html │ │ ├── inc │ │ ├── misc.h │ │ ├── stm32f10x_adc.h │ │ ├── stm32f10x_bkp.h │ │ ├── stm32f10x_can.h │ │ ├── stm32f10x_cec.h │ │ ├── stm32f10x_crc.h │ │ ├── stm32f10x_dac.h │ │ ├── stm32f10x_dbgmcu.h │ │ ├── stm32f10x_dma.h │ │ ├── stm32f10x_exti.h │ │ ├── stm32f10x_flash.h │ │ ├── stm32f10x_fsmc.h │ │ ├── stm32f10x_gpio.h │ │ ├── stm32f10x_i2c.h │ │ ├── stm32f10x_iwdg.h │ │ ├── stm32f10x_pwr.h │ │ ├── stm32f10x_rcc.h │ │ ├── stm32f10x_rtc.h │ │ ├── stm32f10x_sdio.h │ │ ├── stm32f10x_spi.h │ │ ├── stm32f10x_tim.h │ │ ├── stm32f10x_usart.h │ │ └── stm32f10x_wwdg.h │ │ └── src │ │ ├── misc.c │ │ ├── stm32f10x_adc.c │ │ ├── stm32f10x_bkp.c │ │ ├── stm32f10x_can.c │ │ ├── stm32f10x_cec.c │ │ ├── stm32f10x_crc.c │ │ ├── stm32f10x_dac.c │ │ ├── stm32f10x_dbgmcu.c │ │ ├── stm32f10x_dma.c │ │ ├── stm32f10x_exti.c │ │ ├── stm32f10x_flash.c │ │ ├── stm32f10x_fsmc.c │ │ ├── stm32f10x_gpio.c │ │ ├── stm32f10x_i2c.c │ │ ├── stm32f10x_iwdg.c │ │ ├── stm32f10x_pwr.c │ │ ├── stm32f10x_rcc.c │ │ ├── stm32f10x_rtc.c │ │ ├── stm32f10x_sdio.c │ │ ├── stm32f10x_spi.c │ │ ├── stm32f10x_tim.c │ │ ├── stm32f10x_usart.c │ │ └── stm32f10x_wwdg.c ├── Network │ └── esp8266 │ │ ├── esp8266.c │ │ └── esp8266.h ├── Project │ ├── JLinkLog.txt │ ├── JLinkSettings.ini │ ├── onenetdemo.map │ ├── onenetdemo.plg │ ├── onenetdemo.uvgui.xufang │ ├── onenetdemo.uvgui.zzes │ ├── onenetdemo.uvgui_xufang.bak │ ├── onenetdemo.uvopt │ ├── onenetdemo.uvproj │ ├── onenetdemo_uvopt.bak │ ├── onenetdemo_uvproj.bak │ └── startup_stm32f10x_md.lst ├── Protocol │ └── http │ │ ├── HTTP_Demo.c │ │ └── HTTP_Demo.h ├── User │ ├── main.c │ ├── stm32f10x_conf.h │ ├── stm32f10x_it.c │ └── stm32f10x_it.h ├── Utils │ ├── utils.c │ └── utils.h └── object │ ├── cjson.__i │ ├── cjson.crf │ ├── cjson.d │ ├── cjson.o │ ├── core_cm3.crf │ ├── core_cm3.d │ ├── core_cm3.o │ ├── edpdemo.__i │ ├── edpdemo.crf │ ├── edpdemo.d │ ├── edpdemo.o │ ├── edpkit.crf │ ├── edpkit.d │ ├── edpkit.o │ ├── esp8266.crf │ ├── esp8266.d │ ├── esp8266.o │ ├── gpio.__i │ ├── gpio.crf │ ├── gpio.d │ ├── gpio.o │ ├── hal_i2c.crf │ ├── hal_i2c.d │ ├── hal_i2c.o │ ├── http_demo.crf │ ├── http_demo.d │ ├── http_demo.o │ ├── led.crf │ ├── led.d │ ├── led.o │ ├── main.crf │ ├── main.d │ ├── main.o │ ├── misc.crf │ ├── misc.d │ ├── misc.o │ ├── onenetdemo.axf │ ├── onenetdemo.build_log.htm │ ├── onenetdemo.htm │ ├── onenetdemo.lnp │ ├── onenetdemo.plg │ ├── onenetdemo.sct │ ├── onenetdemo.tra │ ├── onenetdemo_OneNET_Demo_ESP8266_HTTP_HT.dep │ ├── onenetdemo_sct.Bak │ ├── ringbuffer.__i │ ├── ringbuffer.crf │ ├── ringbuffer.d │ ├── ringbuffer.o │ ├── sht20.crf │ ├── sht20.d │ ├── sht20.o │ ├── startup_stm32f10x_md.d │ ├── startup_stm32f10x_md.o │ ├── stm32f10x_exti.crf │ ├── stm32f10x_exti.d │ ├── stm32f10x_exti.o │ ├── stm32f10x_flash.crf │ ├── stm32f10x_flash.d │ ├── stm32f10x_flash.o │ ├── stm32f10x_gpio.crf │ ├── stm32f10x_gpio.d │ ├── stm32f10x_gpio.o │ ├── stm32f10x_i2c.crf │ ├── stm32f10x_i2c.d │ ├── stm32f10x_i2c.o │ ├── stm32f10x_it.crf │ ├── stm32f10x_it.d │ ├── stm32f10x_it.o │ ├── stm32f10x_rcc.crf │ ├── stm32f10x_rcc.d │ ├── stm32f10x_rcc.o │ ├── stm32f10x_usart.crf │ ├── stm32f10x_usart.d │ ├── stm32f10x_usart.o │ ├── system_stm32f10x.crf │ ├── system_stm32f10x.d │ ├── system_stm32f10x.o │ ├── usart1.crf │ ├── usart1.d │ ├── usart1.o │ ├── usart2.crf │ ├── usart2.d │ ├── usart2.o │ ├── utils.crf │ ├── utils.d │ └── utils.o ├── STM32_bigboard(main) ├── .gitignore ├── EventRecorderStub.scvd ├── LICENSE ├── NET │ ├── device │ │ ├── demo │ │ │ ├── ESP8266 │ │ │ │ ├── net_device.c │ │ │ │ ├── net_device.h │ │ │ │ ├── net_io.c │ │ │ │ └── net_io.h │ │ │ └── M6311 │ │ │ │ ├── net_device.c │ │ │ │ ├── net_device.h │ │ │ │ ├── net_io.c │ │ │ │ └── net_io.h │ │ ├── inc │ │ │ ├── net_device.h │ │ │ └── net_io.h │ │ └── src │ │ │ ├── net_device.c │ │ │ └── net_io.c │ └── protocol │ │ ├── inc │ │ ├── fault.h │ │ └── onenet.h │ │ └── src │ │ ├── fault.c │ │ └── onenet.c ├── README.md ├── core │ ├── core_cm3.c │ ├── core_cm3.h │ ├── startup │ │ └── arm │ │ │ ├── startup_stm32f10x_cl.s │ │ │ ├── startup_stm32f10x_hd.s │ │ │ ├── startup_stm32f10x_hd_vl.s │ │ │ ├── startup_stm32f10x_ld.s │ │ │ ├── startup_stm32f10x_ld_vl.s │ │ │ ├── startup_stm32f10x_md.s │ │ │ ├── startup_stm32f10x_md_vl.s │ │ │ └── startup_stm32f10x_xl.s │ ├── stm32f10x.h │ ├── stm32f10x_conf.h │ ├── stm32f10x_it.c │ ├── stm32f10x_it.h │ ├── system_stm32f10x.c │ └── system_stm32f10x.h ├── fwlib │ ├── inc │ │ ├── misc.h │ │ ├── stm32f10x_adc.h │ │ ├── stm32f10x_bkp.h │ │ ├── stm32f10x_can.h │ │ ├── stm32f10x_cec.h │ │ ├── stm32f10x_crc.h │ │ ├── stm32f10x_dac.h │ │ ├── stm32f10x_dbgmcu.h │ │ ├── stm32f10x_dma.h │ │ ├── stm32f10x_exti.h │ │ ├── stm32f10x_flash.h │ │ ├── stm32f10x_fsmc.h │ │ ├── stm32f10x_gpio.h │ │ ├── stm32f10x_i2c.h │ │ ├── stm32f10x_iwdg.h │ │ ├── stm32f10x_pwr.h │ │ ├── stm32f10x_rcc.h │ │ ├── stm32f10x_rtc.h │ │ ├── stm32f10x_sdio.h │ │ ├── stm32f10x_spi.h │ │ ├── stm32f10x_tim.h │ │ ├── stm32f10x_usart.h │ │ └── stm32f10x_wwdg.h │ └── src │ │ ├── misc.c │ │ ├── stm32f10x_adc.c │ │ ├── stm32f10x_bkp.c │ │ ├── stm32f10x_can.c │ │ ├── stm32f10x_cec.c │ │ ├── stm32f10x_crc.c │ │ ├── stm32f10x_dac.c │ │ ├── stm32f10x_dbgmcu.c │ │ ├── stm32f10x_dma.c │ │ ├── stm32f10x_exti.c │ │ ├── stm32f10x_flash.c │ │ ├── stm32f10x_fsmc.c │ │ ├── stm32f10x_gpio.c │ │ ├── stm32f10x_i2c.c │ │ ├── stm32f10x_iwdg.c │ │ ├── stm32f10x_pwr.c │ │ ├── stm32f10x_rcc.c │ │ ├── stm32f10x_rtc.c │ │ ├── stm32f10x_sdio.c │ │ ├── stm32f10x_spi.c │ │ ├── stm32f10x_tim.c │ │ ├── stm32f10x_usart.c │ │ └── stm32f10x_wwdg.c ├── hardware │ ├── inc │ │ ├── adc.h │ │ ├── adxl345.h │ │ ├── at24c02.h │ │ ├── beep.h │ │ ├── delay.h │ │ ├── duoji.h │ │ ├── fengshan.h │ │ ├── gy30.h │ │ ├── hwtimer.h │ │ ├── i2c.h │ │ ├── info.h │ │ ├── iwdg.h │ │ ├── jiaredian.h │ │ ├── key.h │ │ ├── lcd1602.h │ │ ├── led.h │ │ ├── light.h │ │ ├── oled.h │ │ ├── oled_zk.h │ │ ├── rthongwai.h │ │ ├── selfcheck.h │ │ ├── sht20.h │ │ ├── stmflash.h │ │ ├── tcrt5000.h │ │ └── usart.h │ └── src │ │ ├── adc.c │ │ ├── adxl345.c │ │ ├── at24c02.c │ │ ├── beep.c │ │ ├── delay.c │ │ ├── duoji.c │ │ ├── fengshan.c │ │ ├── gy30.c │ │ ├── hwtimer.c │ │ ├── i2c.c │ │ ├── info.c │ │ ├── iwdg.c │ │ ├── jiaredian.c │ │ ├── key.c │ │ ├── lcd1602.c │ │ ├── led.c │ │ ├── light.c │ │ ├── oled.c │ │ ├── rthongwai.c │ │ ├── selfcheck.c │ │ ├── sht20.c │ │ ├── stmflash.c │ │ ├── tcrt5000.c │ │ └── usart.c ├── keilkilll.bat ├── listing │ ├── startup_stm32f10x_hd.lst │ └── stm32f103.map ├── stm32f103.uvgui.60574 ├── stm32f103.uvgui.admin007 ├── stm32f103.uvgui.zzes ├── stm32f103.uvopt ├── stm32f103.uvproj └── user │ ├── image_2k.h │ └── main.c ├── swagger-ui └── dist │ ├── index.html │ ├── swagger-ui-bundle.js │ ├── swagger-ui-bundle.js.map │ ├── swagger-ui-standalone-preset.js │ ├── swagger-ui-standalone-preset.js.map │ ├── swagger-ui.css │ ├── swagger-ui.css.map │ ├── swagger-ui.js │ └── swagger-ui.js.map └── weibonodejs ├── README.md ├── getaccess.js ├── getcode.js ├── package.json ├── sendweibo.js ├── server.js ├── setting.json └── test.js /.gitignore: -------------------------------------------------------------------------------- 1 | Nodejs_Server/node_modules -------------------------------------------------------------------------------- /Android_hybird/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | IOT 4 | Create By HBuilder 5 | 6 | 7 | 8 | 9 | com.pandora.projects.ui.MKeyBuilder 10 | 11 | 12 | 13 | 14 | com.aptana.ide.core.unifiedBuilder 15 | 16 | 17 | 18 | 19 | 20 | com.pandora.projects.ui.MKeyNature 21 | com.aptana.projects.webnature 22 | 23 | 24 | 25 | 1490490685444 26 | 27 | 10 28 | 29 | org.eclipse.ui.ide.orFilterMatcher 30 | 31 | 32 | org.eclipse.ui.ide.multiFilter 33 | 1.0-projectRelativePath-matches-false-false-bin 34 | 35 | 36 | org.eclipse.ui.ide.multiFilter 37 | 1.0-projectRelativePath-matches-false-false-setting 38 | 39 | 40 | 41 | 42 | 43 | 1521102557798 44 | 45 | 26 46 | 47 | org.eclipse.ui.ide.multiFilter 48 | 1.0-name-matches-false-false-node_modules 49 | 50 | 51 | 52 | 1521102557804 53 | 54 | 26 55 | 56 | org.eclipse.ui.ide.multiFilter 57 | 1.0-name-matches-false-false-node_modules 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /Android_hybird/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Android_hybird/README.md: -------------------------------------------------------------------------------- 1 | # Pet_Android 2 | 爱宠之家Android端,混合开发 3 | -------------------------------------------------------------------------------- /Android_hybird/css/app.css: -------------------------------------------------------------------------------- 1 | /* 2 | *这是单独为hello mui准备的个性化css,可以覆盖标准mui的css定义; 3 | * 在实际项目开发时,建议为App单独写一个css文件,从而实现项目的自定义皮肤功能; 4 | * 5 | * */ 6 | .mui-plus.mui-android header.mui-bar{ 7 | display: none; 8 | } 9 | .mui-plus.mui-android .mui-bar-nav~.mui-content{ 10 | padding: 0; 11 | } 12 | 13 | /*hm开头的表示仅为 Hello MUI示例定义*/ 14 | .hm-description{ 15 | margin: .5em 0; 16 | } 17 | 18 | .hm-description>li { 19 | font-size: 14px; 20 | color: #8f8f94; 21 | } 22 | 23 | -------------------------------------------------------------------------------- /Android_hybird/css/style.css: -------------------------------------------------------------------------------- 1 | .ui-page-login, 2 | body { 3 | width: 100%; 4 | height: 100%; 5 | margin: 0px; 6 | padding: 0px; 7 | } 8 | .mui-content{height: 100%;} 9 | -------------------------------------------------------------------------------- /Android_hybird/fonts/mui.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/fonts/mui.ttf -------------------------------------------------------------------------------- /Android_hybird/images/iconfont-tianjia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/images/iconfont-tianjia.png -------------------------------------------------------------------------------- /Android_hybird/images/qihoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/images/qihoo.png -------------------------------------------------------------------------------- /Android_hybird/images/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/images/qq.png -------------------------------------------------------------------------------- /Android_hybird/images/sinaweibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/images/sinaweibo.png -------------------------------------------------------------------------------- /Android_hybird/images/user-photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/images/user-photo.png -------------------------------------------------------------------------------- /Android_hybird/images/weixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/images/weixin.png -------------------------------------------------------------------------------- /Android_hybird/imgs/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/0.png -------------------------------------------------------------------------------- /Android_hybird/imgs/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/1.png -------------------------------------------------------------------------------- /Android_hybird/imgs/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/bg1.png -------------------------------------------------------------------------------- /Android_hybird/imgs/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/bg2.png -------------------------------------------------------------------------------- /Android_hybird/imgs/bg3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/bg3.png -------------------------------------------------------------------------------- /Android_hybird/imgs/f0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/f0.jpg -------------------------------------------------------------------------------- /Android_hybird/imgs/f1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/f1.gif -------------------------------------------------------------------------------- /Android_hybird/imgs/ttt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/ttt.png -------------------------------------------------------------------------------- /Android_hybird/imgs/zvd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/zvd.png -------------------------------------------------------------------------------- /Android_hybird/imgs/zzz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/imgs/zzz.png -------------------------------------------------------------------------------- /Android_hybird/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

爱宠之家

13 |
14 | 15 | 16 | 17 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /Android_hybird/js/mui.enterfocus.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | $.enterfocus = function(selector, callback) { 3 | var boxArray = [].slice.call(document.querySelectorAll(selector)); 4 | for (var index in boxArray) { 5 | var box = boxArray[index]; 6 | box.addEventListener('keyup', function(event) { 7 | if (event.keyCode == 13) { 8 | var boxIndex = boxArray.indexOf(this); 9 | if (boxIndex == boxArray.length - 1) { 10 | if (callback) callback(); 11 | } else { 12 | //console.log(boxIndex); 13 | var nextBox = boxArray[++boxIndex]; 14 | nextBox.focus(); 15 | } 16 | } 17 | }, false); 18 | } 19 | }; 20 | }(window.mui = window.mui || {})); -------------------------------------------------------------------------------- /Android_hybird/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 19 | 20 | 21 | 22 |
23 |

登录模板

24 |
25 |
26 |
27 |

28 | 您好 ,您已成功登录。 29 |

35 |

36 | 37 | 41 |
42 |
43 | 44 | 45 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /Android_hybird/pages/device1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 设备一数据展示 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |

设备一温湿度数据显示

17 |
18 | 19 | 20 | 21 | 22 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /Android_hybird/pages/device2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | api测试通道 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 30 | 31 | 32 | 33 |
34 | 35 |

API测试通道

36 |
37 | 38 |
39 | 42 | 45 | 48 |
49 | 50 | 51 | 52 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Android_hybird/unpackage/.confirmed_dependencies: -------------------------------------------------------------------------------- 1 | { 2 | "pages/device1.html": { 3 | "href": "pages/device1.html", 4 | "resources": [ 5 | "css/mui.min.css", 6 | "css/app.css", 7 | "js/mui.min.js", 8 | "libs/echarts.js", 9 | "fonts/mui.ttf", 10 | "pages/device1_son.html" 11 | ], 12 | "refer": [], 13 | "priority": 0 14 | }, 15 | "list.html": { 16 | "href": "list.html", 17 | "resources": [ 18 | "css/mui.min.css", 19 | "js/mui.min.js", 20 | "imgs/zvd.png", 21 | "fonts/mui.ttf", 22 | "imgs/f0.jpg", 23 | "imgs/1.png", 24 | "imgs/f1.gif", 25 | "imgs/0.png" 26 | ], 27 | "refer": [ 28 | "pages/device1.html", 29 | "pages/device2.html" 30 | ], 31 | "priority": 0 32 | }, 33 | "index.html": { 34 | "href": "index.html", 35 | "resources": [ 36 | "css/mui.min.css", 37 | "js/mui.min.js", 38 | "imgs/zvd.png", 39 | "fonts/mui.ttf" 40 | ], 41 | "refer": [ 42 | "list.html", 43 | "pages/device1.html" 44 | ], 45 | "priority": 0 46 | }, 47 | "pages/device2.html": { 48 | "resources": [ 49 | "css/app.css", 50 | "css/mui.min.css", 51 | "libs/echarts.js", 52 | "js/mui.min.js", 53 | "fonts/mui.ttf" 54 | ], 55 | "refer": [] 56 | }, 57 | "pages/device1_son.html": { 58 | "resources": [ 59 | "libs/echarts.js" 60 | ], 61 | "refer": [] 62 | }, 63 | "login.html": { 64 | "resources": [ 65 | "js/mui.min.js", 66 | "css/mui.min.css", 67 | "imgs/zvd.png" 68 | ], 69 | "refer": [ 70 | "index.html" 71 | ] 72 | } 73 | } -------------------------------------------------------------------------------- /Android_hybird/unpackage/.dependencies: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Android_hybird/unpackage/release/H5201A237_0315170659.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/release/H5201A237_0315170659.apk -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/100x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/100x100.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/114x114.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/120x120.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/144x144.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/152x152.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/180x180.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/192x192.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/256x256.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/29x29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/29x29.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/40x40.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/48x48.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/50x50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/50x50.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/57x57.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/58x58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/58x58.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/72x72.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/76x76.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/80x80.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/87x87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/87x87.png -------------------------------------------------------------------------------- /Android_hybird/unpackage/res/icons/96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/Android_hybird/unpackage/res/icons/96x96.png -------------------------------------------------------------------------------- /BleUsart_hardware/EventRecorderStub.scvd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BleUsart_hardware/core/startup/arm/startup_stm32f10x_hd.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/core/startup/arm/startup_stm32f10x_hd.s -------------------------------------------------------------------------------- /BleUsart_hardware/core/stm32f10x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/core/stm32f10x.h -------------------------------------------------------------------------------- /BleUsart_hardware/core/stm32f10x_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief This file contains the headers of the interrupt handlers. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_IT_H 24 | #define __STM32F10x_IT_H 25 | 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | /* Includes ------------------------------------------------------------------*/ 31 | #include "stm32f10x.h" 32 | 33 | /* Exported types ------------------------------------------------------------*/ 34 | /* Exported constants --------------------------------------------------------*/ 35 | /* Exported macro ------------------------------------------------------------*/ 36 | /* Exported functions ------------------------------------------------------- */ 37 | 38 | void NMI_Handler(void); 39 | void HardFault_Handler(void); 40 | void MemManage_Handler(void); 41 | void BusFault_Handler(void); 42 | void UsageFault_Handler(void); 43 | void SVC_Handler(void); 44 | void DebugMon_Handler(void); 45 | void PendSV_Handler(void); 46 | void SysTick_Handler(void); 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | 52 | #endif /* __STM32F10x_IT_H */ 53 | 54 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 55 | -------------------------------------------------------------------------------- /BleUsart_hardware/core/system_stm32f10x.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/core/system_stm32f10x.c -------------------------------------------------------------------------------- /BleUsart_hardware/core/system_stm32f10x.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file system_stm32f10x.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /** @addtogroup CMSIS 23 | * @{ 24 | */ 25 | 26 | /** @addtogroup stm32f10x_system 27 | * @{ 28 | */ 29 | 30 | /** 31 | * @brief Define to prevent recursive inclusion 32 | */ 33 | #ifndef __SYSTEM_STM32F10X_H 34 | #define __SYSTEM_STM32F10X_H 35 | 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @addtogroup STM32F10x_System_Includes 41 | * @{ 42 | */ 43 | 44 | /** 45 | * @} 46 | */ 47 | 48 | 49 | /** @addtogroup STM32F10x_System_Exported_types 50 | * @{ 51 | */ 52 | 53 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @addtogroup STM32F10x_System_Exported_Constants 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @addtogroup STM32F10x_System_Exported_Macros 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @addtogroup STM32F10x_System_Exported_Functions 76 | * @{ 77 | */ 78 | 79 | extern void SystemInit(void); 80 | extern void SystemCoreClockUpdate(void); 81 | /** 82 | * @} 83 | */ 84 | 85 | #ifdef __cplusplus 86 | } 87 | #endif 88 | 89 | #endif /*__SYSTEM_STM32F10X_H */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 99 | -------------------------------------------------------------------------------- /BleUsart_hardware/fwlib/inc/stm32f10x_crc.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_crc.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the CRC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_CRC_H 25 | #define __STM32F10x_CRC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup CRC 39 | * @{ 40 | */ 41 | 42 | /** @defgroup CRC_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup CRC_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /** @defgroup CRC_Exported_Macros 59 | * @{ 60 | */ 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup CRC_Exported_Functions 67 | * @{ 68 | */ 69 | 70 | void CRC_ResetDR(void); 71 | uint32_t CRC_CalcCRC(uint32_t Data); 72 | uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength); 73 | uint32_t CRC_GetCRC(void); 74 | void CRC_SetIDRegister(uint8_t IDValue); 75 | uint8_t CRC_GetIDRegister(void); 76 | 77 | #ifdef __cplusplus 78 | } 79 | #endif 80 | 81 | #endif /* __STM32F10x_CRC_H */ 82 | /** 83 | * @} 84 | */ 85 | 86 | /** 87 | * @} 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 95 | -------------------------------------------------------------------------------- /BleUsart_hardware/fwlib/src/stm32f10x_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/fwlib/src/stm32f10x_flash.c -------------------------------------------------------------------------------- /BleUsart_hardware/fwlib/src/stm32f10x_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/fwlib/src/stm32f10x_i2c.c -------------------------------------------------------------------------------- /BleUsart_hardware/fwlib/src/stm32f10x_usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/fwlib/src/stm32f10x_usart.c -------------------------------------------------------------------------------- /BleUsart_hardware/hardware/inc/delay.h: -------------------------------------------------------------------------------- 1 | #ifndef _DELAY_H_ 2 | #define _DELAY_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | void Delay_Init(void); 11 | 12 | void DelayUs(unsigned short us); 13 | 14 | void DelayXms(unsigned short ms); 15 | 16 | void DelayMs(unsigned short ms); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /BleUsart_hardware/hardware/inc/led.h: -------------------------------------------------------------------------------- 1 | #ifndef _HAL_LED_H 2 | #define _HAL_LED_H 3 | 4 | #include 5 | #include 6 | 7 | #define GPIO_LED1_CLK RCC_APB2Periph_GPIOB 8 | #define GPIO_LED1_PORT GPIOB 9 | #define GPIO_LED1_PIN GPIO_Pin_15 10 | 11 | #define GPIO_LED2_CLK RCC_APB2Periph_GPIOB 12 | #define GPIO_LED2_PORT GPIOB 13 | #define GPIO_LED2_PIN GPIO_Pin_14 14 | 15 | #define GPIO_LED3_CLK RCC_APB2Periph_GPIOB 16 | #define GPIO_LED3_PORT GPIOB 17 | #define GPIO_LED3_PIN GPIO_Pin_11 18 | 19 | #define GPIO_LED4_CLK RCC_APB2Periph_GPIOB 20 | #define GPIO_LED4_PORT GPIOB 21 | #define GPIO_LED4_PIN GPIO_Pin_1 22 | 23 | #define LED1 0x01 24 | #define LED2 0x02 25 | #define LED3 0x04 26 | #define LED4 0x08 27 | 28 | void ledGpioInit(void); 29 | void ledOn(uint8_t ledNum); 30 | void ledOff(uint8_t ledNum); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /BleUsart_hardware/hardware/inc/usart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/hardware/inc/usart.h -------------------------------------------------------------------------------- /BleUsart_hardware/hardware/src/delay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/hardware/src/delay.c -------------------------------------------------------------------------------- /BleUsart_hardware/hardware/src/led.c: -------------------------------------------------------------------------------- 1 | #include "led.h" 2 | 3 | 4 | void ledOn(uint8_t ledNum){ 5 | switch(ledNum){ 6 | case LED1: 7 | GPIO_SetBits(GPIO_LED1_PORT,GPIO_LED1_PIN); 8 | break; 9 | case LED2: 10 | GPIO_SetBits(GPIO_LED2_PORT,GPIO_LED2_PIN); 11 | break; 12 | case LED3: 13 | GPIO_SetBits(GPIO_LED3_PORT,GPIO_LED3_PIN); 14 | break; 15 | case LED4: 16 | GPIO_SetBits(GPIO_LED4_PORT,GPIO_LED4_PIN); 17 | break; 18 | default: 19 | break; 20 | } 21 | } 22 | 23 | void ledOff(uint8_t ledNum){ 24 | switch(ledNum){ 25 | case LED1: 26 | GPIO_ResetBits(GPIO_LED1_PORT,GPIO_LED1_PIN); 27 | break; 28 | case LED2: 29 | GPIO_ResetBits(GPIO_LED2_PORT,GPIO_LED2_PIN); 30 | break; 31 | case LED3: 32 | GPIO_ResetBits(GPIO_LED3_PORT,GPIO_LED3_PIN); 33 | break; 34 | case LED4: 35 | GPIO_ResetBits(GPIO_LED4_PORT,GPIO_LED4_PIN); 36 | break; 37 | default: 38 | break; 39 | } 40 | } 41 | 42 | 43 | void ledGpioInit(void){ 44 | GPIO_InitTypeDef GPIO_InitStructure; 45 | RCC_APB2PeriphClockCmd(GPIO_LED1_CLK |GPIO_LED2_CLK|GPIO_LED3_CLK|GPIO_LED4_CLK,ENABLE); 46 | 47 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 48 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; 49 | 50 | GPIO_InitStructure.GPIO_Pin = GPIO_LED1_PIN; 51 | GPIO_Init(GPIO_LED1_PORT,&GPIO_InitStructure); 52 | 53 | GPIO_InitStructure.GPIO_Pin = GPIO_LED2_PIN; 54 | GPIO_Init(GPIO_LED2_PORT,&GPIO_InitStructure); 55 | 56 | GPIO_InitStructure.GPIO_Pin = GPIO_LED3_PIN; 57 | GPIO_Init(GPIO_LED3_PORT,&GPIO_InitStructure); 58 | 59 | GPIO_InitStructure.GPIO_Pin = GPIO_LED4_PIN; 60 | GPIO_Init(GPIO_LED4_PORT,&GPIO_InitStructure); 61 | 62 | ledOff(LED1); 63 | ledOff(LED2); 64 | ledOff(LED3); 65 | ledOff(LED4); 66 | } 67 | 68 | 69 | -------------------------------------------------------------------------------- /BleUsart_hardware/hardware/src/usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/hardware/src/usart.c -------------------------------------------------------------------------------- /BleUsart_hardware/keilkilll.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/keilkilll.bat -------------------------------------------------------------------------------- /BleUsart_hardware/listing/startup_stm32f10x_hd.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/listing/startup_stm32f10x_hd.lst -------------------------------------------------------------------------------- /BleUsart_hardware/output/ExtDll.iex: -------------------------------------------------------------------------------- 1 | [EXTDLL] 2 | Count=0 3 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/core_cm3.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/core_cm3.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/core_cm3.d: -------------------------------------------------------------------------------- 1 | .\output\core_cm3.o: core\core_cm3.c 2 | .\output\core_cm3.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 3 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/core_cm3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/core_cm3.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/delay.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/delay.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/delay.d: -------------------------------------------------------------------------------- 1 | .\output\delay.o: hardware\src\delay.c 2 | .\output\delay.o: .\core\stm32f10x.h 3 | .\output\delay.o: .\core\core_cm3.h 4 | .\output\delay.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | .\output\delay.o: .\core\system_stm32f10x.h 6 | .\output\delay.o: .\core\stm32f10x_conf.h 7 | .\output\delay.o: .\fwlib\inc\stm32f10x_adc.h 8 | .\output\delay.o: .\core\stm32f10x.h 9 | .\output\delay.o: .\fwlib\inc\stm32f10x_bkp.h 10 | .\output\delay.o: .\fwlib\inc\stm32f10x_can.h 11 | .\output\delay.o: .\fwlib\inc\stm32f10x_cec.h 12 | .\output\delay.o: .\fwlib\inc\stm32f10x_crc.h 13 | .\output\delay.o: .\fwlib\inc\stm32f10x_dac.h 14 | .\output\delay.o: .\fwlib\inc\stm32f10x_dbgmcu.h 15 | .\output\delay.o: .\fwlib\inc\stm32f10x_dma.h 16 | .\output\delay.o: .\fwlib\inc\stm32f10x_exti.h 17 | .\output\delay.o: .\fwlib\inc\stm32f10x_flash.h 18 | .\output\delay.o: .\fwlib\inc\stm32f10x_fsmc.h 19 | .\output\delay.o: .\fwlib\inc\stm32f10x_gpio.h 20 | .\output\delay.o: .\fwlib\inc\stm32f10x_i2c.h 21 | .\output\delay.o: .\fwlib\inc\stm32f10x_iwdg.h 22 | .\output\delay.o: .\fwlib\inc\stm32f10x_pwr.h 23 | .\output\delay.o: .\fwlib\inc\stm32f10x_rcc.h 24 | .\output\delay.o: .\fwlib\inc\stm32f10x_rtc.h 25 | .\output\delay.o: .\fwlib\inc\stm32f10x_sdio.h 26 | .\output\delay.o: .\fwlib\inc\stm32f10x_spi.h 27 | .\output\delay.o: .\fwlib\inc\stm32f10x_tim.h 28 | .\output\delay.o: .\fwlib\inc\stm32f10x_usart.h 29 | .\output\delay.o: .\fwlib\inc\stm32f10x_wwdg.h 30 | .\output\delay.o: .\fwlib\inc\misc.h 31 | .\output\delay.o: .\hardware\inc\delay.h 32 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/delay.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/delay.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/led.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/led.d: -------------------------------------------------------------------------------- 1 | .\output\led.o: hardware\src\led.c 2 | .\output\led.o: .\hardware\inc\led.h 3 | .\output\led.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | .\output\led.o: .\core\stm32f10x.h 5 | .\output\led.o: .\core\core_cm3.h 6 | .\output\led.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\output\led.o: .\core\system_stm32f10x.h 8 | .\output\led.o: .\core\stm32f10x_conf.h 9 | .\output\led.o: .\fwlib\inc\stm32f10x_adc.h 10 | .\output\led.o: .\core\stm32f10x.h 11 | .\output\led.o: .\fwlib\inc\stm32f10x_bkp.h 12 | .\output\led.o: .\fwlib\inc\stm32f10x_can.h 13 | .\output\led.o: .\fwlib\inc\stm32f10x_cec.h 14 | .\output\led.o: .\fwlib\inc\stm32f10x_crc.h 15 | .\output\led.o: .\fwlib\inc\stm32f10x_dac.h 16 | .\output\led.o: .\fwlib\inc\stm32f10x_dbgmcu.h 17 | .\output\led.o: .\fwlib\inc\stm32f10x_dma.h 18 | .\output\led.o: .\fwlib\inc\stm32f10x_exti.h 19 | .\output\led.o: .\fwlib\inc\stm32f10x_flash.h 20 | .\output\led.o: .\fwlib\inc\stm32f10x_fsmc.h 21 | .\output\led.o: .\fwlib\inc\stm32f10x_gpio.h 22 | .\output\led.o: .\fwlib\inc\stm32f10x_i2c.h 23 | .\output\led.o: .\fwlib\inc\stm32f10x_iwdg.h 24 | .\output\led.o: .\fwlib\inc\stm32f10x_pwr.h 25 | .\output\led.o: .\fwlib\inc\stm32f10x_rcc.h 26 | .\output\led.o: .\fwlib\inc\stm32f10x_rtc.h 27 | .\output\led.o: .\fwlib\inc\stm32f10x_sdio.h 28 | .\output\led.o: .\fwlib\inc\stm32f10x_spi.h 29 | .\output\led.o: .\fwlib\inc\stm32f10x_tim.h 30 | .\output\led.o: .\fwlib\inc\stm32f10x_usart.h 31 | .\output\led.o: .\fwlib\inc\stm32f10x_wwdg.h 32 | .\output\led.o: .\fwlib\inc\misc.h 33 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/led.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/led.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/main.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/main.d: -------------------------------------------------------------------------------- 1 | .\output\main.o: user\main.c 2 | .\output\main.o: .\core\stm32f10x.h 3 | .\output\main.o: .\core\core_cm3.h 4 | .\output\main.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | .\output\main.o: .\core\system_stm32f10x.h 6 | .\output\main.o: .\core\stm32f10x_conf.h 7 | .\output\main.o: .\fwlib\inc\stm32f10x_adc.h 8 | .\output\main.o: .\core\stm32f10x.h 9 | .\output\main.o: .\fwlib\inc\stm32f10x_bkp.h 10 | .\output\main.o: .\fwlib\inc\stm32f10x_can.h 11 | .\output\main.o: .\fwlib\inc\stm32f10x_cec.h 12 | .\output\main.o: .\fwlib\inc\stm32f10x_crc.h 13 | .\output\main.o: .\fwlib\inc\stm32f10x_dac.h 14 | .\output\main.o: .\fwlib\inc\stm32f10x_dbgmcu.h 15 | .\output\main.o: .\fwlib\inc\stm32f10x_dma.h 16 | .\output\main.o: .\fwlib\inc\stm32f10x_exti.h 17 | .\output\main.o: .\fwlib\inc\stm32f10x_flash.h 18 | .\output\main.o: .\fwlib\inc\stm32f10x_fsmc.h 19 | .\output\main.o: .\fwlib\inc\stm32f10x_gpio.h 20 | .\output\main.o: .\fwlib\inc\stm32f10x_i2c.h 21 | .\output\main.o: .\fwlib\inc\stm32f10x_iwdg.h 22 | .\output\main.o: .\fwlib\inc\stm32f10x_pwr.h 23 | .\output\main.o: .\fwlib\inc\stm32f10x_rcc.h 24 | .\output\main.o: .\fwlib\inc\stm32f10x_rtc.h 25 | .\output\main.o: .\fwlib\inc\stm32f10x_sdio.h 26 | .\output\main.o: .\fwlib\inc\stm32f10x_spi.h 27 | .\output\main.o: .\fwlib\inc\stm32f10x_tim.h 28 | .\output\main.o: .\fwlib\inc\stm32f10x_usart.h 29 | .\output\main.o: .\fwlib\inc\stm32f10x_wwdg.h 30 | .\output\main.o: .\fwlib\inc\misc.h 31 | .\output\main.o: .\hardware\inc\delay.h 32 | .\output\main.o: .\hardware\inc\usart.h 33 | .\output\main.o: .\hardware\inc\led.h 34 | .\output\main.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 35 | .\output\main.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 36 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/main.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/misc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/misc.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/misc.d: -------------------------------------------------------------------------------- 1 | .\output\misc.o: fwlib\src\misc.c 2 | .\output\misc.o: .\fwlib\inc\misc.h 3 | .\output\misc.o: .\core\stm32f10x.h 4 | .\output\misc.o: .\core\core_cm3.h 5 | .\output\misc.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\output\misc.o: .\core\system_stm32f10x.h 7 | .\output\misc.o: .\core\stm32f10x_conf.h 8 | .\output\misc.o: .\fwlib\inc\stm32f10x_adc.h 9 | .\output\misc.o: .\core\stm32f10x.h 10 | .\output\misc.o: .\fwlib\inc\stm32f10x_bkp.h 11 | .\output\misc.o: .\fwlib\inc\stm32f10x_can.h 12 | .\output\misc.o: .\fwlib\inc\stm32f10x_cec.h 13 | .\output\misc.o: .\fwlib\inc\stm32f10x_crc.h 14 | .\output\misc.o: .\fwlib\inc\stm32f10x_dac.h 15 | .\output\misc.o: .\fwlib\inc\stm32f10x_dbgmcu.h 16 | .\output\misc.o: .\fwlib\inc\stm32f10x_dma.h 17 | .\output\misc.o: .\fwlib\inc\stm32f10x_exti.h 18 | .\output\misc.o: .\fwlib\inc\stm32f10x_flash.h 19 | .\output\misc.o: .\fwlib\inc\stm32f10x_fsmc.h 20 | .\output\misc.o: .\fwlib\inc\stm32f10x_gpio.h 21 | .\output\misc.o: .\fwlib\inc\stm32f10x_i2c.h 22 | .\output\misc.o: .\fwlib\inc\stm32f10x_iwdg.h 23 | .\output\misc.o: .\fwlib\inc\stm32f10x_pwr.h 24 | .\output\misc.o: .\fwlib\inc\stm32f10x_rcc.h 25 | .\output\misc.o: .\fwlib\inc\stm32f10x_rtc.h 26 | .\output\misc.o: .\fwlib\inc\stm32f10x_sdio.h 27 | .\output\misc.o: .\fwlib\inc\stm32f10x_spi.h 28 | .\output\misc.o: .\fwlib\inc\stm32f10x_tim.h 29 | .\output\misc.o: .\fwlib\inc\stm32f10x_usart.h 30 | .\output\misc.o: .\fwlib\inc\stm32f10x_wwdg.h 31 | .\output\misc.o: .\fwlib\inc\misc.h 32 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/misc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/misc.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/startup_stm32f10x_hd.d: -------------------------------------------------------------------------------- 1 | .\output\startup_stm32f10x_hd.o: core\startup\arm\startup_stm32f10x_hd.s 2 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/startup_stm32f10x_hd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/startup_stm32f10x_hd.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_gpio.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_gpio.d: -------------------------------------------------------------------------------- 1 | .\output\stm32f10x_gpio.o: fwlib\src\stm32f10x_gpio.c 2 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_gpio.h 3 | .\output\stm32f10x_gpio.o: .\core\stm32f10x.h 4 | .\output\stm32f10x_gpio.o: .\core\core_cm3.h 5 | .\output\stm32f10x_gpio.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\output\stm32f10x_gpio.o: .\core\system_stm32f10x.h 7 | .\output\stm32f10x_gpio.o: .\core\stm32f10x_conf.h 8 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_adc.h 9 | .\output\stm32f10x_gpio.o: .\core\stm32f10x.h 10 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_bkp.h 11 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_can.h 12 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_cec.h 13 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_crc.h 14 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_dac.h 15 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_dbgmcu.h 16 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_dma.h 17 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_exti.h 18 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_flash.h 19 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_fsmc.h 20 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_gpio.h 21 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_i2c.h 22 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_iwdg.h 23 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_pwr.h 24 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_rcc.h 25 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_rtc.h 26 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_sdio.h 27 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_spi.h 28 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_tim.h 29 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_usart.h 30 | .\output\stm32f10x_gpio.o: .\fwlib\inc\stm32f10x_wwdg.h 31 | .\output\stm32f10x_gpio.o: .\fwlib\inc\misc.h 32 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_gpio.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_it.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_it.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_it.d: -------------------------------------------------------------------------------- 1 | .\output\stm32f10x_it.o: core\stm32f10x_it.c 2 | .\output\stm32f10x_it.o: core\stm32f10x_it.h 3 | .\output\stm32f10x_it.o: core\stm32f10x.h 4 | .\output\stm32f10x_it.o: core\core_cm3.h 5 | .\output\stm32f10x_it.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\output\stm32f10x_it.o: core\system_stm32f10x.h 7 | .\output\stm32f10x_it.o: core\stm32f10x_conf.h 8 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_adc.h 9 | .\output\stm32f10x_it.o: .\core\stm32f10x.h 10 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_bkp.h 11 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_can.h 12 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_cec.h 13 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_crc.h 14 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_dac.h 15 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_dbgmcu.h 16 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_dma.h 17 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_exti.h 18 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_flash.h 19 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_fsmc.h 20 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_gpio.h 21 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_i2c.h 22 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_iwdg.h 23 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_pwr.h 24 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_rcc.h 25 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_rtc.h 26 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_sdio.h 27 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_spi.h 28 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_tim.h 29 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_usart.h 30 | .\output\stm32f10x_it.o: .\fwlib\inc\stm32f10x_wwdg.h 31 | .\output\stm32f10x_it.o: .\fwlib\inc\misc.h 32 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_it.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_rcc.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_rcc.d: -------------------------------------------------------------------------------- 1 | .\output\stm32f10x_rcc.o: fwlib\src\stm32f10x_rcc.c 2 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_rcc.h 3 | .\output\stm32f10x_rcc.o: .\core\stm32f10x.h 4 | .\output\stm32f10x_rcc.o: .\core\core_cm3.h 5 | .\output\stm32f10x_rcc.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\output\stm32f10x_rcc.o: .\core\system_stm32f10x.h 7 | .\output\stm32f10x_rcc.o: .\core\stm32f10x_conf.h 8 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_adc.h 9 | .\output\stm32f10x_rcc.o: .\core\stm32f10x.h 10 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_bkp.h 11 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_can.h 12 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_cec.h 13 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_crc.h 14 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_dac.h 15 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_dbgmcu.h 16 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_dma.h 17 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_exti.h 18 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_flash.h 19 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_fsmc.h 20 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_gpio.h 21 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_i2c.h 22 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_iwdg.h 23 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_pwr.h 24 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_rcc.h 25 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_rtc.h 26 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_sdio.h 27 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_spi.h 28 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_tim.h 29 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_usart.h 30 | .\output\stm32f10x_rcc.o: .\fwlib\inc\stm32f10x_wwdg.h 31 | .\output\stm32f10x_rcc.o: .\fwlib\inc\misc.h 32 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_rcc.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_usart.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_usart.d: -------------------------------------------------------------------------------- 1 | .\output\stm32f10x_usart.o: fwlib\src\stm32f10x_usart.c 2 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_usart.h 3 | .\output\stm32f10x_usart.o: .\core\stm32f10x.h 4 | .\output\stm32f10x_usart.o: .\core\core_cm3.h 5 | .\output\stm32f10x_usart.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\output\stm32f10x_usart.o: .\core\system_stm32f10x.h 7 | .\output\stm32f10x_usart.o: .\core\stm32f10x_conf.h 8 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_adc.h 9 | .\output\stm32f10x_usart.o: .\core\stm32f10x.h 10 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_bkp.h 11 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_can.h 12 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_cec.h 13 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_crc.h 14 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_dac.h 15 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_dbgmcu.h 16 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_dma.h 17 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_exti.h 18 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_flash.h 19 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_fsmc.h 20 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_gpio.h 21 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_i2c.h 22 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_iwdg.h 23 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_pwr.h 24 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_rcc.h 25 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_rtc.h 26 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_sdio.h 27 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_spi.h 28 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_tim.h 29 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_usart.h 30 | .\output\stm32f10x_usart.o: .\fwlib\inc\stm32f10x_wwdg.h 31 | .\output\stm32f10x_usart.o: .\fwlib\inc\misc.h 32 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/stm32f10x_usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stm32f10x_usart.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/stmf10x-demo.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stmf10x-demo.axf -------------------------------------------------------------------------------- /BleUsart_hardware/output/stmf10x-demo.build_log.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/stmf10x-demo.build_log.htm -------------------------------------------------------------------------------- /BleUsart_hardware/output/stmf10x-demo.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M3 2 | ".\output\core_cm3.o" 3 | ".\output\stm32f10x_it.o" 4 | ".\output\system_stm32f10x.o" 5 | ".\output\startup_stm32f10x_hd.o" 6 | ".\output\misc.o" 7 | ".\output\stm32f10x_gpio.o" 8 | ".\output\stm32f10x_rcc.o" 9 | ".\output\stm32f10x_usart.o" 10 | ".\output\delay.o" 11 | ".\output\usart.o" 12 | ".\output\led.o" 13 | ".\output\main.o" 14 | --strict --scatter ".\output\stmf10x-demo.sct" 15 | --summary_stderr --info summarysizes --map --xref --callgraph --symbols 16 | --info sizes --info totals --info unused --info veneers 17 | --list ".\listing\stmf10x-demo.map" -o .\output\stmf10x-demo.axf -------------------------------------------------------------------------------- /BleUsart_hardware/output/stmf10x-demo.sct: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00010000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00010000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00005000 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/system_stm32f10x.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/system_stm32f10x.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/system_stm32f10x.d: -------------------------------------------------------------------------------- 1 | .\output\system_stm32f10x.o: core\system_stm32f10x.c 2 | .\output\system_stm32f10x.o: core\stm32f10x.h 3 | .\output\system_stm32f10x.o: core\core_cm3.h 4 | .\output\system_stm32f10x.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | .\output\system_stm32f10x.o: core\system_stm32f10x.h 6 | .\output\system_stm32f10x.o: core\stm32f10x_conf.h 7 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_adc.h 8 | .\output\system_stm32f10x.o: .\core\stm32f10x.h 9 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_bkp.h 10 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_can.h 11 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_cec.h 12 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_crc.h 13 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_dac.h 14 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_dbgmcu.h 15 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_dma.h 16 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_exti.h 17 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_flash.h 18 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_fsmc.h 19 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_gpio.h 20 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_i2c.h 21 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_iwdg.h 22 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_pwr.h 23 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_rcc.h 24 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_rtc.h 25 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_sdio.h 26 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_spi.h 27 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_tim.h 28 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_usart.h 29 | .\output\system_stm32f10x.o: .\fwlib\inc\stm32f10x_wwdg.h 30 | .\output\system_stm32f10x.o: .\fwlib\inc\misc.h 31 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/system_stm32f10x.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/system_stm32f10x.o -------------------------------------------------------------------------------- /BleUsart_hardware/output/usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/usart.crf -------------------------------------------------------------------------------- /BleUsart_hardware/output/usart.d: -------------------------------------------------------------------------------- 1 | .\output\usart.o: hardware\src\usart.c 2 | .\output\usart.o: .\hardware\inc\usart.h 3 | .\output\usart.o: .\core\stm32f10x.h 4 | .\output\usart.o: .\core\core_cm3.h 5 | .\output\usart.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\output\usart.o: .\core\system_stm32f10x.h 7 | .\output\usart.o: .\core\stm32f10x_conf.h 8 | .\output\usart.o: .\fwlib\inc\stm32f10x_adc.h 9 | .\output\usart.o: .\core\stm32f10x.h 10 | .\output\usart.o: .\fwlib\inc\stm32f10x_bkp.h 11 | .\output\usart.o: .\fwlib\inc\stm32f10x_can.h 12 | .\output\usart.o: .\fwlib\inc\stm32f10x_cec.h 13 | .\output\usart.o: .\fwlib\inc\stm32f10x_crc.h 14 | .\output\usart.o: .\fwlib\inc\stm32f10x_dac.h 15 | .\output\usart.o: .\fwlib\inc\stm32f10x_dbgmcu.h 16 | .\output\usart.o: .\fwlib\inc\stm32f10x_dma.h 17 | .\output\usart.o: .\fwlib\inc\stm32f10x_exti.h 18 | .\output\usart.o: .\fwlib\inc\stm32f10x_flash.h 19 | .\output\usart.o: .\fwlib\inc\stm32f10x_fsmc.h 20 | .\output\usart.o: .\fwlib\inc\stm32f10x_gpio.h 21 | .\output\usart.o: .\fwlib\inc\stm32f10x_i2c.h 22 | .\output\usart.o: .\fwlib\inc\stm32f10x_iwdg.h 23 | .\output\usart.o: .\fwlib\inc\stm32f10x_pwr.h 24 | .\output\usart.o: .\fwlib\inc\stm32f10x_rcc.h 25 | .\output\usart.o: .\fwlib\inc\stm32f10x_rtc.h 26 | .\output\usart.o: .\fwlib\inc\stm32f10x_sdio.h 27 | .\output\usart.o: .\fwlib\inc\stm32f10x_spi.h 28 | .\output\usart.o: .\fwlib\inc\stm32f10x_tim.h 29 | .\output\usart.o: .\fwlib\inc\stm32f10x_usart.h 30 | .\output\usart.o: .\fwlib\inc\stm32f10x_wwdg.h 31 | .\output\usart.o: .\fwlib\inc\misc.h 32 | .\output\usart.o: .\hardware\inc\delay.h 33 | .\output\usart.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 34 | .\output\usart.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 35 | -------------------------------------------------------------------------------- /BleUsart_hardware/output/usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/output/usart.o -------------------------------------------------------------------------------- /BleUsart_hardware/user/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/BleUsart_hardware/user/main.c -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Do something that you think it is helpful ! 2 | -------------------------------------------------------------------------------- /ContanaControl_C#/.vs/ContanaControl/DesignTimeBuild/.dtbcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/.vs/ContanaControl/DesignTimeBuild/.dtbcache -------------------------------------------------------------------------------- /ContanaControl_C#/.vs/ContanaControl/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/.vs/ContanaControl/v14/.suo -------------------------------------------------------------------------------- /ContanaControl_C#/.vs/ContanaControl/v15/Server/sqlite3/db.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/.vs/ContanaControl/v15/Server/sqlite3/db.lock -------------------------------------------------------------------------------- /ContanaControl_C#/.vs/ContanaControl/v15/Server/sqlite3/storage.ide-shm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/.vs/ContanaControl/v15/Server/sqlite3/storage.ide-shm -------------------------------------------------------------------------------- /ContanaControl_C#/.vs/ContanaControl/v15/Server/sqlite3/storage.ide-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/.vs/ContanaControl/v15/Server/sqlite3/storage.ide-wal -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ContanaControl", "ContanaControl\ContanaControl.csproj", "{6C0C422C-096A-4CBC-8E10-E5C6F822F6AA}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {6C0C422C-096A-4CBC-8E10-E5C6F822F6AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {6C0C422C-096A-4CBC-8E10-E5C6F822F6AA}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {6C0C422C-096A-4CBC-8E10-E5C6F822F6AA}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {6C0C422C-096A-4CBC-8E10-E5C6F822F6AA}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.IO.Ports; 7 | 8 | namespace ContanaControl 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | SerialPort port = new SerialPort("COM3", 9600, Parity.None, 8, StopBits.One); 15 | port.Open(); 16 | port.Write("T"); 17 | port.Close(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ContanaControl")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ContanaControl")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("6c0c422c-096a-4cbc-8e10-e5c6f822f6aa")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.exe -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.pdb -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.vshost.exe -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/bin/Debug/ContanaControl.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\OneNET\http\ContanaControl\ContanaControl\bin\Debug\ContanaControl.exe.config 2 | D:\OneNET\http\ContanaControl\ContanaControl\bin\Debug\ContanaControl.exe 3 | D:\OneNET\http\ContanaControl\ContanaControl\bin\Debug\ContanaControl.pdb 4 | D:\OneNET\http\ContanaControl\ContanaControl\obj\Debug\ContanaControl.csprojResolveAssemblyReference.cache 5 | D:\OneNET\http\ContanaControl\ContanaControl\obj\Debug\ContanaControl.exe 6 | D:\OneNET\http\ContanaControl\ContanaControl\obj\Debug\ContanaControl.pdb 7 | D:\OneNET\http\ContanaControl_C#\ContanaControl\bin\Debug\ContanaControl.exe.config 8 | D:\OneNET\http\ContanaControl_C#\ContanaControl\bin\Debug\ContanaControl.exe 9 | D:\OneNET\http\ContanaControl_C#\ContanaControl\bin\Debug\ContanaControl.pdb 10 | D:\OneNET\http\ContanaControl_C#\ContanaControl\obj\Debug\ContanaControl.csprojAssemblyReference.cache 11 | D:\OneNET\http\ContanaControl_C#\ContanaControl\obj\Debug\ContanaControl.csproj.CoreCompileInputs.cache 12 | D:\OneNET\http\ContanaControl_C#\ContanaControl\obj\Debug\ContanaControl.exe 13 | D:\OneNET\http\ContanaControl_C#\ContanaControl\obj\Debug\ContanaControl.pdb 14 | -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.exe -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/ContanaControl.pdb -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /ContanaControl_C#/ContanaControl/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/ContanaControl_C#/ContanaControl/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /IOT_Backend/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 17 | .grunt 18 | 19 | # node-waf configuration 20 | .lock-wscript 21 | 22 | # Compiled binary addons (http://nodejs.org/api/addons.html) 23 | build/Release 24 | 25 | # Dependency directory 26 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 27 | node_modules 28 | -------------------------------------------------------------------------------- /IOT_Backend/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:8.3 2 | 3 | MAINTAINER ZZES-ZVD "renzw@zzes1314.cn" 4 | 5 | RUN npm install -g cnpm --registry=https://registry.npm.taobao.org 6 | 7 | COPY package.json / 8 | RUN cnpm install 9 | 10 | RUN node api.js 11 | RUN node iotTcp.js 12 | 13 | EXPOSE 3000 4001 14 | -------------------------------------------------------------------------------- /IOT_Backend/LICENSE: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2017 ZZES 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | 15 | -------------------------------------------------------------------------------- /IOT_Backend/README.md: -------------------------------------------------------------------------------- 1 | # nodeiot 2 | -------------------------------------------------------------------------------- /IOT_Backend/autofood.js: -------------------------------------------------------------------------------- 1 | var mysql = require('mysql'); 2 | var schedule = require('node-schedule'); 3 | 4 | var conn = mysql.createConnection({ 5 | host:'localhost', 6 | user:'root', 7 | password:'123456', 8 | database:'nodemysql', 9 | port:3306 10 | }); 11 | 12 | conn.connect(); 13 | 14 | conn.query('select * from autofood',function(err,rows,fields){ 15 | var i = rows.length; 16 | var tem = rows[i-1].type; 17 | console.log(tem); 18 | switch(tem){ 19 | case 1: 20 | console.log("type1"); 21 | var j =schedule.scheduleJob('12 * * * ',function(){ 22 | var post = {status:1}; 23 | conn.query('INSERT INTO status SET ?', post ,function(error,result,fields){ 24 | if(error) throw error; 25 | }); 26 | }); 27 | break; 28 | case 2: 29 | console.log("type2"); 30 | var j =schedule.scheduleJob('9 * * * ',function(){ 31 | var post = {status:1}; 32 | conn.query('INSERT INTO status SET ?', post ,function(error,result,fields){ 33 | if(error) throw error; 34 | }); 35 | }); 36 | var k =schedule.scheduleJob('15 * * * ',function(){ 37 | var post = {status:1}; 38 | conn.query('INSERT INTO status SET ?', post ,function(error,result,fields){ 39 | if(error) throw error; 40 | }); 41 | }); 42 | break; 43 | case 3: 44 | console.log("type3"); 45 | var j =schedule.scheduleJob('8 * * * ',function(){ 46 | var post = {status:1}; 47 | conn.query('INSERT INTO status SET ?', post ,function(error,result,fields){ 48 | if(error) throw error; 49 | }); 50 | }); 51 | var k =schedule.scheduleJob('12 * * *',function(){ 52 | var post = {status:1}; 53 | conn.query('INSERT INTO status SET ?', post ,function(error,result,fields){ 54 | if(error) throw error; 55 | }); 56 | }); 57 | var l =schedule.scheduleJob('18 * * * ',function(){ 58 | var post = {status:1}; 59 | conn.query('INSERT INTO status SET ?', post ,function(error,result,fields){ 60 | if(error) throw error; 61 | }); 62 | }); 63 | break; 64 | default: 65 | console.log("error"); 66 | break; 67 | } 68 | }) -------------------------------------------------------------------------------- /IOT_Backend/autofoodv4.js: -------------------------------------------------------------------------------- 1 |  var mysql = require('mysql') //mysql模块 2 | var schedule = require('node-schedule'); 3 | // 数据库配置 4 | var conn = mysql.createConnection({ 5 | host: '119.29.201.31', 6 | user: 'root', 7 | password: '123456', 8 | database: 'nodemysql', 9 | port: 3306 10 | }); 11 | //连接数据库 12 | conn.connect(); 13 | // 初始化全局变量 14 | var hour, minute, second; 15 | 16 | conn.query("SELECT * FROM autofood ORDER BY id DESC LIMIT 1", function(err, rows, fields) { 17 | // console.log(rows[0]) 18 | hour = rows[0].hour 19 | minute = rows[0].minute 20 | second = rows[0].second 21 | scheduleRecurrenceRule(rows[0]) 22 | }) 23 | 24 | //定时轮询数据库设置的时间 25 | var defaulttime = new schedule.RecurrenceRule(); 26 | defaulttime.second = 0; 27 | schedule.scheduleJob(defaulttime, function() { 28 | conn.query("SELECT * FROM autofood ORDER BY id DESC LIMIT 1", function(err, rows, fields) { 29 | // console.log(rows[0]) 30 | if (hour !== rows[0].hour || minute !== rows[0].minute || second !== rows[0].second) { 31 | j.cancel() 32 | hour = rows[0].hour 33 | minute = rows[0].minute 34 | second = rows[0].second 35 | scheduleRecurrenceRule(rows[0]) 36 | } else { 37 | //do not do sth 38 | console.log("no change , go on") 39 | } 40 | }) 41 | }) 42 | 43 | // 定时发送配置 44 | var j 45 | 46 | function scheduleRecurrenceRule(time) { 47 | var rule = new schedule.RecurrenceRule(); 48 | rule.hour = time.hour; 49 | rule.minute = time.minute; 50 | rule.second = time.second; 51 | console.log(rule) 52 | j = schedule.scheduleJob(rule, function() { 53 | console.log('scheduleRecurrenceRule:' + new Date()); 54 | getData(); 55 | }) 56 | } 57 | 58 | 59 | //存入开启命令 60 | function getData() { 61 | conn.query('INSERT INTO status SET ?', { "status": 1 }, function(err, rows, fields) { 62 | if (error) throw error; 63 | }) 64 | } -------------------------------------------------------------------------------- /IOT_Backend/img/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Backend/img/0.png -------------------------------------------------------------------------------- /IOT_Backend/img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Backend/img/1.png -------------------------------------------------------------------------------- /IOT_Backend/img/f0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Backend/img/f0.jpg -------------------------------------------------------------------------------- /IOT_Backend/img/f1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Backend/img/f1.gif -------------------------------------------------------------------------------- /IOT_Backend/newSocket.js: -------------------------------------------------------------------------------- 1 | var app = require('http').createServer() 2 | var io = require('socket.io')(app) 3 | var redis = require('redis') 4 | var redisClient = redis.createClient({ 5 | host: 'localhost', 6 | port: 6379 7 | }) 8 | 9 | app.listen(5000) 10 | 11 | 12 | redisClient.on('ready', function() { 13 | io.on('connection', function(socket) { 14 | function getData(){ 15 | redisClient.get("hum", function(err, reply) { 16 | console.log("get hum :" + reply) 17 | socket.emit('hum', reply) 18 | }) 19 | redisClient.get("tem",function(err, reply){ 20 | console.log("get tem :"+reply) 21 | socket.emit('tem', reply) 22 | }) 23 | redisClient.get("indoor",function(err, reply){ 24 | console.log("get indoor :"+reply) 25 | socket.emit('indoor', reply) 26 | }) 27 | redisClient.get("feng",function(err, reply){ 28 | console.log("get feng :"+reply) 29 | socket.emit('feng', reply) 30 | }) 31 | } 32 | setInterval(function(){ 33 | getData() 34 | }, 10000) 35 | }) 36 | 37 | }) 38 | -------------------------------------------------------------------------------- /IOT_Backend/newTcp.js: -------------------------------------------------------------------------------- 1 | var net = require('net') 2 | var mysql = require('mysql') 3 | var redis = require('redis') 4 | 5 | // 配置数据库 6 | var conn = mysql.createConnection({ 7 | host: 'localhost', 8 | user: '', 9 | password: '', 10 | database: '', 11 | port: 3306 12 | }); 13 | // 连接数据库 14 | conn.connect(); 15 | 16 | // 连接Redis 17 | var redisClient = redis.createClient({ 18 | host: 'localhost', 19 | port: 6379 20 | }); 21 | 22 | net.createServer(function(socket) { 23 | socket.on('data', function(data) { 24 | conn.query('SELECT * FROM status',function(err,rows,fields){ 25 | if (rows[rows.length-1].status == 1) { 26 | socket.write("1"); 27 | // time = new Date().toLocaleString(); 28 | conn.query('INSERT INTO status SET ?',{"status":"0"},function(error,result,fields){ 29 | if (error) throw error; 30 | }) 31 | }else{ 32 | socket.write("0"); 33 | } 34 | }) 35 | // tem hum indoor feng 36 | var text = JSON.parse(data.toString()); 37 | console.log(text) 38 | var arr = {} 39 | arr.tem = text.temperature; 40 | arr.hum = text.humidity; 41 | arr.feng = text.Fengshan; 42 | arr.indoor = text.Yellow_Led; 43 | conn.query('INSERT INTO pet SET ?', arr, function(error, result, fields) { 44 | if (error) throw error; 45 | }) 46 | console.log(arr) 47 | redisClient.set("tem", arr.tem, function(err, reply) { 48 | console.log("set tem error:" + err); 49 | }) 50 | redisClient.expire('tem', 5000); //10秒后到期 51 | 52 | redisClient.set("hum", arr.hum, function(err, reply) { 53 | console.log("set hum error:" + err); 54 | }) 55 | redisClient.expire('hum', 5000); //10秒后到期 56 | 57 | redisClient.set("indoor", arr.indoor, function(err, reply) { 58 | console.log("set indoor error:" + err); 59 | }) 60 | redisClient.expire('indoor', 5000); //10秒后到期 61 | 62 | redisClient.set("feng", arr.feng, function(err, reply) { 63 | console.log("set feng error:" + err); 64 | }) 65 | redisClient.expire('', 5000); //10秒后到期 66 | }) 67 | socket.on('end', function(data) { 68 | console.log('end'); 69 | }) 70 | socket.write('ready to receive your msg') 71 | }).listen(4001); 72 | -------------------------------------------------------------------------------- /IOT_Backend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node_server", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "mysqltest.js", 6 | "dependencies": { 7 | "echarts": "^3.4.0", 8 | "emailjs": "^1.0.8", 9 | "express": "^4.15.2", 10 | "mysql": "^2.13.0", 11 | "node-schedule": "^1.2.1", 12 | "redis": "^2.8.0", 13 | "socket.io": "^2.0.3" 14 | }, 15 | "devDependencies": {}, 16 | "scripts": { 17 | "test": "echo \"Error: no test specified\" && exit 1" 18 | }, 19 | "author": "", 20 | "license": "ISC" 21 | } 22 | -------------------------------------------------------------------------------- /IOT_Backend/public/swagger-ui-bundle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui-bundle.js","sources":["webpack:///swagger-ui-bundle.js"],"mappings":"AAAA;AAu/FA;AA6+FA;;;;;;;;;;;;;;;;;;;;;;;;;;AAsdA;;;;;;AAoIA;AAk7FA;AAmtCA;;;;;AA0uIA;AAq7IA;AAo7FA;AA0wGA;AAglFA;AA0jFA;AAq9CA;AA6jDA;AAgrCA;AAgtEA;AAgkIA;;;;;;;;;;;;;;AAw4GA;AAyoIA;AAiuJA;AA8kHA;AAonGA;AAukEA;AA02DA;AAyxDA;AAm+BA;;;;;;AAmsEA;AA2zFA;;;;;AA+1CA;AA2qFA;AAo2CA;AAokCA;AAkhDA;AAwvEA;AAs+FA;;;;;;;;;AA+xBA;AA2zIA;AAg4DA;AA0vDA","sourceRoot":""} -------------------------------------------------------------------------------- /IOT_Backend/public/swagger-ui-standalone-preset.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui-standalone-preset.js","sources":["webpack:///swagger-ui-standalone-preset.js"],"mappings":"AAAA;;;;;AAqTA;AAyiGA","sourceRoot":""} -------------------------------------------------------------------------------- /IOT_Backend/public/swagger-ui.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui.css","sources":[],"mappings":"","sourceRoot":""} -------------------------------------------------------------------------------- /IOT_Backend/public/swagger-ui.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;AAsoGA;AAy4HA;AA+7FA;AA2mCA;AAw/BA;AA2hCA;AAs5BA","sourceRoot":""} -------------------------------------------------------------------------------- /IOT_Frontend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /IOT_Frontend/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 zzes 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /IOT_Frontend/README.md: -------------------------------------------------------------------------------- 1 | # 治电物联网前端 -------------------------------------------------------------------------------- /IOT_Frontend/apiTest.html: -------------------------------------------------------------------------------- 1 |
2 |

API测试专用页面

3 |
4 | 5 |
6 |
7 | 8 |
9 | 10 |
11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 |
19 | 20 |
21 | 22 |
23 | 24 |
-------------------------------------------------------------------------------- /IOT_Frontend/css/mycss/apiTest.css: -------------------------------------------------------------------------------- 1 | .apiTestPage { 2 | padding: 20px; 3 | text-align: center; 4 | } 5 | 6 | .apiTestPage .header { 7 | margin-bottom: 20px; 8 | border-bottom: 2px solid #d4d4d4; 9 | padding: 20px; 10 | } 11 | 12 | .apiTestPage #url-input { 13 | text-align: center; 14 | font-size: 16px; 15 | margin-bottom: 20px; 16 | } 17 | 18 | .apiTestPage .btnBlock { 19 | padding-top: 80px; 20 | padding-bottom: 80px; 21 | } 22 | 23 | .apiTestPage .bodyArea { 24 | margin-bottom: 20px; 25 | } 26 | 27 | .apiTestPage .bodyArea2 { 28 | margin-top: 20px; 29 | } 30 | 31 | .apiTestPage .reqbody { 32 | display: block; 33 | height: 200px; 34 | padding: 6px 12px; 35 | font-size: 14px; 36 | line-height: 1.42857143; 37 | color: #555; 38 | background-color: #fff; 39 | background-image: none; 40 | border: 1px solid #ccc; 41 | border-radius: 4px; 42 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 43 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 44 | -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; 45 | -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 46 | transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 47 | } -------------------------------------------------------------------------------- /IOT_Frontend/css/mycss/historydata.css: -------------------------------------------------------------------------------- 1 | .select-page { 2 | float: right; 3 | margin-top: -41px; 4 | } 5 | 6 | .export { 7 | float: right; 8 | margin-top: -45px; 9 | margin-right: 230px; 10 | } 11 | 12 | #historydataCtrl>a { 13 | color: #fff; 14 | } 15 | 16 | .thepageChange { 17 | cursor: pointer; 18 | } 19 | 20 | #mapcontainer { 21 | /*margin-top: -20px;*/ 22 | /*width: 100%;*/ 23 | height: 350px; 24 | } -------------------------------------------------------------------------------- /IOT_Frontend/css/mycss/home.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | } 5 | 6 | html, 7 | body { 8 | width: 100%; 9 | height: 100%; 10 | } 11 | 12 | #background-video { 13 | position: absolute; 14 | top: 0; 15 | left: 0; 16 | width: 100%; 17 | height: 100%; 18 | z-index: -1000; 19 | } 20 | 21 | #home-carousel { 22 | text-align: center; 23 | } 24 | 25 | #home-carousel #text { 26 | border: 1px solid #d4d4d4; 27 | } 28 | 29 | #home-carousel #device { 30 | margin-top: 10%; 31 | } -------------------------------------------------------------------------------- /IOT_Frontend/css/mycss/index.css: -------------------------------------------------------------------------------- 1 | a { 2 | color: black; 3 | } 4 | 5 | a:hover { 6 | text-decoration: none; 7 | } 8 | 9 | #nav-bottom { 10 | margin-bottom: 0; 11 | } 12 | 13 | table th, 14 | table td { 15 | text-align: center; 16 | } -------------------------------------------------------------------------------- /IOT_Frontend/css/mycss/realdata.css: -------------------------------------------------------------------------------- 1 | .real-data-charts { 2 | height: 350px; 3 | width: 100%; 4 | } 5 | 6 | .indoorimg { 7 | /*margin-bottom: 200px;*/ 8 | margin-top: 40px; 9 | } 10 | 11 | .indoorimg img, 12 | .indoorimg h4 { 13 | width: 67%; 14 | display: none; 15 | } 16 | 17 | .indoorimg h4 { 18 | float: right; 19 | } 20 | 21 | .indoorimg .doorimg { 22 | margin-left: 75px; 23 | } 24 | 25 | .feng .fengimg { 26 | width: 26%; 27 | margin-left: 250px; 28 | } 29 | 30 | .indoorimg .imgactive { 31 | display: block; 32 | } -------------------------------------------------------------------------------- /IOT_Frontend/css/mycss/time.css: -------------------------------------------------------------------------------- 1 | #timeCtrl { 2 | padding: 20px; 3 | } 4 | 5 | .card { 6 | border: 1px solid #d4d4d4; 7 | border-radius: 10px 10px; 8 | height: 500px; 9 | } 10 | 11 | .card header { 12 | text-align: center; 13 | border-bottom: 1px solid #d4d4d4; 14 | } 15 | 16 | .card section img { 17 | width: 100%; 18 | height: 200px; 19 | height: 324px; 20 | margin-top: 20px; 21 | margin-bottom: 20px; 22 | } 23 | 24 | .card #time { 25 | text-align: center; 26 | } 27 | 28 | .card button { 29 | margin-top: 36px; 30 | } -------------------------------------------------------------------------------- /IOT_Frontend/font/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/font/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /IOT_Frontend/font/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/font/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /IOT_Frontend/font/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/font/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /IOT_Frontend/font/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/font/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /IOT_Frontend/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var concat = require('gulp-concat'); 3 | var browserSync = require('browser-sync').create(); 4 | var uglifyjs = require("uglify-js"); 5 | var minifycss = require('gulp-minify-css'); 6 | 7 | // 将task集合在一起 使用gulp命令即可运行 8 | gulp.task('default', ['browserSync', 'watch']) 9 | 10 | // 浏览器同步插件初始化 11 | gulp.task('browserSync', function() { 12 | browserSync.init({ 13 | // 路径 14 | server: { 15 | baseDir: './' 16 | }, 17 | port: 3010 18 | }) 19 | }) 20 | 21 | //打包css 22 | gulp.task('minifycss', function() { 23 | return gulp.src('resources/mystyle/mycss/*.css') 24 | .pipe(concat('main.css')) 25 | .pipe(minifycss()) 26 | .pipe(gulp.dest('resources/mystyle/')) 27 | }) 28 | 29 | // 打包控制器 30 | gulp.task('otherpage', function() { 31 | gulp.src('js/otherpage/*.js') 32 | .pipe(concat('controller.js')) 33 | .pipe(gulp.dest('js/otherpage/')) 34 | }) 35 | 36 | 37 | // 监听js,css,html的变化,而重新加载浏览器 38 | gulp.task('watch', function() { 39 | gulp.watch('js/otherpage/*.js', ['otherpage']); 40 | gulp.watch(['js/otherpage/*.js', 'js/myjs/*.js', 'js/*.js'], browserSync.reload); 41 | gulp.watch(['css/mycss/*.css'], browserSync.reload); 42 | gulp.watch(['*.html', 'apiTestComponent/*.html'], browserSync.reload); 43 | }) -------------------------------------------------------------------------------- /IOT_Frontend/home.html: -------------------------------------------------------------------------------- 1 |
2 | 22 |
-------------------------------------------------------------------------------- /IOT_Frontend/img/aczj.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/aczj.jpg -------------------------------------------------------------------------------- /IOT_Frontend/img/ff0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/ff0.jpg -------------------------------------------------------------------------------- /IOT_Frontend/img/ff1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/ff1.gif -------------------------------------------------------------------------------- /IOT_Frontend/img/giveFood.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/giveFood.gif -------------------------------------------------------------------------------- /IOT_Frontend/img/indoor0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/indoor0.png -------------------------------------------------------------------------------- /IOT_Frontend/img/indoor1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/indoor1.png -------------------------------------------------------------------------------- /IOT_Frontend/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/logo.png -------------------------------------------------------------------------------- /IOT_Frontend/img/msg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/msg.gif -------------------------------------------------------------------------------- /IOT_Frontend/img/qrcode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/qrcode.jpg -------------------------------------------------------------------------------- /IOT_Frontend/img/time.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/IOT_Frontend/img/time.gif -------------------------------------------------------------------------------- /IOT_Frontend/js/myjs/indexApp.js: -------------------------------------------------------------------------------- 1 | var app = angular.module("indexApp", ['ui.router']) -------------------------------------------------------------------------------- /IOT_Frontend/js/myjs/indexCtrl.js: -------------------------------------------------------------------------------- 1 | app.controller("indexCtrl", function($state, $scope, $http, $log) { 2 | //申请通知权限 3 | Notification.requestPermission() 4 | 5 | /** 6 | * 判断是否登陆 7 | */ 8 | // $scope.checkLogin = function() { 9 | // if (localStorage.getItem("access")) { 10 | // console.log("welcome") 11 | // } else { 12 | // alert("请登录!0.0") 13 | // window.location.href = 'login.html' 14 | // } 15 | // } 16 | 17 | /** 18 | * 分页函数 19 | * 传入数据数组 20 | */ 21 | $scope.setPage = function(databody) { 22 | $scope.pageSize = 6; 23 | $scope.pages = Math.ceil(databody.length / $scope.pageSize); //分页数 24 | $scope.newPages = $scope.pages > $scope.pageSize ? $scope.pageSize : $scope.pages; 25 | $scope.pageList = []; 26 | $scope.selPage = 1; 27 | // 设置表格数据源 28 | $scope.setData = function() { 29 | // 通过当前页数筛选出表格当前显示数据 30 | $scope.items = databody.slice(($scope.pageSize * ($scope.selPage - 1)), ($scope.selPage * $scope.pageSize)) 31 | } 32 | $scope.items = databody.slice(0, $scope.pageSize); 33 | // 分页数组 34 | for (var i = 0; i < $scope.newPages; i++) { 35 | $scope.pageList.push(i + 1); 36 | } 37 | // 打印当前选中页的索引 38 | $scope.selectPage = function(page) { 39 | // 不能小于1,大于最大值 40 | if (page < 1 || page > $scope.pages) return; 41 | // 最多显示5个分页 42 | if (page > 2) { 43 | // 因为只显示5个页数,大于2页开始分页转换 44 | var newPageList = []; 45 | for (var i = (page - 3); i < ((page + 2) > $scope.pages ? $scope.pages : (page + 2)); i++) { 46 | newPageList.push(i + 1); 47 | } 48 | $scope.pageList = newPageList; 49 | } 50 | $scope.selPage = page; 51 | $scope.setData(); 52 | $scope.isActivePage(page); 53 | // $log.log("选择的页:" + page); 54 | }; 55 | // 设置选中页样式 56 | $scope.isActivePage = function(page) { 57 | return $scope.selPage == page; 58 | }; 59 | // 上一页点击事件 60 | $scope.Previous = function() { 61 | $scope.selectPage($scope.selPage - 1); 62 | } 63 | // 下一页点击事件 64 | $scope.Next = function() { 65 | $scope.selectPage($scope.selPage + 1); 66 | } 67 | } 68 | }) -------------------------------------------------------------------------------- /IOT_Frontend/js/myjs/indexFilter.js: -------------------------------------------------------------------------------- 1 | app.filter("indoorFilter", function() { 2 | return function(indoor) { 3 | if (indoor === 1) { 4 | return "在屋内" 5 | } else { 6 | return "不在屋内" 7 | } 8 | } 9 | }) 10 | 11 | app.filter("fengFilter", function() { 12 | return function(feng) { 13 | if (feng === 0) { 14 | return "风扇打开" 15 | } else { 16 | return "风扇关闭" 17 | } 18 | } 19 | }) 20 | 21 | app.filter("timeFilter", function() { 22 | return function(time) { 23 | return new Date(time).toLocaleString() 24 | } 25 | }) 26 | -------------------------------------------------------------------------------- /IOT_Frontend/js/myjs/indexRouter.js: -------------------------------------------------------------------------------- 1 | app.config(function($stateProvider, $urlRouterProvider) { 2 | $stateProvider 3 | //主页路由 4 | .state("index", { 5 | url: '/', 6 | templateUrl: "home.html" 7 | }) 8 | 9 | //实时数据路由 10 | .state("real", { 11 | url: '/real', 12 | templateUrl: "realdata.html" 13 | }) 14 | 15 | //历史数据路由 16 | .state("history", { 17 | url: '/history', 18 | templateUrl: "historydata.html" 19 | }) 20 | 21 | //定时路由 22 | .state("time", { 23 | url: '/time', 24 | templateUrl: "time.html" 25 | }) 26 | 27 | //api测试页面路由 28 | .state("apiTest", { 29 | url: '/apiTest', 30 | templateUrl: "apiTest.html" 31 | }) 32 | 33 | $urlRouterProvider.otherwise('/'); 34 | }) -------------------------------------------------------------------------------- /IOT_Frontend/js/myjs/loginApp.js: -------------------------------------------------------------------------------- 1 | var loginApp = angular.module("loginApp", []) -------------------------------------------------------------------------------- /IOT_Frontend/js/otherpage/historydataCtrl.js: -------------------------------------------------------------------------------- 1 | app.controller("historydataCtrl", function($scope, $http, $log) { 2 | var rooturl = "http://119.28.84.27:3000" 3 | // $scope.checkLogin() 4 | var map = new AMap.Map('mapcontainer', { 5 | resizeEnable: true, 6 | zoom: 30, 7 | center: [118.310948, 32.274839] 8 | }); 9 | marker = new AMap.Marker({ 10 | icon: "http://webapi.amap.com/theme/v1.3/markers/n/mark_b.png", 11 | position: [118.310948, 32.274839] 12 | }); 13 | marker.setMap(map); 14 | 15 | //请求所有数据 16 | var alldataUrl = rooturl + "/alldata" 17 | $http({ 18 | method: "get", 19 | url: alldataUrl, 20 | headers: { 21 | "content-type": "application/json" 22 | } 23 | }).then(function(req) { 24 | $scope.alldatas = req.data 25 | // 设置分页相关数据 26 | $scope.setPage($scope.alldatas) 27 | }) 28 | 29 | //请求数据的平均值 30 | var avgdataUrl = rooturl + "/avgdata" 31 | $http({ 32 | method: "get", 33 | url: avgdataUrl, 34 | headers: { 35 | "content-type": "application/json" 36 | } 37 | }).then(function(req) { 38 | $log.log(req) 39 | $scope.temavg = req.data.temavg 40 | $scope.humavg = req.data.humavg 41 | }) 42 | 43 | //请求喂食次数 44 | var eattimesUrl = rooturl + "/eattimes" 45 | $http({ 46 | method: "get", 47 | url: eattimesUrl, 48 | headers: { 49 | "content-type": "application/json" 50 | } 51 | }).then(function(req) { 52 | $scope.eattimes = req.data.eattimes 53 | }) 54 | 55 | //更新离屋数据 56 | $http({ 57 | method: "get", 58 | url: rooturl + "/update" 59 | }).then(function(req) { 60 | 61 | }) 62 | 63 | //离屋分析 64 | $http({ 65 | method: "get", 66 | url: rooturl + "/getIndoorAnalysis", 67 | headers: { 68 | "content-type": "application/json" 69 | } 70 | }).then(function(req) { 71 | $log.log(req.data[0]) 72 | $scope.data = req.data[0] 73 | 74 | // $scope.d08 = req.data[0].d08 75 | // $scope.d912 = req.data[0].d912 76 | // $scope.d1318 = req.data[0].d1318 77 | // $scope.d1923 = req.data[0].d1923 78 | }) 79 | 80 | 81 | }) -------------------------------------------------------------------------------- /IOT_Frontend/js/otherpage/homeCtrl.js: -------------------------------------------------------------------------------- 1 | app.controller("homeCtrl", function($scope, $log, $http) { 2 | 3 | }) -------------------------------------------------------------------------------- /IOT_Frontend/js/otherpage/realdataCtrl.js: -------------------------------------------------------------------------------- 1 | app.controller("realdataCtrl", function($scope, $log, $http) { 2 | // $scope.checkLogin() 3 | var socket = io('http://119.28.84.27:5000') 4 | socket.on('indoor', function(data) { 5 | console.log("indoor:" + data) 6 | 7 | if (data == 0) { 8 | $(".doorimg").removeClass("imgactive") 9 | $("#outimg").addClass("imgactive") 10 | } else { 11 | $(".doorimg").removeClass("imgactive") 12 | $("#inimg").addClass("imgactive") 13 | } 14 | }) 15 | socket.on('feng', function(data) { 16 | console.log("feng:" + data) 17 | 18 | if (data == 1) { 19 | $(".fengimg").removeClass("imgactive") 20 | $("#fengoff").addClass("imgactive") 21 | } else { 22 | $(".fengimg").removeClass("imgactive") 23 | $("#fengon").addClass("imgactive") 24 | } 25 | }) 26 | }) -------------------------------------------------------------------------------- /IOT_Frontend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zzes", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "klren", 10 | "license": "ISC", 11 | "devDependencies": { 12 | "browser-sync": "^2.18.13", 13 | "gulp": "^3.9.1", 14 | "gulp-babel": "^6.1.2", 15 | "gulp-concat": "^2.6.1", 16 | "gulp-minify-css": "^1.2.4", 17 | "gulp-uglify": "^3.0.0", 18 | "uglify-es": "^3.0.27" 19 | }, 20 | "dependencies": {} 21 | } -------------------------------------------------------------------------------- /IOT_Frontend/realdata.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 |
7 | 8 | 9 |
10 |
11 | statusimg 12 | statusimg 13 |
14 | 15 |
16 | statusimg 17 | statusimg 18 |
19 | 20 | 21 |
-------------------------------------------------------------------------------- /IOT_Frontend/time.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |

喂食控制

5 |
6 |
7 | givefood 8 | 11 |
12 |
13 |
14 |
15 |

定时喂食

16 |
17 |
18 | time2food 19 |
20 | 21 | 22 | 23 |
24 | 27 |
28 |
29 |
30 |
31 |

定时通知

32 |
33 |
34 | msg 35 |
36 | 37 | 38 | 39 |
40 | 43 |
44 |
45 |
-------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 治电科技 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MaibuControl/OUT.MAI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/OUT.MAI -------------------------------------------------------------------------------- /MaibuControl/appinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "uuid": "fecdb1c5cfc508ff94296c6825cc1605", 3 | "name": "远程控制", 4 | "icon": "IMAGE_ICON", 5 | "version": "1.1.4", 6 | "watchface": "false", 7 | "sysapp": "2", 8 | "resources": [ 9 | { 10 | "type": "bmp", 11 | "name": "IMAGE_ICON", 12 | "file": "counter_icon.bmp" 13 | }, 14 | { 15 | "type": "bmp", 16 | "name": "RES_BITMAP_WATCHAPP_COUNTER_BG", 17 | "file": "counter_bg.bmp" 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /MaibuControl/resources/files/temp.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/files/temp.data -------------------------------------------------------------------------------- /MaibuControl/resources/fonts/ASCII_10.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/fonts/ASCII_10.bin -------------------------------------------------------------------------------- /MaibuControl/resources/fonts/ASCII_12.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/fonts/ASCII_12.bin -------------------------------------------------------------------------------- /MaibuControl/resources/images/counter_bg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/images/counter_bg.bmp -------------------------------------------------------------------------------- /MaibuControl/resources/images/counter_bg20160101.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/images/counter_bg20160101.bmp -------------------------------------------------------------------------------- /MaibuControl/resources/images/counter_bg_20160121.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/images/counter_bg_20160121.bmp -------------------------------------------------------------------------------- /MaibuControl/resources/images/counter_icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/images/counter_icon.bmp -------------------------------------------------------------------------------- /MaibuControl/resources/images/old_counter_icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuControl/resources/images/old_counter_icon.bmp -------------------------------------------------------------------------------- /MaibuControl/watchapp_counter.h: -------------------------------------------------------------------------------- 1 | #ifndef _MAIBU_RES_H 2 | #define _MAIBU_RES_H 3 | #define IMAGE_ICON 5001 4 | #define RES_BITMAP_WATCHAPP_COUNTER_BG 5002 5 | #endif 6 | -------------------------------------------------------------------------------- /MaibuView/v1/OUT.MAI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v1/OUT.MAI -------------------------------------------------------------------------------- /MaibuView/v1/appinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "uuid": "fbc6186f337ebcb16b15e108f3965d75", 3 | "name": "温湿度监测", 4 | "icon": "IMAGE_ICON", 5 | "version": "0.0.1", 6 | "watchface": "true", 7 | "resources": [ 8 | { 9 | "type": "bmp", 10 | "name": "PIC_BG", 11 | "file": "bg.bmp" 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /MaibuView/v1/resources/images/bg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v1/resources/images/bg.bmp -------------------------------------------------------------------------------- /MaibuView/v1/resources/images/underline.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v1/resources/images/underline.bmp -------------------------------------------------------------------------------- /MaibuView/v2/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MaibuView/v2/OUT.MAI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v2/OUT.MAI -------------------------------------------------------------------------------- /MaibuView/v2/README.md: -------------------------------------------------------------------------------- 1 | # watch_pet 2 | Maibu view for pethoust 3 | -------------------------------------------------------------------------------- /MaibuView/v2/appinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "uuid": "fbc6186f337ebcb16b15e108f3965d75", 3 | "name": "温湿度监测", 4 | "icon": "IMAGE_ICON", 5 | "version": "0.1.1", 6 | "watchface": "true", 7 | "resources": [ 8 | { 9 | "type": "bmp", 10 | "name": "PIC_BG", 11 | "file": "bg.bmp" 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /MaibuView/v2/resources/images/bg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v2/resources/images/bg.bmp -------------------------------------------------------------------------------- /MaibuView/v2/resources/images/bg1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v2/resources/images/bg1.bmp -------------------------------------------------------------------------------- /MaibuView/v2/resources/images/underline.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/MaibuView/v2/resources/images/underline.bmp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fklren0312%2Fstm32_wifi.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fklren0312%2Fstm32_wifi?ref=badge_shield) 2 | 3 | 4 | 使用的器件: 5 | 6 | - STM32F103CBT6 单片机 7 | - ESP8266-01S wifi模块 8 | - SHT20温湿度 9 | - BT05蓝牙模块 10 | - 反射式红外 11 | - 麦步手表 12 | - S3010舵机 13 | 14 | 15 | 使用的Node.js服务端: 16 | 17 | - net 18 | - express 19 | - mysql 20 | - socket.io 21 | - redis 22 | 23 | 24 | 文章列表: 25 | 26 | - [搭建简易的物联网服务端和客户端-目录](https://www.jianshu.com/p/65fffb503ecb) 27 | 28 | ## License 29 | [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fklren0312%2Fstm32_wifi.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fklren0312%2Fstm32_wifi?ref=badge_large) -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Devices/hal_i2c.h: -------------------------------------------------------------------------------- 1 | #ifndef __Hal_I2C_H 2 | #define __Hal_I2C_H 3 | 4 | #include "stm32f10x.h" 5 | 6 | /** 7 | * @brief I2C 使用的GPIO配置 8 | * @param I2Cx:选择I2C接口,I2C1,I2C2 9 | * @retval None 10 | **/ 11 | void GPIO_I2C_Configuration(I2C_TypeDef* I2Cx); 12 | 13 | /** 14 | * @brief I2C控制器配置 15 | * @param I2Cx:选择I2C接口,I2C1,I2C2 16 | * @retval None 17 | **/ 18 | void I2C_Configuration(I2C_TypeDef* I2Cx); 19 | 20 | /** 21 | * @brief 初始化所使用的I2C接口 22 | * @param None 23 | * @retval None 24 | **/ 25 | void Hal_I2C_Init(void); 26 | 27 | /** 28 | * @brief 用户自行实现,用于检测I2C设备是否准备好,否则继续调用I2C可能会陷入死循环或其他错误状态 29 | * @param None 30 | * @retval None 31 | **/ 32 | void Check_I2C_Device_Ready(void); 33 | 34 | /** 35 | * @brief I2C写数据 36 | * @param I2Cx:I2C1,I2C2,选择接口号 37 | * @param i2c_slave_addr:从设备地址 38 | * @param RegAddr:需要写入数据的寄存器地址 39 | * @param data:需要写入的寄存器值 40 | * @retval ret:0,操作成功,-1,失败 41 | **/ 42 | int8_t Hal_I2C_ByteWrite(I2C_TypeDef* I2Cx,uint16_t i2c_slave_addr, uint8_t RegAddr,uint8_t *data); 43 | 44 | /** 45 | * @brief I2C读数据 46 | * @param I2Cx:I2C1,I2C2,选择接口号 47 | * @param i2c_slave_addr:从设备地址 48 | * @param RegAddr:需要读取数据的寄存器地址 49 | * @param val:保存I2C读取返回值 50 | * @retval ret:0,操作成功,-1,失败 51 | **/ 52 | int8_t Hal_I2C_ByteRead(I2C_TypeDef* I2Cx,uint16_t i2c_slave_addr, uint8_t regAddr,uint8_t *val); 53 | 54 | /** 55 | * @brief I2C一次读多个数据 56 | * @param I2Cx:I2C1,I2C2,选择接口号 57 | * @param buf:存储返回数据的缓冲区 58 | * @param RegAddr:需要读取数据的寄存器地址 59 | * @param i2c_slave_addr:从设备地址 60 | * @param num:读取字节数 61 | * @retval ret:0,操作成功,-1,失败 62 | **/ 63 | int8_t Hal_I2C_MutiRead(I2C_TypeDef* I2Cx,uint8_t* buf, uint8_t i2c_slave_addr, uint8_t regAddr,uint8_t num); 64 | 65 | #define STM32_PHER_I2C2 66 | //#define STM32_PHER_I2C1 67 | 68 | #ifdef STM32_PHER_I2C2 69 | #define STM32_PHER_I2C2_SDA GPIO_Pin_11 70 | #define STM32_PHER_I2C2_SCL GPIO_Pin_10 71 | #endif 72 | 73 | #ifdef STM32_PHER_I2C1 74 | #define STM32_PHER_I2C1_SDA GPIO_Pin_11 75 | #define STM32_PHER_I2C1_SCL GPIO_Pin_10 76 | #endif 77 | #endif /* __I2C_EE_H */ 78 | 79 | /******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/ 80 | 81 | 82 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Devices/sht20.h: -------------------------------------------------------------------------------- 1 | #include "stm32f10x.h" 2 | #include "stdio.h" 3 | #include "hal_i2c.h" 4 | #include "stm32f10x.h" 5 | #include "stdio.h" 6 | #include "hal_i2c.h" 7 | 8 | /** 9 | * @brief reset SHT20模块. 10 | * @param None 11 | * @retval None 12 | **/ 13 | void SHT20_reset(void); 14 | 15 | /** 16 | * @brief 读取 SHT20模块的用户寄存器 17 | * @param None 18 | * @retval 返回用户寄存器值 19 | **/ 20 | uint8_t SHT20_read_user_reg(void); 21 | 22 | /** 23 | * @brief 写 SHT20模块的用户寄存器,写之前先读 24 | * @param None 25 | * @retval None 26 | **/ 27 | void SHT20_write_user_reg(uint8_t val); 28 | 29 | /** 30 | * @brief 保持模式读SHT20模块温度或湿度 31 | * @param cmd:SHT20_Measurement_RH_HM or SHT20_Measurement_T_HM 32 | * @param pMeasurand:返回结果 33 | * @retval ret:0,成功,<0 失败 34 | **/ 35 | int8_t SHT2x_MeasureHM(uint8_t cmd, uint16_t *pMeasurand); 36 | 37 | /** 38 | * @brief 非保持模式读SHT20模块温度或湿度 39 | * @param cmd:SHT20_Measurement_RH_NHM or SHT20_Measurement_T_NHM 40 | * @param pMeasurand:返回结果 41 | * @param timeout:超时次数 42 | * @retval ret:0,成功,<0 失败 43 | **/ 44 | int8_t SHT2x_MeasurePoll(uint8_t cmd, uint16_t *pMeasurand, int32_t timeout); 45 | 46 | /** 47 | * @brief 读SHT20模块序列号 48 | * @param SerialNumber:8字节数据,用于存储返回的序列号 49 | * @retval ret:0,成功,<0 失败 50 | **/ 51 | int8_t SHT2x_GetSerialNumber(uint8_t SerialNumber[]); 52 | 53 | /*SHT20 设备操作相关宏定义,详见手册*/ 54 | #define SHT20_ADDRESS 0X40 55 | #define SHT20_Measurement_RH_HM 0XE5 56 | #define SHT20_Measurement_T_HM 0XE3 57 | #define SHT20_Measurement_RH_NHM 0XF5 58 | #define SHT20_Measurement_T_NHM 0XF3 59 | #define SHT20_READ_REG 0XE7 60 | #define SHT20_WRITE_REG 0XE6 61 | #define SHT20_SOFT_RESET 0XFE 62 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Hal/usart1.h: -------------------------------------------------------------------------------- 1 | #ifndef USART1_H_H 2 | #define USART1_H_H 3 | 4 | extern void USART1_Config(void); 5 | extern void usart1_write(USART_TypeDef* USARTx, uint8_t *Data, uint8_t len); 6 | 7 | extern unsigned char usart1_rcv_buf[512]; 8 | extern volatile unsigned int usart1_rcv_len; 9 | extern volatile unsigned int usart1_rcv_flag; 10 | extern volatile unsigned int usart1_rcv_start; 11 | 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Hal/usart2.h: -------------------------------------------------------------------------------- 1 | #ifndef USART2_H_H 2 | #define USART2_H_H 3 | 4 | #include 5 | #include 6 | #define MAX_RCV_LEN 1024 7 | 8 | extern void USART2_Config(void); 9 | extern void USART2_Write(USART_TypeDef* USARTx, uint8_t *Data,uint8_t len); 10 | extern void USART2_Clear(void); 11 | extern volatile unsigned char gprs_ready_flag; 12 | extern volatile unsigned char gprs_ready_count; 13 | 14 | extern unsigned char usart2_rcv_buf[MAX_RCV_LEN]; 15 | extern volatile unsigned int usart2_rcv_len; 16 | void SendCmd(char* cmd, char* result, int timeOut); 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Libraries/CMSIS/stm32f10x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/Libraries/CMSIS/stm32f10x.h -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Libraries/CMSIS/system_stm32f10x.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file system_stm32f10x.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /** @addtogroup CMSIS 23 | * @{ 24 | */ 25 | 26 | /** @addtogroup stm32f10x_system 27 | * @{ 28 | */ 29 | 30 | /** 31 | * @brief Define to prevent recursive inclusion 32 | */ 33 | #ifndef __SYSTEM_STM32F10X_H 34 | #define __SYSTEM_STM32F10X_H 35 | 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @addtogroup STM32F10x_System_Includes 41 | * @{ 42 | */ 43 | 44 | /** 45 | * @} 46 | */ 47 | 48 | 49 | /** @addtogroup STM32F10x_System_Exported_types 50 | * @{ 51 | */ 52 | 53 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @addtogroup STM32F10x_System_Exported_Constants 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @addtogroup STM32F10x_System_Exported_Macros 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @addtogroup STM32F10x_System_Exported_Functions 76 | * @{ 77 | */ 78 | 79 | extern void SystemInit(void); 80 | extern void SystemCoreClockUpdate(void); 81 | /** 82 | * @} 83 | */ 84 | 85 | #ifdef __cplusplus 86 | } 87 | #endif 88 | 89 | #endif /*__SYSTEM_STM32F10X_H */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 99 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Network/esp8266/esp8266.c: -------------------------------------------------------------------------------- 1 | #include "esp8266.h" 2 | #include "usart2.h" 3 | #include "utils.h" 4 | /** 5 | * @brief ESP8266硬件复位 6 | **/ 7 | void ESP8266_Rst(void) 8 | { 9 | GPIO_InitTypeDef GPIO_InitStructure; 10 | //Pb5--对应ESP8266的reset引脚; 11 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); 12 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5; 13 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; 14 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; 15 | GPIO_Init(GPIOB, &GPIO_InitStructure); 16 | 17 | GPIO_ResetBits(GPIOB,GPIO_Pin_5); 18 | mDelay(100); 19 | GPIO_SetBits(GPIOB,GPIO_Pin_5); 20 | mDelay(100); 21 | } 22 | 23 | 24 | /* 25 | * @brief ESP8266模块初始化 26 | */ 27 | void ESP8266_Init(void) 28 | { 29 | ESP8266_Rst(); 30 | #if 1 31 | SendCmd(AT, "OK", 1000); //模块有效性检查 32 | SendCmd(CWMODE, "OK", 1000); //模块工作模式 33 | SendCmd(RST, "OK", 2000); //模块重置 34 | SendCmd(CIFSR, "OK", 1000); //查询网络信息 35 | SendCmd(CWJAP, "OK", 2000); //配置需要连接的WIFI热点SSID和密码 36 | SendCmd(CIPSTART, "OK", 2000); //TCP连接 37 | SendCmd(CIPMODE1, "OK", 1000); //配置透传模式 38 | SendCmd(CIPSEND, ">", 1000); //进入透传模式 39 | USART2_Clear(); 40 | #endif 41 | } 42 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Network/esp8266/esp8266.h: -------------------------------------------------------------------------------- 1 | #define AT "AT\r\n" 2 | #define CWMODE "AT+CWMODE=3\r\n" //STA+AP模式 3 | #define RST "AT+RST\r\n" 4 | #define CIFSR "AT+CIFSR\r\n" 5 | #define CWJAP "AT+CWJAP=\"nb\",\"123456789\"\r\n" //ssid: onenet 密码:空 6 | #define CIPSTART "AT+CIPSTART=\"TCP\",\"192.168.23.1\",4001\r\n" //HTTP服务器183.230.40.33/80 7 | #define CIPMODE0 "AT+CIPMODE=0\r\n" //非透传模式 8 | #define CIPMODE1 "AT+CIPMODE=1\r\n" //透传模式 9 | #define CIPSEND "AT+CIPSEND\r\n" 10 | #define CIPSTATUS "AT+CIPSTATUS\r\n" //网络状态查询 11 | 12 | extern void ESP8266_Rst(void); 13 | extern void ESP8266_Init(void); 14 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Project/JLinkSettings.ini: -------------------------------------------------------------------------------- 1 | [BREAKPOINTS] 2 | ShowInfoWin = 1 3 | EnableFlashBP = 2 4 | BPDuringExecution = 0 5 | [CFI] 6 | CFISize = 0x00 7 | CFIAddr = 0x00 8 | [CPU] 9 | OverrideMemMap = 0 10 | AllowSimulation = 1 11 | ScriptFile="" 12 | [FLASH] 13 | MinNumBytesFlashDL = 0 14 | SkipProgOnCRCMatch = 1 15 | VerifyDownload = 1 16 | AllowCaching = 1 17 | EnableFlashDL = 2 18 | Override = 0 19 | Device="UNSPECIFIED" 20 | [GENERAL] 21 | WorkRAMSize = 0x00 22 | WorkRAMAddr = 0x00 23 | [SWO] 24 | SWOLogFile="" 25 | [MEM] 26 | RdOverrideOrMask = 0x00 27 | RdOverrideAndMask = 0xFFFFFFFF 28 | RdOverrideAddr = 0xFFFFFFFF 29 | WrOverrideOrMask = 0x00 30 | WrOverrideAndMask = 0xFFFFFFFF 31 | WrOverrideAddr = 0xFFFFFFFF 32 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Project/onenetdemo.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/Project/onenetdemo.plg -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Protocol/http/HTTP_Demo.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | /** 6 | * @brief 组HTTP POST报文 7 | * @param pkt 报文缓存指针 8 | * @param key API_KEY定义在Main.c文件中,需要根据自己的设备修改 9 | * @param devid 设备ID,定义在main.c文件中,需要根据自己的设备修改 10 | * @param dsid 数据流ID 11 | * @param val 字符串形式的数据点的值 12 | * @retval 整个包的长度 13 | */ 14 | uint32_t HTTP_PostPkt(char *pkt, char *key, char *devid, char *dsid, char *val) 15 | { 16 | char dataBuf[100] = {0}; 17 | char lenBuf[10] = {0}; 18 | *pkt = 0; 19 | 20 | sprintf(dataBuf, ",;%s,%s", dsid, val); //采用分割字符串格式:type = 5 21 | sprintf(lenBuf, "%d", strlen(dataBuf)); 22 | 23 | strcat(pkt, "POST /devices/"); 24 | strcat(pkt, devid); 25 | strcat(pkt, "/datapoints?type=5 HTTP/1.1\r\n"); 26 | 27 | strcat(pkt, "api-key:"); 28 | strcat(pkt, key); 29 | strcat(pkt, "\r\n"); 30 | 31 | strcat(pkt, "Host:api.heclouds.com\r\n"); 32 | 33 | strcat(pkt, "Content-Length:"); 34 | strcat(pkt, lenBuf); 35 | strcat(pkt, "\r\n\r\n"); 36 | 37 | strcat(pkt, dataBuf); 38 | 39 | return strlen(pkt); 40 | } 41 | 42 | 43 | 44 | /** 45 | * @brief 组HTTP POST报文 46 | * @param pkt 报文缓存指针 47 | * @param dsid1 数据流ID 48 | * @param val1 字符串形式的数据点的值 49 | * @param dsid2 数据流ID 50 | * @param val2 字符串形式的数据点的值 51 | * @retval 整个包的长度 52 | */ 53 | uint32_t HTTP_NewPostPacket(char *pkt, char *dsid1, char *val1, char *dsid2, char *val2) 54 | { 55 | char dataBuf[50] = {0}; 56 | char lenBuf[10] = {0}; 57 | *pkt = 0; 58 | 59 | sprintf(dataBuf, "{\"%s\":\"%s\",\"%s\":\"%s\"}", dsid1, val1, dsid2, val2); //采用分割字符串格式:type = 5 60 | sprintf(lenBuf, "%d", strlen(dataBuf)); 61 | 62 | 63 | strcat(pkt, dataBuf); 64 | 65 | return strlen(pkt); 66 | } 67 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Protocol/http/HTTP_Demo.h: -------------------------------------------------------------------------------- 1 | extern uint32 HTTP_PostPkt(u8 *pkt, char *key, char *devid, char *dsid, char *val); -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/User/stm32f10x_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief This file contains the headers of the interrupt handlers. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_IT_H 24 | #define __STM32F10x_IT_H 25 | 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | /* Includes ------------------------------------------------------------------*/ 31 | #include "stm32f10x.h" 32 | 33 | /* Exported types ------------------------------------------------------------*/ 34 | /* Exported constants --------------------------------------------------------*/ 35 | /* Exported macro ------------------------------------------------------------*/ 36 | /* Exported functions ------------------------------------------------------- */ 37 | 38 | void NMI_Handler(void); 39 | void HardFault_Handler(void); 40 | void MemManage_Handler(void); 41 | void BusFault_Handler(void); 42 | void UsageFault_Handler(void); 43 | void SVC_Handler(void); 44 | void DebugMon_Handler(void); 45 | void PendSV_Handler(void); 46 | void SysTick_Handler(void); 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | 52 | #endif /* __STM32F10x_IT_H */ 53 | 54 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 55 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/Utils/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef __UTILS_HEADER__ 2 | #define __UTILS_HEADER__ 3 | #include 4 | #include 5 | #include 6 | 7 | void hexdump(const unsigned char *buf, uint32_t); 8 | unsigned char prvucMBBIN2CHAR(unsigned char ucByte); 9 | void Delay(unsigned int i); 10 | unsigned short usMBCRC16( unsigned char * pucFrame, unsigned short usLen ); 11 | void mDelay(uint32_t i); 12 | void uDelay(uint32_t i); 13 | #endif 14 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/cjson.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\Devices -I..\Network\esp8266 -I C:\Keil\ARM\RV31\Inc -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F10x -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\cjson.o" --omf_browse "..\object\cjson.crf" --depend "..\object\cjson.d" "..\Utils\cJSON.c" -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/cjson.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/cjson.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/cjson.d: -------------------------------------------------------------------------------- 1 | ..\object\cjson.o: ..\Utils\cJSON.c 2 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\string.h 3 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\stdio.h 4 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\math.h 5 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\stdlib.h 6 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\float.h 7 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\limits.h 8 | ..\object\cjson.o: C:\Keil\ARM\RV31\Inc\ctype.h 9 | ..\object\cjson.o: ..\Utils\cJSON.h 10 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/cjson.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/cjson.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/core_cm3.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/core_cm3.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/core_cm3.d: -------------------------------------------------------------------------------- 1 | ..\object\core_cm3.o: ..\Libraries\CMSIS\core_cm3.c 2 | ..\object\core_cm3.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 3 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/core_cm3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/core_cm3.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/edpdemo.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\Protocol\edp -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\EDP -I C:\Keil\ARM\RV31\Inc -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F10x -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\edpdemo.o" --omf_browse "..\object\edpdemo.crf" --depend "..\object\edpdemo.d" "..\Protocol\edp\EdpDemo.c" -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/edpdemo.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/edpdemo.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/edpdemo.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/edpdemo.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/edpkit.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/edpkit.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/edpkit.d: -------------------------------------------------------------------------------- 1 | ..\object\edpkit.o: ..\Protocol\edp\EdpKit.c 2 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\stdlib.h 3 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\stdio.h 4 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\string.h 5 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\time.h 6 | ..\object\edpkit.o: ..\Protocol\edp\EdpKit.h 7 | ..\object\edpkit.o: ..\Protocol\edp\Common.h 8 | ..\object\edpkit.o: ..\Utils\cJSON.h 9 | ..\object\edpkit.o: C:\Keil\ARM\RV31\Inc\assert.h 10 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/edpkit.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/edpkit.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/esp8266.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/esp8266.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/esp8266.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/esp8266.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/gpio.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\Protocol\edp -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\EDP -I C:\Keil\ARM\RV31\Inc -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F10x -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\gpio.o" --omf_browse "..\object\gpio.crf" --depend "..\object\gpio.d" "..\Hal\gpio.c" -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/gpio.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/gpio.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/hal_i2c.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/hal_i2c.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/hal_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/hal_i2c.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/http_demo.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/http_demo.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/http_demo.d: -------------------------------------------------------------------------------- 1 | ..\object\http_demo.o: ..\Protocol\http\HTTP_Demo.c 2 | ..\object\http_demo.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 3 | ..\object\http_demo.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | ..\object\http_demo.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/http_demo.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/http_demo.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/led.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/led.d: -------------------------------------------------------------------------------- 1 | ..\object\led.o: ..\Hal\led.c 2 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/led.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/led.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/main.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/main.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/misc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/misc.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/misc.d: -------------------------------------------------------------------------------- 1 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c 2 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 3 | ..\object\misc.o: ..\Libraries\CMSIS\stm32f10x.h 4 | ..\object\misc.o: ..\Libraries\CMSIS\core_cm3.h 5 | ..\object\misc.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | ..\object\misc.o: ..\Libraries\CMSIS\system_stm32f10x.h 7 | ..\object\misc.o: ..\User\stm32f10x_conf.h 8 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 9 | ..\object\misc.o: ..\Libraries\CMSIS\stm32f10x.h 10 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 11 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 12 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 13 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 14 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 15 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 16 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 17 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 18 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 19 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 20 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 21 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 22 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 23 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 24 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 25 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 26 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 27 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 28 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 29 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 30 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 31 | ..\object\misc.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 32 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/misc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/misc.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/onenetdemo.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/onenetdemo.axf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/onenetdemo.build_log.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/onenetdemo.build_log.htm -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/onenetdemo.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M3 2 | "..\object\core_cm3.o" 3 | "..\object\system_stm32f10x.o" 4 | "..\object\startup_stm32f10x_md.o" 5 | "..\object\main.o" 6 | "..\object\stm32f10x_it.o" 7 | "..\object\misc.o" 8 | "..\object\stm32f10x_exti.o" 9 | "..\object\stm32f10x_flash.o" 10 | "..\object\stm32f10x_gpio.o" 11 | "..\object\stm32f10x_i2c.o" 12 | "..\object\stm32f10x_rcc.o" 13 | "..\object\stm32f10x_usart.o" 14 | "..\object\hal_i2c.o" 15 | "..\object\sht20.o" 16 | "..\object\usart1.o" 17 | "..\object\usart2.o" 18 | "..\object\http_demo.o" 19 | "..\object\utils.o" 20 | "..\object\esp8266.o" 21 | --library_type=microlib --strict --scatter "..\object\onenetdemo.sct" 22 | --summary_stderr --info summarysizes --map --xref --callgraph --symbols 23 | --info sizes --info totals --info unused --info veneers 24 | --list ".\onenetdemo.map" -o ..\object\onenetdemo.axf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/onenetdemo.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/onenetdemo.plg -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/onenetdemo.sct: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00080000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00080000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00010000 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/onenetdemo_sct.Bak: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00080000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00080000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00010000 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/ringbuffer.__i: -------------------------------------------------------------------------------- 1 | -c --cpu Cortex-M3 -D__MICROLIB -g -O0 --apcs=interwork -I..\Hal -I..\Utils -I..\Protocol\edp -I..\object -I..\Project -I..\User -I..\Libraries\CMSIS -I..\Libraries\STM32F10x_StdPeriph_Driver\inc -I..\Libraries\STM32F10x_StdPeriph_Driver\src -I..\Libraries\CMSIS\startup\arm -I..\EDP 2 | -I C:\Keil\ARM\RV31\INC 3 | -I C:\Keil\ARM\CMSIS\Include 4 | -I C:\Keil\ARM\Inc\ST\STM32F10x 5 | -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -o "..\object\ringbuffer.o" --omf_browse "..\object\ringbuffer.crf" --depend "..\object\ringbuffer.d" "..\Utils\ringbuffer.c" -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/ringbuffer.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/ringbuffer.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/ringbuffer.d: -------------------------------------------------------------------------------- 1 | ..\object\ringbuffer.o: ..\Utils\ringbuffer.c 2 | ..\object\ringbuffer.o: C:\Keil\ARM\ARMCC\bin\..\include\stdlib.h 3 | ..\object\ringbuffer.o: C:\Keil\ARM\ARMCC\bin\..\include\string.h 4 | ..\object\ringbuffer.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h 5 | ..\object\ringbuffer.o: ..\Utils\ringbuffer.h 6 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/ringbuffer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/ringbuffer.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/sht20.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/sht20.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/sht20.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/sht20.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/startup_stm32f10x_md.d: -------------------------------------------------------------------------------- 1 | ..\object\startup_stm32f10x_md.o: ..\Libraries\CMSIS\startup\arm\startup_stm32f10x_md.s 2 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/startup_stm32f10x_md.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/startup_stm32f10x_md.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_exti.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_exti.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_exti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_exti.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_flash.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_flash.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_flash.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_flash.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_gpio.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_gpio.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_i2c.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_i2c.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_i2c.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_it.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_it.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_it.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_rcc.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_rcc.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_usart.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/stm32f10x_usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/stm32f10x_usart.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/system_stm32f10x.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/system_stm32f10x.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/system_stm32f10x.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/system_stm32f10x.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/usart1.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/usart1.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/usart1.d: -------------------------------------------------------------------------------- 1 | ..\object\usart1.o: ..\Hal\usart1.c 2 | ..\object\usart1.o: ..\Libraries\CMSIS\stm32f10x.h 3 | ..\object\usart1.o: ..\Libraries\CMSIS\core_cm3.h 4 | ..\object\usart1.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | ..\object\usart1.o: ..\Libraries\CMSIS\system_stm32f10x.h 6 | ..\object\usart1.o: ..\User\stm32f10x_conf.h 7 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h 8 | ..\object\usart1.o: ..\Libraries\CMSIS\stm32f10x.h 9 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h 10 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h 11 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h 12 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h 13 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h 14 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h 15 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h 16 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h 17 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h 18 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h 19 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h 20 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h 21 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h 22 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h 23 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h 24 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h 25 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h 26 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h 27 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h 28 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h 29 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h 30 | ..\object\usart1.o: ..\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h 31 | ..\object\usart1.o: ..\Hal\usart1.h 32 | ..\object\usart1.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 33 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/usart1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/usart1.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/usart2.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/usart2.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/usart2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/usart2.o -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/utils.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/utils.crf -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/utils.d: -------------------------------------------------------------------------------- 1 | ..\object\utils.o: ..\Utils\utils.c 2 | ..\object\utils.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 3 | ..\object\utils.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | ..\object\utils.o: ..\Utils\utils.h 5 | ..\object\utils.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 6 | ..\object\utils.o: E:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 7 | -------------------------------------------------------------------------------- /STM32_ESP8266_miniboard(before)/object/utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_ESP8266_miniboard(before)/object/utils.o -------------------------------------------------------------------------------- /STM32_bigboard(main)/.gitignore: -------------------------------------------------------------------------------- 1 | output/ -------------------------------------------------------------------------------- /STM32_bigboard(main)/EventRecorderStub.scvd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/ESP8266/net_device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/ESP8266/net_device.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/ESP8266/net_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/ESP8266/net_device.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/ESP8266/net_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/ESP8266/net_io.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/ESP8266/net_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/ESP8266/net_io.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/M6311/net_device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/M6311/net_device.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/M6311/net_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/M6311/net_device.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/M6311/net_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/M6311/net_io.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/demo/M6311/net_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/demo/M6311/net_io.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/inc/net_device.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/inc/net_device.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/inc/net_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/inc/net_io.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/src/net_device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/src/net_device.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/device/src/net_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/device/src/net_io.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/protocol/inc/fault.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/protocol/inc/fault.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/protocol/inc/onenet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/protocol/inc/onenet.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/protocol/src/fault.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/protocol/src/fault.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/NET/protocol/src/onenet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/NET/protocol/src/onenet.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/README.md: -------------------------------------------------------------------------------- 1 | # PetHome 2 | 治电科技简易物联网宠物小窝环境监测 3 | 4 | 文档暂缺 5 | 6 | 2017.4.22 人体红外,舵机 7 | 8 | 2017.6.8 加热垫,紫外线灯 9 | 10 | 2017.6.15 自动控制 -------------------------------------------------------------------------------- /STM32_bigboard(main)/core/startup/arm/startup_stm32f10x_hd.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/core/startup/arm/startup_stm32f10x_hd.s -------------------------------------------------------------------------------- /STM32_bigboard(main)/core/stm32f10x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/core/stm32f10x.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/core/stm32f10x_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_it.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief This file contains the headers of the interrupt handlers. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_IT_H 24 | #define __STM32F10x_IT_H 25 | 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | /* Includes ------------------------------------------------------------------*/ 31 | #include "stm32f10x.h" 32 | 33 | /* Exported types ------------------------------------------------------------*/ 34 | /* Exported constants --------------------------------------------------------*/ 35 | /* Exported macro ------------------------------------------------------------*/ 36 | /* Exported functions ------------------------------------------------------- */ 37 | 38 | void NMI_Handler(void); 39 | void HardFault_Handler(void); 40 | void MemManage_Handler(void); 41 | void BusFault_Handler(void); 42 | void UsageFault_Handler(void); 43 | void SVC_Handler(void); 44 | void DebugMon_Handler(void); 45 | void PendSV_Handler(void); 46 | void SysTick_Handler(void); 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | 52 | #endif /* __STM32F10x_IT_H */ 53 | 54 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 55 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/core/system_stm32f10x.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/core/system_stm32f10x.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/core/system_stm32f10x.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file system_stm32f10x.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /** @addtogroup CMSIS 23 | * @{ 24 | */ 25 | 26 | /** @addtogroup stm32f10x_system 27 | * @{ 28 | */ 29 | 30 | /** 31 | * @brief Define to prevent recursive inclusion 32 | */ 33 | #ifndef __SYSTEM_STM32F10X_H 34 | #define __SYSTEM_STM32F10X_H 35 | 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @addtogroup STM32F10x_System_Includes 41 | * @{ 42 | */ 43 | 44 | /** 45 | * @} 46 | */ 47 | 48 | 49 | /** @addtogroup STM32F10x_System_Exported_types 50 | * @{ 51 | */ 52 | 53 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @addtogroup STM32F10x_System_Exported_Constants 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @addtogroup STM32F10x_System_Exported_Macros 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @addtogroup STM32F10x_System_Exported_Functions 76 | * @{ 77 | */ 78 | 79 | extern void SystemInit(void); 80 | extern void SystemCoreClockUpdate(void); 81 | /** 82 | * @} 83 | */ 84 | 85 | #ifdef __cplusplus 86 | } 87 | #endif 88 | 89 | #endif /*__SYSTEM_STM32F10X_H */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 99 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/fwlib/inc/stm32f10x_crc.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_crc.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the CRC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_CRC_H 25 | #define __STM32F10x_CRC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup CRC 39 | * @{ 40 | */ 41 | 42 | /** @defgroup CRC_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup CRC_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /** @defgroup CRC_Exported_Macros 59 | * @{ 60 | */ 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup CRC_Exported_Functions 67 | * @{ 68 | */ 69 | 70 | void CRC_ResetDR(void); 71 | uint32_t CRC_CalcCRC(uint32_t Data); 72 | uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength); 73 | uint32_t CRC_GetCRC(void); 74 | void CRC_SetIDRegister(uint8_t IDValue); 75 | uint8_t CRC_GetIDRegister(void); 76 | 77 | #ifdef __cplusplus 78 | } 79 | #endif 80 | 81 | #endif /* __STM32F10x_CRC_H */ 82 | /** 83 | * @} 84 | */ 85 | 86 | /** 87 | * @} 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 95 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/fwlib/src/stm32f10x_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/fwlib/src/stm32f10x_flash.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/fwlib/src/stm32f10x_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/fwlib/src/stm32f10x_i2c.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/fwlib/src/stm32f10x_usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/fwlib/src/stm32f10x_usart.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/adc.h: -------------------------------------------------------------------------------- 1 | #ifndef _ADC_H_ 2 | #define _ADC_H_ 3 | 4 | 5 | #include "stm32f10x.h" 6 | 7 | 8 | 9 | 10 | void ADC_ChInit(ADC_TypeDef * ADCx, _Bool temp); 11 | 12 | unsigned short ADC_GetValue(ADC_TypeDef * ADCx, unsigned char ch); 13 | 14 | float ADC_GetValueTimes(ADC_TypeDef * ADCx, unsigned char ch, unsigned char times); 15 | 16 | float ADC_GetTemperature(void); 17 | 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/adxl345.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/adxl345.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/at24c02.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/at24c02.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/beep.h: -------------------------------------------------------------------------------- 1 | #ifndef _BEEP_H_ 2 | #define _BEEP_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | typedef struct 11 | { 12 | 13 | _Bool Beep_Status; 14 | 15 | } BEEP_INFO; 16 | 17 | #define BEEP_ON 1 18 | #define BEEP_OFF 0 19 | 20 | extern BEEP_INFO beepInfo; 21 | 22 | 23 | 24 | 25 | void Beep_Init(void); 26 | 27 | void Beep_Set(_Bool status); 28 | 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/delay.h: -------------------------------------------------------------------------------- 1 | #ifndef _DELAY_H_ 2 | #define _DELAY_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | void Delay_Init(void); 11 | 12 | void DelayUs(unsigned short us); 13 | 14 | void DelayXms(unsigned short ms); 15 | 16 | void DelayMs(unsigned short ms); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/duoji.h: -------------------------------------------------------------------------------- 1 | #ifndef __duoji_H 2 | #define __duoji_H 3 | #include "stm32f10x.h" 4 | 5 | extern volatile unsigned char duoji_value; 6 | 7 | void Duoji_Init(u16 arr,u16 psc); 8 | 9 | #endif -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/fengshan.h: -------------------------------------------------------------------------------- 1 | #ifndef _FENGSHAN_H_ 2 | #define _FENGSHAN_H_ 3 | 4 | #include "stm32f10x.h" 5 | 6 | 7 | 8 | #define JDQ_ON GPIO_SetBits(GPIOA,GPIO_Pin_8) 9 | #define JDQ_OFF GPIO_ResetBits(GPIOA,GPIO_Pin_8) 10 | 11 | #define JDQ_1 0X01 12 | #define J_ON 1 13 | #define J_OFF (!J_ON) 14 | 15 | typedef struct 16 | { 17 | 18 | _Bool FengSta; 19 | 20 | } FENG_STATUS; 21 | 22 | extern FENG_STATUS fengStatus; 23 | 24 | 25 | void JDQ_Init(void); 26 | 27 | void JDQ_Switch(const uint8_t statu,const uint8_t mode); 28 | _Bool JDQ_GetValue(void); 29 | 30 | 31 | 32 | #endif -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/gy30.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/gy30.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/hwtimer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/hwtimer.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/i2c.h: -------------------------------------------------------------------------------- 1 | #ifndef _I2C_H_ 2 | #define _I2C_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | #define IIC_OK 0 11 | #define IIC_Err 1 12 | 13 | 14 | 15 | //SDA PB11 16 | //SCL PB10 17 | #define SDA_H GPIO_SetBits(GPIOB, GPIO_Pin_11) 18 | #define SDA_L GPIO_ResetBits(GPIOB, GPIO_Pin_11) 19 | #define SDA_R GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_11) 20 | 21 | #define SCL_H GPIO_SetBits(GPIOB, GPIO_Pin_10) 22 | #define SCL_L GPIO_ResetBits(GPIOB, GPIO_Pin_10) 23 | 24 | 25 | typedef struct 26 | { 27 | 28 | unsigned short speed; 29 | 30 | } IIC_INFO; 31 | 32 | extern IIC_INFO iicInfo; 33 | 34 | 35 | 36 | 37 | void IIC_Init(void); 38 | 39 | void IIC_SpeedCtl(unsigned short speed); 40 | 41 | _Bool I2C_WriteByte(unsigned char slaveAddr, unsigned char regAddr, unsigned char *byte); 42 | 43 | _Bool I2C_ReadByte(unsigned char slaveAddr, unsigned char regAddr, unsigned char *val); 44 | 45 | _Bool I2C_WriteBytes(unsigned char slaveAddr, unsigned char regAddr, unsigned char *buf, unsigned char num); 46 | 47 | _Bool I2C_ReadBytes(unsigned char slaveAddr, unsigned char regAddr, unsigned char *buf, unsigned char num); 48 | 49 | void IIC_Start(void); 50 | 51 | void IIC_Stop(void); 52 | 53 | _Bool IIC_WaitAck(unsigned int timeOut); 54 | 55 | void IIC_Ack(void); 56 | 57 | void IIC_NAck(void); 58 | 59 | void IIC_SendByte(unsigned char byte); 60 | 61 | unsigned char IIC_RecvByte(void); 62 | 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/info.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/info.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/iwdg.h: -------------------------------------------------------------------------------- 1 | #ifndef _IWDG_H_ 2 | #define _IWDG_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | void Iwdg_Init(unsigned char psc, unsigned short arr); 11 | 12 | void Iwdg_Feed(void); 13 | 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/jiaredian.h: -------------------------------------------------------------------------------- 1 | #ifndef _JIAREDIAN_H_ 2 | #define _JIAREDIAN_H_ 3 | 4 | #include "stm32f10x.h" 5 | 6 | 7 | 8 | #define HOT_ON GPIO_SetBits(GPIOC,GPIO_Pin_1) 9 | #define HOT_OFF GPIO_ResetBits(GPIOC,GPIO_Pin_1) 10 | 11 | #define HOT_1 0X01 12 | #define H_ON 1 13 | #define H_OFF (!H_ON) 14 | 15 | typedef struct 16 | { 17 | 18 | _Bool HotSta; 19 | 20 | } HOT_STATUS; 21 | 22 | extern HOT_STATUS hotStatus; 23 | 24 | 25 | void HOT_Init(void); 26 | 27 | void HOT_Switch(const uint8_t statu,const uint8_t mode); 28 | _Bool HOT_GetValue(void); 29 | 30 | 31 | 32 | #endif -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/key.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/lcd1602.h: -------------------------------------------------------------------------------- 1 | #ifndef _LCD1602_H_ 2 | #define _LCD1602_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | void Lcd1602_Init(void); 11 | 12 | void Lcd1602_WriteData(unsigned char byte); 13 | 14 | void Lcd1602_WriteCom_Busy(unsigned char byte); 15 | 16 | void Lcd1602_Clear(unsigned char pos); 17 | 18 | void Lcd1602_DisString(unsigned char pos, char *fmt,...); 19 | 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/led.h: -------------------------------------------------------------------------------- 1 | #ifndef _LED_H_ 2 | #define _LED_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | typedef struct 11 | { 12 | 13 | _Bool Led4Sta; 14 | _Bool Led5Sta; 15 | _Bool Led6Sta; 16 | _Bool Led7Sta; 17 | 18 | } LED_STATUS; 19 | 20 | extern LED_STATUS ledStatus; 21 | 22 | typedef enum 23 | { 24 | 25 | LED_OFF = 0, 26 | LED_ON 27 | 28 | } LED_ENUM; 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | void Led_Init(void); 38 | 39 | void Led4_Set(LED_ENUM status); 40 | 41 | void Led5_Set(LED_ENUM status); 42 | 43 | void Led6_Set(LED_ENUM status); 44 | 45 | void Led7_Set(LED_ENUM status); 46 | 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/light.h: -------------------------------------------------------------------------------- 1 | #ifndef _LIGHT_H_ 2 | #define _LIGHT_H_ 3 | 4 | #include "stm32f10x.h" 5 | 6 | 7 | 8 | #define LIGHT_ON GPIO_SetBits(GPIOC,GPIO_Pin_2) 9 | #define LIGHT_OFF GPIO_ResetBits(GPIOC,GPIO_Pin_2) 10 | 11 | #define LIGHT_1 0X01 12 | #define L_ON 1 13 | #define L_OFF (!L_ON) 14 | 15 | typedef struct 16 | { 17 | 18 | _Bool LightSta; 19 | 20 | } LIGHT_STATUS; 21 | 22 | extern LIGHT_STATUS lightStatus; 23 | 24 | 25 | void LIGHT_Init(void); 26 | 27 | void LIGHT_Switch(const uint8_t statu,const uint8_t mode); 28 | _Bool LIGHT_GetValue(void); 29 | 30 | 31 | 32 | #endif -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/oled.h: -------------------------------------------------------------------------------- 1 | #ifndef _OLED_H_ 2 | #define _OLED_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | extern const unsigned char wen[]; 11 | extern const unsigned char du[]; 12 | extern const unsigned char shi[]; 13 | extern const unsigned char san[]; 14 | extern const unsigned char zhou[]; 15 | extern const unsigned char zhuang[]; 16 | extern const unsigned char tai[]; 17 | extern const unsigned char wei[]; 18 | extern const unsigned char lian[]; 19 | extern const unsigned char jie[]; 20 | extern const unsigned char zhong[]; 21 | extern const unsigned char yi[]; 22 | extern const unsigned char duan[]; 23 | extern const unsigned char kai[]; 24 | 25 | 26 | #define OLED_ADDRESS 0x78 27 | 28 | 29 | 30 | void OLED_Init(void); 31 | 32 | _Bool OLED_WriteCom(unsigned char cmd); 33 | 34 | void OLED_Address(unsigned char page, unsigned char column); 35 | 36 | void OLED_ClearScreen(void); 37 | 38 | void OLED_ClearAt(unsigned char x); 39 | 40 | void OLED_Dis12864_Pic(const unsigned char *dp); 41 | 42 | void OLED_DisChar16x16(unsigned short page, unsigned short column, const unsigned char *dp); 43 | 44 | void OLED_DisString6x8(unsigned char x, unsigned char y, char *fmt, ...); 45 | 46 | void OLED_DisString8x16(unsigned char x, unsigned char y, char *fmt, ...); 47 | 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/oled_zk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/oled_zk.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/rthongwai.h: -------------------------------------------------------------------------------- 1 | #ifndef __IRENTI_H 2 | #define __IRENTI_H 3 | 4 | #include "stm32f10x.h" 5 | #include "led.h" 6 | 7 | extern volatile unsigned char body_value; 8 | #define Body_GPIO_PORT GPIOB 9 | #define Body_GPIO_PIN GPIO_Pin_3 10 | #define Body_GPIO_CLK RCC_APB2Periph_GPIOB 11 | 12 | void Body_Init(void); 13 | #endif -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/selfcheck.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/selfcheck.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/sht20.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/sht20.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/stmflash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/stmflash.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/tcrt5000.h: -------------------------------------------------------------------------------- 1 | #ifndef _TCRT5000_H_ 2 | #define _TCRT5000_H_ 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | typedef struct 11 | { 12 | 13 | float voltag; 14 | 15 | _Bool status; 16 | 17 | } TCRT5000_INFO; 18 | 19 | extern TCRT5000_INFO t5000Info; 20 | 21 | typedef enum 22 | { 23 | 24 | TCRT5000_OFF = 0, 25 | TCRT5000_ON 26 | 27 | } TCRT5000_ENUM; 28 | 29 | 30 | void TCRT5000_Init(void); 31 | 32 | void TCRT5000_GetValue(unsigned char times); 33 | 34 | void TCRT5000_Set(TCRT5000_ENUM status); 35 | 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/inc/usart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/inc/usart.h -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/adc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/adc.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/adxl345.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/adxl345.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/at24c02.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/at24c02.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/beep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/beep.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/delay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/delay.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/duoji.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/duoji.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/fengshan.c: -------------------------------------------------------------------------------- 1 | #include "fengshan.h" 2 | 3 | FENG_STATUS fengStatus; 4 | 5 | /*???GPIO?? GPIOA PIN5*/ 6 | void JDQ_Init(void){ 7 | GPIO_InitTypeDef GPIO_Structure; 8 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); 9 | GPIO_Structure.GPIO_Mode = GPIO_Mode_Out_PP; 10 | GPIO_Structure.GPIO_Pin = GPIO_Pin_8; 11 | GPIO_Structure.GPIO_Speed = GPIO_Speed_50MHz; 12 | GPIO_Init(GPIOA,&GPIO_Structure); 13 | JDQ_Switch(J_OFF,JDQ_1); 14 | } 15 | 16 | 17 | 18 | /*???????,????????*/ 19 | void JDQ_Switch(const uint8_t statu,const uint8_t mode){ 20 | if(statu){ 21 | JDQ_OFF; 22 | 23 | if(mode&0x01){ 24 | fengStatus.FengSta=0; 25 | JDQ_ON; 26 | } 27 | }else{ 28 | if(mode&0x01){ 29 | fengStatus.FengSta=1; 30 | JDQ_OFF; 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/gy30.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/gy30.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/hwtimer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/hwtimer.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/i2c.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/info.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/info.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/iwdg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/iwdg.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/jiaredian.c: -------------------------------------------------------------------------------- 1 | #include "jiaredian.h" 2 | 3 | HOT_STATUS hotStatus; 4 | 5 | /*???GPIO?? GPIOA PIN5*/ 6 | void HOT_Init(void){ 7 | GPIO_InitTypeDef GPIO_Structure; 8 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); 9 | GPIO_Structure.GPIO_Mode = GPIO_Mode_Out_PP; 10 | GPIO_Structure.GPIO_Pin = GPIO_Pin_1; 11 | GPIO_Structure.GPIO_Speed = GPIO_Speed_50MHz; 12 | GPIO_Init(GPIOC,&GPIO_Structure); 13 | HOT_Switch(H_OFF,HOT_1); 14 | } 15 | 16 | 17 | 18 | /*???????,????????*/ 19 | void HOT_Switch(const uint8_t statu,const uint8_t mode){ 20 | if(statu){ 21 | HOT_OFF; 22 | 23 | if(mode&0x01){ 24 | hotStatus.HotSta=0; 25 | HOT_ON; 26 | } 27 | }else{ 28 | if(mode&0x01){ 29 | hotStatus.HotSta=1; 30 | HOT_OFF; 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/key.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/key.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/lcd1602.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/lcd1602.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/led.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/led.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/light.c: -------------------------------------------------------------------------------- 1 | #include "light.h" 2 | 3 | LIGHT_STATUS lightStatus; 4 | 5 | /*???GPIO?? GPIOA PIN15*/ 6 | void LIGHT_Init(void){ 7 | GPIO_InitTypeDef GPIO_Structure; 8 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); 9 | GPIO_Structure.GPIO_Mode = GPIO_Mode_Out_PP; 10 | GPIO_Structure.GPIO_Pin = GPIO_Pin_2; 11 | GPIO_Structure.GPIO_Speed = GPIO_Speed_50MHz; 12 | GPIO_Init(GPIOC,&GPIO_Structure); 13 | LIGHT_Switch(L_OFF,LIGHT_1); 14 | } 15 | 16 | 17 | 18 | /*???????,????????*/ 19 | void LIGHT_Switch(const uint8_t statu,const uint8_t mode){ 20 | if(statu){ 21 | LIGHT_OFF; 22 | 23 | if(mode&0x01){ 24 | lightStatus.LightSta=0; 25 | LIGHT_ON; 26 | } 27 | }else{ 28 | if(mode&0x01){ 29 | lightStatus.LightSta=1; 30 | LIGHT_OFF; 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/oled.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/oled.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/rthongwai.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/rthongwai.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/selfcheck.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/selfcheck.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/sht20.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/sht20.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/stmflash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/stmflash.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/tcrt5000.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/tcrt5000.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/hardware/src/usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/hardware/src/usart.c -------------------------------------------------------------------------------- /STM32_bigboard(main)/keilkilll.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/keilkilll.bat -------------------------------------------------------------------------------- /STM32_bigboard(main)/listing/startup_stm32f10x_hd.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/listing/startup_stm32f10x_hd.lst -------------------------------------------------------------------------------- /STM32_bigboard(main)/user/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/STM32_bigboard(main)/user/main.c -------------------------------------------------------------------------------- /swagger-ui/dist/swagger-ui-bundle.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui-bundle.js","sources":["webpack:///swagger-ui-bundle.js"],"mappings":"AAAA;AAu/FA;AA6+FA;;;;;;;;;;;;;;;;;;;;;;;;;;AAsdA;;;;;;AAoIA;AAk7FA;AAmtCA;;;;;AA0uIA;AAq7IA;AAo7FA;AA0wGA;AAglFA;AA0jFA;AAq9CA;AA6jDA;AAgrCA;AAgtEA;AAgkIA;;;;;;;;;;;;;;AAw4GA;AAyoIA;AAiuJA;AA8kHA;AAonGA;AAukEA;AA02DA;AAyxDA;AAm+BA;;;;;;AAmsEA;AA2zFA;;;;;AA+1CA;AA2qFA;AAo2CA;AAokCA;AAkhDA;AAwvEA;AAs+FA;;;;;;;;;AA+xBA;AA2zIA;AAg4DA;AA0vDA","sourceRoot":""} -------------------------------------------------------------------------------- /swagger-ui/dist/swagger-ui-standalone-preset.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui-standalone-preset.js","sources":["webpack:///swagger-ui-standalone-preset.js"],"mappings":"AAAA;;;;;AAqTA;AAyiGA","sourceRoot":""} -------------------------------------------------------------------------------- /swagger-ui/dist/swagger-ui.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui.css","sources":[],"mappings":"","sourceRoot":""} -------------------------------------------------------------------------------- /swagger-ui/dist/swagger-ui.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;AAsoGA;AAy4HA;AA+7FA;AA2mCA;AAw/BA;AA2hCA;AAs5BA","sourceRoot":""} -------------------------------------------------------------------------------- /weibonodejs/getaccess.js: -------------------------------------------------------------------------------- 1 | var Weibo = require('nodeweibo'); 2 | var setting = require('./setting.json'); 3 | 4 | Weibo.init(setting); 5 | 6 | var paras={ 7 | code:"a45ce4c7065792f00d50bb2daf7ae20a", 8 | grant_type:"authorization_code" 9 | }; 10 | 11 | Weibo.OAuth2.access_token(paras,function(data){ 12 | console.log(data); 13 | }) -------------------------------------------------------------------------------- /weibonodejs/getcode.js: -------------------------------------------------------------------------------- 1 | var Weibo = require('nodeweibo'); 2 | var setting = require('./setting.json'); 3 | 4 | Weibo.init(setting); 5 | 6 | Weibo.authorize(); -------------------------------------------------------------------------------- /weibonodejs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "weibonodejs", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "express": "^4.15.2", 13 | "mysql": "^2.13.0", 14 | "node-schedule": "^1.2.1", 15 | "nodeweibo": "^2.0.4" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /weibonodejs/sendweibo.js: -------------------------------------------------------------------------------- 1 | var Weibo = require('nodeweibo'); 2 | var setting = require('./setting.json'); 3 | 4 | Weibo.init(setting); 5 | // access_token应该是不变的,status里面试要发送的内容 6 | var para = { 7 | "access_token":"2.00IlvKmF05EX2B7c5e17d246vKldGE", 8 | "status":"可能再给我发一条。。。" 9 | } 10 | Weibo.Statuses.update(para,function(data){ 11 | console.log(data); 12 | }) -------------------------------------------------------------------------------- /weibonodejs/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klren0312/stm32_wifi/f2fca4430a733d1e48ae5826c779e1442c049a96/weibonodejs/server.js -------------------------------------------------------------------------------- /weibonodejs/setting.json: -------------------------------------------------------------------------------- 1 | { 2 | "appKey":"19908348", 3 | "appSecret":"0689798918ee99b569d768ea058647d1", 4 | "redirectUrl":"127.0.0.1:3000" 5 | } -------------------------------------------------------------------------------- /weibonodejs/test.js: -------------------------------------------------------------------------------- 1 | 2 | var Weibo = require('nodeweibo'); // require('nodeweibo') also works if you have installed nodeweibo via npm 3 | var setting = require('./setting.json'); // get setting (appKey, appSecret, etc.) 4 | 5 | /* 6 | +------------------------------------------------- 7 | (1)注册账号:http://open.weibo.com/ 8 | (2)在./setting.json中配置您的开发账号。 9 | (3)搞清楚微博的认证机制即oauth2.0认证原理。 10 | (4)第3点很重要,确保你理解这种开放方式。 11 | +------------------------------------------------- 12 | */ 13 | 14 | /* 15 | initialize weibo before using it 16 | */ 17 | Weibo.init(setting); 18 | 19 | 20 | /* 21 | +------------------------------------------------- 22 | 例1:开启微博认证 23 | 启动认证后,将在浏览器器打开一个窗口,url中含有code参数 24 | 注意:运行其中一个例子时,须注释掉另一个例子。 25 | +------------------------------------------------- 26 | */ 27 | 28 | //Weibo.authorize(); 29 | 30 | 31 | /* 32 | +-------------------------------------------------- 33 | 例2:需要获取access_token 34 | (1)阅读微博开放平台API 35 | 如:http://open.weibo.com/wiki/OAuth2/access_token, 36 | 将必要的参数写进jsonParas对象。 37 | (2)在回调中打印出获取的数据 38 | (3)code是您浏览器窗口获得的code。 39 | (4)注意:如运行本例子,请注释掉第1个例子,且code职能调用一次, 40 | 会随着认证不断更新。一个用户一个access_token。 41 | +--------------------------------------------------- 42 | */ 43 | // var jsonParas = { 44 | // code:"ec0845264d86e19e24fa189493c0f60e", 45 | // grant_type:"authorization_code" 46 | // }; 47 | 48 | // Weibo.OAuth2.access_token(jsonParas,function(data){ 49 | // console.log(data); 50 | // }); 51 | 52 | var para = { 53 | "access_token":"2.00IlvKmF05EX2B7c5e17d246vKldGE", 54 | "status":"" 55 | } 56 | Weibo.Statuses.update(para,function(data){ 57 | console.log(data); 58 | }) 59 | /* 60 | example 3, get public timeline 61 | */ 62 | 63 | // set parameters 64 | // var para = { 65 | // "source": Weibo.appKey.appKey, 66 | // "access_token": 'your access_token here' 67 | // }; 68 | 69 | // // get public timeline 70 | // Weibo.Statuses.public_timeline(para, function(data){ 71 | // console.log(data); 72 | // }); 73 | --------------------------------------------------------------------------------