├── .mxproject ├── Drivers ├── CMSIS │ ├── Device │ │ └── ST │ │ │ └── STM32F1xx │ │ │ └── Include │ │ │ ├── stm32f103xe.h │ │ │ ├── stm32f1xx.h │ │ │ └── system_stm32f1xx.h │ └── Include │ │ ├── cmsis_armcc.h │ │ ├── cmsis_armclang.h │ │ ├── cmsis_compiler.h │ │ ├── cmsis_gcc.h │ │ ├── cmsis_iccarm.h │ │ ├── cmsis_version.h │ │ ├── core_armv8mbl.h │ │ ├── core_armv8mml.h │ │ ├── core_cm0.h │ │ ├── core_cm0plus.h │ │ ├── core_cm1.h │ │ ├── core_cm23.h │ │ ├── core_cm3.h │ │ ├── core_cm33.h │ │ ├── core_cm4.h │ │ ├── core_cm7.h │ │ ├── core_sc000.h │ │ ├── core_sc300.h │ │ ├── mpu_armv7.h │ │ ├── mpu_armv8.h │ │ └── tz_context.h └── STM32F1xx_HAL_Driver │ ├── Inc │ ├── Legacy │ │ └── stm32_hal_legacy.h │ ├── stm32f1xx_hal.h │ ├── stm32f1xx_hal_cortex.h │ ├── stm32f1xx_hal_def.h │ ├── stm32f1xx_hal_dma.h │ ├── stm32f1xx_hal_dma_ex.h │ ├── stm32f1xx_hal_exti.h │ ├── stm32f1xx_hal_flash.h │ ├── stm32f1xx_hal_flash_ex.h │ ├── stm32f1xx_hal_gpio.h │ ├── stm32f1xx_hal_gpio_ex.h │ ├── stm32f1xx_hal_pwr.h │ ├── stm32f1xx_hal_rcc.h │ ├── stm32f1xx_hal_rcc_ex.h │ ├── stm32f1xx_hal_tim.h │ ├── stm32f1xx_hal_tim_ex.h │ └── stm32f1xx_hal_uart.h │ └── Src │ ├── stm32f1xx_hal.c │ ├── stm32f1xx_hal_cortex.c │ ├── stm32f1xx_hal_dma.c │ ├── stm32f1xx_hal_exti.c │ ├── stm32f1xx_hal_flash.c │ ├── stm32f1xx_hal_flash_ex.c │ ├── stm32f1xx_hal_gpio.c │ ├── stm32f1xx_hal_gpio_ex.c │ ├── stm32f1xx_hal_pwr.c │ ├── stm32f1xx_hal_rcc.c │ ├── stm32f1xx_hal_rcc_ex.c │ ├── stm32f1xx_hal_tim.c │ ├── stm32f1xx_hal_tim_ex.c │ └── stm32f1xx_hal_uart.c ├── HMAC ├── utils_hmac.c ├── utils_hmac.h ├── utils_md5.c ├── utils_md5.h ├── utils_sha1.c └── utils_sha1.h ├── IOT ├── IOT_baidu.c └── IOT_baidu.h ├── Inc ├── esp8266.h ├── gpio.h ├── main.h ├── stm32f1xx_hal_conf.h ├── stm32f1xx_it.h ├── sys.h ├── tim.h └── usart.h ├── MDK-ARM ├── JLinkLog.txt ├── JLinkSettings.ini ├── RTE │ └── RTE_Components.h ├── WIFI_test.uvguix.Alpha ├── WIFI_test.uvoptx ├── WIFI_test.uvprojx ├── WIFI_test │ ├── ExtDll.iex │ ├── WIFI_test.axf │ ├── WIFI_test.build_log.htm │ ├── WIFI_test.hex │ ├── WIFI_test.htm │ ├── WIFI_test.lnp │ ├── WIFI_test.map │ ├── WIFI_test.sct │ ├── WIFI_test_WIFI_test.dep │ ├── esp8266.crf │ ├── esp8266.d │ ├── esp8266.o │ ├── gpio.crf │ ├── gpio.d │ ├── gpio.o │ ├── iot_baidu.crf │ ├── iot_baidu.d │ ├── iot_baidu.o │ ├── main.crf │ ├── main.d │ ├── main.o │ ├── mqttconnectclient.crf │ ├── mqttconnectclient.d │ ├── mqttconnectclient.o │ ├── mqttconnectserver.crf │ ├── mqttconnectserver.d │ ├── mqttconnectserver.o │ ├── mqttdeserializepublish.crf │ ├── mqttdeserializepublish.d │ ├── mqttdeserializepublish.o │ ├── mqttformat.crf │ ├── mqttformat.d │ ├── mqttformat.o │ ├── mqttpacket.crf │ ├── mqttpacket.d │ ├── mqttpacket.o │ ├── mqttserializepublish.crf │ ├── mqttserializepublish.d │ ├── mqttserializepublish.o │ ├── mqttsubscribeclient.crf │ ├── mqttsubscribeclient.d │ ├── mqttsubscribeclient.o │ ├── mqttsubscribeserver.crf │ ├── mqttsubscribeserver.d │ ├── mqttsubscribeserver.o │ ├── mqttunsubscribeclient.crf │ ├── mqttunsubscribeclient.d │ ├── mqttunsubscribeclient.o │ ├── mqttunsubscribeserver.crf │ ├── mqttunsubscribeserver.d │ ├── mqttunsubscribeserver.o │ ├── startup_stm32f103xe.d │ ├── startup_stm32f103xe.o │ ├── stm32f1xx_hal.crf │ ├── stm32f1xx_hal.d │ ├── stm32f1xx_hal.o │ ├── stm32f1xx_hal_cortex.crf │ ├── stm32f1xx_hal_cortex.d │ ├── stm32f1xx_hal_cortex.o │ ├── stm32f1xx_hal_dma.crf │ ├── stm32f1xx_hal_dma.d │ ├── stm32f1xx_hal_dma.o │ ├── stm32f1xx_hal_exti.crf │ ├── stm32f1xx_hal_exti.d │ ├── stm32f1xx_hal_exti.o │ ├── stm32f1xx_hal_flash.crf │ ├── stm32f1xx_hal_flash.d │ ├── stm32f1xx_hal_flash.o │ ├── stm32f1xx_hal_flash_ex.crf │ ├── stm32f1xx_hal_flash_ex.d │ ├── stm32f1xx_hal_flash_ex.o │ ├── stm32f1xx_hal_gpio.crf │ ├── stm32f1xx_hal_gpio.d │ ├── stm32f1xx_hal_gpio.o │ ├── stm32f1xx_hal_gpio_ex.crf │ ├── stm32f1xx_hal_gpio_ex.d │ ├── stm32f1xx_hal_gpio_ex.o │ ├── stm32f1xx_hal_msp.crf │ ├── stm32f1xx_hal_msp.d │ ├── stm32f1xx_hal_msp.o │ ├── stm32f1xx_hal_pwr.crf │ ├── stm32f1xx_hal_pwr.d │ ├── stm32f1xx_hal_pwr.o │ ├── stm32f1xx_hal_rcc.crf │ ├── stm32f1xx_hal_rcc.d │ ├── stm32f1xx_hal_rcc.o │ ├── stm32f1xx_hal_rcc_ex.crf │ ├── stm32f1xx_hal_rcc_ex.d │ ├── stm32f1xx_hal_rcc_ex.o │ ├── stm32f1xx_hal_tim.crf │ ├── stm32f1xx_hal_tim.d │ ├── stm32f1xx_hal_tim.o │ ├── stm32f1xx_hal_tim_ex.crf │ ├── stm32f1xx_hal_tim_ex.d │ ├── stm32f1xx_hal_tim_ex.o │ ├── stm32f1xx_hal_uart.crf │ ├── stm32f1xx_hal_uart.d │ ├── stm32f1xx_hal_uart.o │ ├── stm32f1xx_it.crf │ ├── stm32f1xx_it.d │ ├── stm32f1xx_it.o │ ├── sys.crf │ ├── sys.d │ ├── sys.o │ ├── system_stm32f1xx.crf │ ├── system_stm32f1xx.d │ ├── system_stm32f1xx.o │ ├── tim.crf │ ├── tim.d │ ├── tim.o │ ├── transport.crf │ ├── transport.d │ ├── transport.o │ ├── usart.crf │ ├── usart.d │ ├── usart.o │ ├── utils_hmac.crf │ ├── utils_hmac.d │ ├── utils_hmac.o │ ├── utils_md5.crf │ ├── utils_md5.d │ ├── utils_md5.o │ ├── utils_sha1.crf │ ├── utils_sha1.d │ └── utils_sha1.o ├── startup_stm32f103xe.lst └── startup_stm32f103xe.s ├── Mqtt ├── MQTTConnect.h ├── MQTTConnectClient.c ├── MQTTConnectServer.c ├── MQTTDeserializePublish.c ├── MQTTFormat.c ├── MQTTFormat.h ├── MQTTPacket.c ├── MQTTPacket.h ├── MQTTPublish.h ├── MQTTSerializePublish.c ├── MQTTSubscribe.h ├── MQTTSubscribeClient.c ├── MQTTSubscribeServer.c ├── MQTTUnsubscribe.h ├── MQTTUnsubscribeClient.c ├── MQTTUnsubscribeServer.c ├── StackTrace.h ├── transport.c └── transport.h ├── README.md ├── Src ├── esp8266.c ├── gpio.c ├── main.c ├── stm32f1xx_hal_msp.c ├── stm32f1xx_it.c ├── sys.c ├── system_stm32f1xx.c ├── tim.c └── usart.c └── WIFI_test.ioc /.mxproject: -------------------------------------------------------------------------------- 1 | [PreviousGenFiles] 2 | HeaderPath=F:/fallout/dachuang/WIFI_test/Inc 3 | HeaderFiles=gpio.h;sys.h;tim.h;usart.h;stm32f1xx_it.h;stm32f1xx_hal_conf.h;main.h; 4 | SourcePath=F:/fallout/dachuang/WIFI_test/Src 5 | SourceFiles=gpio.c;sys.c;tim.c;usart.c;stm32f1xx_it.c;stm32f1xx_hal_msp.c;main.c; 6 | 7 | [PreviousLibFiles] 8 | LibFiles=Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h;Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_armv8mbl.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/tz_context.h; 9 | 10 | [PreviousUsedKeilFiles] 11 | SourceFiles=..\Src\main.c;..\Src\gpio.c;..\Src\sys.c;..\Src\tim.c;..\Src\usart.c;..\Src\stm32f1xx_it.c;..\Src\stm32f1xx_hal_msp.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;..\\Src/system_stm32f1xx.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;..\Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;..\\Src/system_stm32f1xx.c;..\Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;; 12 | HeaderPath=..\Drivers\STM32F1xx_HAL_Driver\Inc;..\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy;..\Drivers\CMSIS\Device\ST\STM32F1xx\Include;..\Drivers\CMSIS\Include;..\Inc; 13 | CDefines=USE_HAL_DRIVER;STM32F103xE;USE_HAL_DRIVER;USE_HAL_DRIVER; 14 | 15 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file system_stm32f10x.h 4 | * @author MCD Application Team 5 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2017 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | 20 | /** @addtogroup CMSIS 21 | * @{ 22 | */ 23 | 24 | /** @addtogroup stm32f10x_system 25 | * @{ 26 | */ 27 | 28 | /** 29 | * @brief Define to prevent recursive inclusion 30 | */ 31 | #ifndef __SYSTEM_STM32F10X_H 32 | #define __SYSTEM_STM32F10X_H 33 | 34 | #ifdef __cplusplus 35 | extern "C" { 36 | #endif 37 | 38 | /** @addtogroup STM32F10x_System_Includes 39 | * @{ 40 | */ 41 | 42 | /** 43 | * @} 44 | */ 45 | 46 | 47 | /** @addtogroup STM32F10x_System_Exported_types 48 | * @{ 49 | */ 50 | 51 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 52 | extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */ 53 | extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */ 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 STMicroelectronics *****END OF FILE****/ 99 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Include/cmsis_version.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************//** 2 | * @file cmsis_version.h 3 | * @brief CMSIS Core(M) Version definitions 4 | * @version V5.0.2 5 | * @date 19. April 2017 6 | ******************************************************************************/ 7 | /* 8 | * Copyright (c) 2009-2017 ARM Limited. All rights reserved. 9 | * 10 | * SPDX-License-Identifier: Apache-2.0 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the License); you may 13 | * not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT 20 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | #if defined ( __ICCARM__ ) 26 | #pragma system_include /* treat file as system include file for MISRA check */ 27 | #elif defined (__clang__) 28 | #pragma clang system_header /* treat file as system include file */ 29 | #endif 30 | 31 | #ifndef __CMSIS_VERSION_H 32 | #define __CMSIS_VERSION_H 33 | 34 | /* CMSIS Version definitions */ 35 | #define __CM_CMSIS_VERSION_MAIN ( 5U) /*!< [31:16] CMSIS Core(M) main version */ 36 | #define __CM_CMSIS_VERSION_SUB ( 1U) /*!< [15:0] CMSIS Core(M) sub version */ 37 | #define __CM_CMSIS_VERSION ((__CM_CMSIS_VERSION_MAIN << 16U) | \ 38 | __CM_CMSIS_VERSION_SUB ) /*!< CMSIS Core(M) version number */ 39 | #endif 40 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Include/tz_context.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * @file tz_context.h 3 | * @brief Context Management for Armv8-M TrustZone 4 | * @version V1.0.1 5 | * @date 10. January 2018 6 | ******************************************************************************/ 7 | /* 8 | * Copyright (c) 2017-2018 Arm Limited. All rights reserved. 9 | * 10 | * SPDX-License-Identifier: Apache-2.0 11 | * 12 | * Licensed under the Apache License, Version 2.0 (the License); you may 13 | * not use this file except in compliance with the License. 14 | * You may obtain a copy of the License at 15 | * 16 | * www.apache.org/licenses/LICENSE-2.0 17 | * 18 | * Unless required by applicable law or agreed to in writing, software 19 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT 20 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | * See the License for the specific language governing permissions and 22 | * limitations under the License. 23 | */ 24 | 25 | #if defined ( __ICCARM__ ) 26 | #pragma system_include /* treat file as system include file for MISRA check */ 27 | #elif defined (__clang__) 28 | #pragma clang system_header /* treat file as system include file */ 29 | #endif 30 | 31 | #ifndef TZ_CONTEXT_H 32 | #define TZ_CONTEXT_H 33 | 34 | #include 35 | 36 | #ifndef TZ_MODULEID_T 37 | #define TZ_MODULEID_T 38 | /// \details Data type that identifies secure software modules called by a process. 39 | typedef uint32_t TZ_ModuleId_t; 40 | #endif 41 | 42 | /// \details TZ Memory ID identifies an allocated memory slot. 43 | typedef uint32_t TZ_MemoryId_t; 44 | 45 | /// Initialize secure context memory system 46 | /// \return execution status (1: success, 0: error) 47 | uint32_t TZ_InitContextSystem_S (void); 48 | 49 | /// Allocate context memory for calling secure software modules in TrustZone 50 | /// \param[in] module identifies software modules called from non-secure mode 51 | /// \return value != 0 id TrustZone memory slot identifier 52 | /// \return value 0 no memory available or internal error 53 | TZ_MemoryId_t TZ_AllocModuleContext_S (TZ_ModuleId_t module); 54 | 55 | /// Free context memory that was previously allocated with \ref TZ_AllocModuleContext_S 56 | /// \param[in] id TrustZone memory slot identifier 57 | /// \return execution status (1: success, 0: error) 58 | uint32_t TZ_FreeModuleContext_S (TZ_MemoryId_t id); 59 | 60 | /// Load secure context (called on RTOS thread context switch) 61 | /// \param[in] id TrustZone memory slot identifier 62 | /// \return execution status (1: success, 0: error) 63 | uint32_t TZ_LoadContext_S (TZ_MemoryId_t id); 64 | 65 | /// Store secure context (called on RTOS thread context switch) 66 | /// \param[in] id TrustZone memory slot identifier 67 | /// \return execution status (1: success, 0: error) 68 | uint32_t TZ_StoreContext_S (TZ_MemoryId_t id); 69 | 70 | #endif // TZ_CONTEXT_H 71 | -------------------------------------------------------------------------------- /Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f1xx_hal_gpio_ex.c 4 | * @author MCD Application Team 5 | * @brief GPIO Extension HAL module driver. 6 | * This file provides firmware functions to manage the following 7 | * functionalities of the General Purpose Input/Output (GPIO) extension peripheral. 8 | * + Extended features functions 9 | * 10 | @verbatim 11 | ============================================================================== 12 | ##### GPIO Peripheral extension features ##### 13 | ============================================================================== 14 | [..] GPIO module on STM32F1 family, manage also the AFIO register: 15 | (+) Possibility to use the EVENTOUT Cortex feature 16 | 17 | ##### How to use this driver ##### 18 | ============================================================================== 19 | [..] This driver provides functions to use EVENTOUT Cortex feature 20 | (#) Configure EVENTOUT Cortex feature using the function HAL_GPIOEx_ConfigEventout() 21 | (#) Activate EVENTOUT Cortex feature using the HAL_GPIOEx_EnableEventout() 22 | (#) Deactivate EVENTOUT Cortex feature using the HAL_GPIOEx_DisableEventout() 23 | 24 | @endverbatim 25 | ****************************************************************************** 26 | * @attention 27 | * 28 | *

© Copyright (c) 2016 STMicroelectronics. 29 | * All rights reserved.

30 | * 31 | * This software component is licensed by ST under BSD 3-Clause license, 32 | * the "License"; You may not use this file except in compliance with the 33 | * License. You may obtain a copy of the License at: 34 | * opensource.org/licenses/BSD-3-Clause 35 | * 36 | ****************************************************************************** 37 | */ 38 | 39 | /* Includes ------------------------------------------------------------------*/ 40 | #include "stm32f1xx_hal.h" 41 | 42 | /** @addtogroup STM32F1xx_HAL_Driver 43 | * @{ 44 | */ 45 | 46 | /** @defgroup GPIOEx GPIOEx 47 | * @brief GPIO HAL module driver 48 | * @{ 49 | */ 50 | 51 | #ifdef HAL_GPIO_MODULE_ENABLED 52 | 53 | /** @defgroup GPIOEx_Exported_Functions GPIOEx Exported Functions 54 | * @{ 55 | */ 56 | 57 | /** @defgroup GPIOEx_Exported_Functions_Group1 Extended features functions 58 | * @brief Extended features functions 59 | * 60 | @verbatim 61 | ============================================================================== 62 | ##### Extended features functions ##### 63 | ============================================================================== 64 | [..] This section provides functions allowing to: 65 | (+) Configure EVENTOUT Cortex feature using the function HAL_GPIOEx_ConfigEventout() 66 | (+) Activate EVENTOUT Cortex feature using the HAL_GPIOEx_EnableEventout() 67 | (+) Deactivate EVENTOUT Cortex feature using the HAL_GPIOEx_DisableEventout() 68 | 69 | @endverbatim 70 | * @{ 71 | */ 72 | 73 | /** 74 | * @brief Configures the port and pin on which the EVENTOUT Cortex signal will be connected. 75 | * @param GPIO_PortSource Select the port used to output the Cortex EVENTOUT signal. 76 | * This parameter can be a value of @ref GPIOEx_EVENTOUT_PORT. 77 | * @param GPIO_PinSource Select the pin used to output the Cortex EVENTOUT signal. 78 | * This parameter can be a value of @ref GPIOEx_EVENTOUT_PIN. 79 | * @retval None 80 | */ 81 | void HAL_GPIOEx_ConfigEventout(uint32_t GPIO_PortSource, uint32_t GPIO_PinSource) 82 | { 83 | /* Verify the parameters */ 84 | assert_param(IS_AFIO_EVENTOUT_PORT(GPIO_PortSource)); 85 | assert_param(IS_AFIO_EVENTOUT_PIN(GPIO_PinSource)); 86 | 87 | /* Apply the new configuration */ 88 | MODIFY_REG(AFIO->EVCR, (AFIO_EVCR_PORT) | (AFIO_EVCR_PIN), (GPIO_PortSource) | (GPIO_PinSource)); 89 | } 90 | 91 | /** 92 | * @brief Enables the Event Output. 93 | * @retval None 94 | */ 95 | void HAL_GPIOEx_EnableEventout(void) 96 | { 97 | SET_BIT(AFIO->EVCR, AFIO_EVCR_EVOE); 98 | } 99 | 100 | /** 101 | * @brief Disables the Event Output. 102 | * @retval None 103 | */ 104 | void HAL_GPIOEx_DisableEventout(void) 105 | { 106 | CLEAR_BIT(AFIO->EVCR, AFIO_EVCR_EVOE); 107 | } 108 | 109 | /** 110 | * @} 111 | */ 112 | 113 | /** 114 | * @} 115 | */ 116 | 117 | #endif /* HAL_GPIO_MODULE_ENABLED */ 118 | 119 | /** 120 | * @} 121 | */ 122 | 123 | /** 124 | * @} 125 | */ 126 | 127 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 128 | -------------------------------------------------------------------------------- /HMAC/utils_hmac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/HMAC/utils_hmac.c -------------------------------------------------------------------------------- /HMAC/utils_hmac.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef UTILS_HMAC_H_ 3 | #define UTILS_HMAC_H_ 4 | 5 | #include "stdio.h" 6 | #include "stdint.h" 7 | #include "stdlib.h" 8 | #include "string.h" 9 | 10 | void utils_hmac_md5(const char *msg, int msg_len, char *digest, const char *key, int key_len); 11 | void utils_hmac_sha1(const char *msg, int msg_len, char *digest, const char *key, int key_len); 12 | int base64_decode( const char * base64, unsigned char * bindata ); 13 | 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /HMAC/utils_md5.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef UTILS_MD5_H_ 4 | #define UTILS_MD5_H_ 5 | 6 | #include "stdio.h" 7 | #include "stdint.h" 8 | #include "stdlib.h" 9 | #include "string.h" 10 | 11 | typedef struct { 12 | uint32_t total[2]; /*!< number of bytes processed */ 13 | uint32_t state[4]; /*!< intermediate digest state */ 14 | unsigned char buffer[64]; /*!< data block being processed */ 15 | } iot_md5_context; 16 | 17 | 18 | /** 19 | * @brief 初始化MD5上下文 20 | * 21 | * @param ctx MD5上下文指针 22 | */ 23 | void utils_md5_init(iot_md5_context *ctx); 24 | 25 | /** 26 | * @brief 清空MD5上下文 27 | * 28 | * @param ctx MD5上下文指针 29 | */ 30 | void utils_md5_free(iot_md5_context *ctx); 31 | 32 | /** 33 | * @brief 拷贝MD5上下文 34 | * 35 | * @param dst 目标MD5上下文 36 | * @param src 源MD5上下文 37 | */ 38 | void utils_md5_clone(iot_md5_context *dst, 39 | const iot_md5_context *src); 40 | 41 | /** 42 | * @brief 设置MD5上下文 43 | * 44 | * @param ctx MD5上下文指针 45 | */ 46 | void utils_md5_starts(iot_md5_context *ctx); 47 | 48 | /** 49 | * @brief MD5过程缓冲区 50 | * 51 | * @param ctx MD5上下文指针 52 | * @param input 输入数据 53 | * @param ilen 输入数据长度 54 | */ 55 | void utils_md5_update(iot_md5_context *ctx, const unsigned char *input, size_t ilen); 56 | 57 | /** 58 | * @brief MD5数据 59 | * 60 | * @param ctx MD5上下文指针 61 | * @param output MD5校验和结果 62 | */ 63 | void utils_md5_finish(iot_md5_context *ctx, unsigned char output[16]); 64 | 65 | /* 内部使用 */ 66 | void utils_md5_process(iot_md5_context *ctx, const unsigned char data[64]); 67 | 68 | /** 69 | * @brief Output = MD5( input buffer ) 70 | * 71 | * @param input 输入数据 72 | * @param ilen 输入数据长度 73 | * @param output MD5校验和结果 74 | */ 75 | void utils_md5(const unsigned char *input, size_t ilen, unsigned char output[16]); 76 | 77 | 78 | int8_t utils_hb2hex(uint8_t hb); 79 | 80 | 81 | #endif 82 | 83 | -------------------------------------------------------------------------------- /HMAC/utils_sha1.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef UTILS_SHA1_H_ 4 | #define UTILS_SHA1_H_ 5 | 6 | #include "stdio.h" 7 | #include "stdint.h" 8 | #include "stdlib.h" 9 | #include "string.h" 10 | 11 | /** 12 | * \brief SHA-1 context structure 13 | */ 14 | typedef struct { 15 | uint32_t total[2]; /*!< number of bytes processed */ 16 | uint32_t state[5]; /*!< intermediate digest state */ 17 | unsigned char buffer[64]; /*!< data block being processed */ 18 | } iot_sha1_context; 19 | 20 | /** 21 | * \brief Initialize SHA-1 context 22 | * 23 | * \param ctx SHA-1 context to be initialized 24 | */ 25 | void utils_sha1_init(iot_sha1_context *ctx); 26 | 27 | /** 28 | * \brief Clear SHA-1 context 29 | * 30 | * \param ctx SHA-1 context to be cleared 31 | */ 32 | void utils_sha1_free(iot_sha1_context *ctx); 33 | 34 | /** 35 | * \brief Clone (the state of) a SHA-1 context 36 | * 37 | * \param dst The destination context 38 | * \param src The context to be cloned 39 | */ 40 | void utils_sha1_clone(iot_sha1_context *dst, 41 | const iot_sha1_context *src); 42 | 43 | /** 44 | * \brief SHA-1 context setup 45 | * 46 | * \param ctx context to be initialized 47 | */ 48 | void utils_sha1_starts(iot_sha1_context *ctx); 49 | 50 | /** 51 | * \brief SHA-1 process buffer 52 | * 53 | * \param ctx SHA-1 context 54 | * \param input buffer holding the data 55 | * \param ilen length of the input data 56 | */ 57 | void utils_sha1_update(iot_sha1_context *ctx, const unsigned char *input, size_t ilen); 58 | 59 | /** 60 | * \brief SHA-1 final digest 61 | * 62 | * \param ctx SHA-1 context 63 | * \param output SHA-1 checksum result 64 | */ 65 | void utils_sha1_finish(iot_sha1_context *ctx, unsigned char output[20]); 66 | 67 | /* Internal use */ 68 | void utils_sha1_process(iot_sha1_context *ctx, const unsigned char data[64]); 69 | 70 | /** 71 | * \brief Output = SHA-1( input buffer ) 72 | * 73 | * \param input buffer holding the data 74 | * \param ilen length of the input data 75 | * \param output SHA-1 checksum result 76 | */ 77 | void utils_sha1(const unsigned char *input, size_t ilen, unsigned char output[20]); 78 | 79 | #endif 80 | -------------------------------------------------------------------------------- /IOT/IOT_baidu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/IOT/IOT_baidu.c -------------------------------------------------------------------------------- /IOT/IOT_baidu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/IOT/IOT_baidu.h -------------------------------------------------------------------------------- /Inc/esp8266.h: -------------------------------------------------------------------------------- 1 | #ifndef _ESP_H 2 | #define _ESP_H 3 | 4 | #include "stm32f1xx_hal.h" 5 | #include "string.h" 6 | #include "stdlib.h" 7 | #include "usart.h" 8 | 9 | #define SSID "Zhang Zeng Tao" 10 | #define PASS "password0606" 11 | 12 | #define IPBUF "192.168.0.7" 13 | #define PORTNUM "8086" 14 | 15 | #define IOT_DOMAIN_NAME "a1w0XJbXwh0.iot-as-mqtt.cn-shanghai.aliyuncs.com" 16 | #define IOT_PORTNUM "1883" 17 | 18 | uint8_t esp8266_send_cmd(uint8_t *cmd,uint8_t *ack,uint16_t waittime); 19 | uint8_t* esp8266_check_cmd(uint8_t *str); 20 | uint8_t esp8266_Connect_IOTServer(void); 21 | uint8_t esp8266_Connect_AP(void); 22 | uint8_t esp8266_Connect_Server(void); 23 | uint8_t esp8266_quit_trans(void); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /Inc/gpio.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * File Name : gpio.h 4 | * Description : This file contains all the functions prototypes for 5 | * the gpio 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | 20 | /* Define to prevent recursive inclusion -------------------------------------*/ 21 | #ifndef __gpio_H 22 | #define __gpio_H 23 | #ifdef __cplusplus 24 | extern "C" { 25 | #endif 26 | 27 | /* Includes ------------------------------------------------------------------*/ 28 | #include "main.h" 29 | 30 | /* USER CODE BEGIN Includes */ 31 | 32 | /* USER CODE END Includes */ 33 | 34 | /* USER CODE BEGIN Private defines */ 35 | 36 | /* USER CODE END Private defines */ 37 | 38 | void MX_GPIO_Init(void); 39 | 40 | /* USER CODE BEGIN Prototypes */ 41 | 42 | /* USER CODE END Prototypes */ 43 | 44 | #ifdef __cplusplus 45 | } 46 | #endif 47 | #endif /*__ pinoutConfig_H */ 48 | 49 | /** 50 | * @} 51 | */ 52 | 53 | /** 54 | * @} 55 | */ 56 | 57 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 58 | -------------------------------------------------------------------------------- /Inc/main.h: -------------------------------------------------------------------------------- 1 | /* USER CODE BEGIN Header */ 2 | /** 3 | ****************************************************************************** 4 | * @file : main.h 5 | * @brief : Header for main.c file. 6 | * This file contains the common defines of the application. 7 | ****************************************************************************** 8 | * @attention 9 | * 10 | *

© Copyright (c) 2020 STMicroelectronics. 11 | * All rights reserved.

12 | * 13 | * This software component is licensed by ST under BSD 3-Clause license, 14 | * the "License"; You may not use this file except in compliance with the 15 | * License. You may obtain a copy of the License at: 16 | * opensource.org/licenses/BSD-3-Clause 17 | * 18 | ****************************************************************************** 19 | */ 20 | /* USER CODE END Header */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __MAIN_H 24 | #define __MAIN_H 25 | 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | /* Includes ------------------------------------------------------------------*/ 31 | #include "stm32f1xx_hal.h" 32 | 33 | /* Private includes ----------------------------------------------------------*/ 34 | /* USER CODE BEGIN Includes */ 35 | 36 | /* USER CODE END Includes */ 37 | 38 | /* Exported types ------------------------------------------------------------*/ 39 | /* USER CODE BEGIN ET */ 40 | 41 | /* USER CODE END ET */ 42 | 43 | /* Exported constants --------------------------------------------------------*/ 44 | /* USER CODE BEGIN EC */ 45 | 46 | /* USER CODE END EC */ 47 | 48 | /* Exported macro ------------------------------------------------------------*/ 49 | /* USER CODE BEGIN EM */ 50 | 51 | /* USER CODE END EM */ 52 | 53 | /* Exported functions prototypes ---------------------------------------------*/ 54 | void Error_Handler(void); 55 | 56 | /* USER CODE BEGIN EFP */ 57 | 58 | /* USER CODE END EFP */ 59 | 60 | /* Private defines -----------------------------------------------------------*/ 61 | /* USER CODE BEGIN Private defines */ 62 | 63 | /* USER CODE END Private defines */ 64 | 65 | #ifdef __cplusplus 66 | } 67 | #endif 68 | 69 | #endif /* __MAIN_H */ 70 | 71 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 72 | -------------------------------------------------------------------------------- /Inc/stm32f1xx_it.h: -------------------------------------------------------------------------------- 1 | /* USER CODE BEGIN Header */ 2 | /** 3 | ****************************************************************************** 4 | * @file stm32f1xx_it.h 5 | * @brief This file contains the headers of the interrupt handlers. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | /* USER CODE END Header */ 20 | 21 | /* Define to prevent recursive inclusion -------------------------------------*/ 22 | #ifndef __STM32F1xx_IT_H 23 | #define __STM32F1xx_IT_H 24 | 25 | #ifdef __cplusplus 26 | extern "C" { 27 | #endif 28 | 29 | /* Private includes ----------------------------------------------------------*/ 30 | /* USER CODE BEGIN Includes */ 31 | 32 | /* USER CODE END Includes */ 33 | 34 | /* Exported types ------------------------------------------------------------*/ 35 | /* USER CODE BEGIN ET */ 36 | 37 | /* USER CODE END ET */ 38 | 39 | /* Exported constants --------------------------------------------------------*/ 40 | /* USER CODE BEGIN EC */ 41 | 42 | /* USER CODE END EC */ 43 | 44 | /* Exported macro ------------------------------------------------------------*/ 45 | /* USER CODE BEGIN EM */ 46 | 47 | /* USER CODE END EM */ 48 | 49 | /* Exported functions prototypes ---------------------------------------------*/ 50 | void NMI_Handler(void); 51 | void HardFault_Handler(void); 52 | void MemManage_Handler(void); 53 | void BusFault_Handler(void); 54 | void UsageFault_Handler(void); 55 | void SVC_Handler(void); 56 | void DebugMon_Handler(void); 57 | void PendSV_Handler(void); 58 | void SysTick_Handler(void); 59 | void TIM2_IRQHandler(void); 60 | void USART1_IRQHandler(void); 61 | void USART3_IRQHandler(void); 62 | /* USER CODE BEGIN EFP */ 63 | 64 | /* USER CODE END EFP */ 65 | 66 | #ifdef __cplusplus 67 | } 68 | #endif 69 | 70 | #endif /* __STM32F1xx_IT_H */ 71 | 72 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 73 | -------------------------------------------------------------------------------- /Inc/sys.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * File Name : SYS.h 4 | * Description : This file provides code for the configuration 5 | * of the SYS instances. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | /* Define to prevent recursive inclusion -------------------------------------*/ 20 | #ifndef __sys_H 21 | #define __sys_H 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | /* Includes ------------------------------------------------------------------*/ 27 | #include "main.h" 28 | 29 | /* USER CODE BEGIN Includes */ 30 | 31 | /* USER CODE END Includes */ 32 | 33 | /* USER CODE BEGIN Private defines */ 34 | 35 | /* USER CODE END Private defines */ 36 | 37 | void MX_SYS_Init(void); 38 | 39 | /* USER CODE BEGIN Prototypes */ 40 | 41 | /* USER CODE END Prototypes */ 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | #endif /*__ sys_H */ 47 | 48 | /** 49 | * @} 50 | */ 51 | 52 | /** 53 | * @} 54 | */ 55 | 56 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 57 | -------------------------------------------------------------------------------- /Inc/tim.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * File Name : TIM.h 4 | * Description : This file provides code for the configuration 5 | * of the TIM instances. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | /* Define to prevent recursive inclusion -------------------------------------*/ 20 | #ifndef __tim_H 21 | #define __tim_H 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | /* Includes ------------------------------------------------------------------*/ 27 | #include "main.h" 28 | 29 | /* USER CODE BEGIN Includes */ 30 | #include "usart.h" 31 | /* USER CODE END Includes */ 32 | 33 | extern TIM_HandleTypeDef htim2; 34 | 35 | /* USER CODE BEGIN Private defines */ 36 | 37 | /* USER CODE END Private defines */ 38 | 39 | void MX_TIM2_Init(void); 40 | 41 | /* USER CODE BEGIN Prototypes */ 42 | 43 | /* USER CODE END Prototypes */ 44 | 45 | #ifdef __cplusplus 46 | } 47 | #endif 48 | #endif /*__ tim_H */ 49 | 50 | /** 51 | * @} 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 59 | -------------------------------------------------------------------------------- /Inc/usart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Inc/usart.h -------------------------------------------------------------------------------- /MDK-ARM/JLinkSettings.ini: -------------------------------------------------------------------------------- 1 | [BREAKPOINTS] 2 | ForceImpTypeAny = 0 3 | ShowInfoWin = 1 4 | EnableFlashBP = 2 5 | BPDuringExecution = 0 6 | [CFI] 7 | CFISize = 0x00 8 | CFIAddr = 0x00 9 | [CPU] 10 | OverrideMemMap = 0 11 | AllowSimulation = 1 12 | ScriptFile="" 13 | [FLASH] 14 | CacheExcludeSize = 0x00 15 | CacheExcludeAddr = 0x00 16 | MinNumBytesFlashDL = 0 17 | SkipProgOnCRCMatch = 1 18 | VerifyDownload = 1 19 | AllowCaching = 1 20 | EnableFlashDL = 2 21 | Override = 0 22 | Device="UNSPECIFIED" 23 | [GENERAL] 24 | WorkRAMSize = 0x00 25 | WorkRAMAddr = 0x00 26 | RAMUsageLimit = 0x00 27 | [SWO] 28 | SWOLogFile="" 29 | [MEM] 30 | RdOverrideOrMask = 0x00 31 | RdOverrideAndMask = 0xFFFFFFFF 32 | RdOverrideAddr = 0xFFFFFFFF 33 | WrOverrideOrMask = 0x00 34 | WrOverrideAndMask = 0xFFFFFFFF 35 | WrOverrideAddr = 0xFFFFFFFF 36 | -------------------------------------------------------------------------------- /MDK-ARM/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Auto generated Run-Time-Environment Component Configuration File 4 | * *** Do not modify ! *** 5 | * 6 | * Project: 'WIFI_test' 7 | * Target: 'WIFI_test' 8 | */ 9 | 10 | #ifndef RTE_COMPONENTS_H 11 | #define RTE_COMPONENTS_H 12 | 13 | 14 | #endif /* RTE_COMPONENTS_H */ 15 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/ExtDll.iex: -------------------------------------------------------------------------------- 1 | [EXTDLL] 2 | Count=0 3 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/WIFI_test.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/WIFI_test.axf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/WIFI_test.build_log.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/WIFI_test.build_log.htm -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/WIFI_test.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M3 2 | "wifi_test\startup_stm32f103xe.o" 3 | "wifi_test\esp8266.o" 4 | "wifi_test\main.o" 5 | "wifi_test\gpio.o" 6 | "wifi_test\sys.o" 7 | "wifi_test\tim.o" 8 | "wifi_test\usart.o" 9 | "wifi_test\stm32f1xx_it.o" 10 | "wifi_test\stm32f1xx_hal_msp.o" 11 | "wifi_test\stm32f1xx_hal_gpio_ex.o" 12 | "wifi_test\stm32f1xx_hal_tim.o" 13 | "wifi_test\stm32f1xx_hal_tim_ex.o" 14 | "wifi_test\stm32f1xx_hal.o" 15 | "wifi_test\stm32f1xx_hal_rcc.o" 16 | "wifi_test\stm32f1xx_hal_rcc_ex.o" 17 | "wifi_test\stm32f1xx_hal_gpio.o" 18 | "wifi_test\stm32f1xx_hal_dma.o" 19 | "wifi_test\stm32f1xx_hal_cortex.o" 20 | "wifi_test\stm32f1xx_hal_pwr.o" 21 | "wifi_test\stm32f1xx_hal_flash.o" 22 | "wifi_test\stm32f1xx_hal_flash_ex.o" 23 | "wifi_test\stm32f1xx_hal_exti.o" 24 | "wifi_test\stm32f1xx_hal_uart.o" 25 | "wifi_test\system_stm32f1xx.o" 26 | "wifi_test\mqttconnectclient.o" 27 | "wifi_test\mqttconnectserver.o" 28 | "wifi_test\mqttdeserializepublish.o" 29 | "wifi_test\mqttformat.o" 30 | "wifi_test\mqttpacket.o" 31 | "wifi_test\mqttserializepublish.o" 32 | "wifi_test\mqttsubscribeclient.o" 33 | "wifi_test\mqttsubscribeserver.o" 34 | "wifi_test\mqttunsubscribeclient.o" 35 | "wifi_test\mqttunsubscribeserver.o" 36 | "wifi_test\transport.o" 37 | "wifi_test\iot_baidu.o" 38 | "wifi_test\utils_hmac.o" 39 | "wifi_test\utils_md5.o" 40 | "wifi_test\utils_sha1.o" 41 | --library_type=microlib --strict --scatter "WIFI_test\WIFI_test.sct" 42 | --summary_stderr --info summarysizes --map --xref --callgraph --symbols 43 | --info sizes --info totals --info unused --info veneers 44 | --list "WIFI_test.map" -o WIFI_test\WIFI_test.axf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/WIFI_test.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 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/esp8266.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/esp8266.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/esp8266.d: -------------------------------------------------------------------------------- 1 | wifi_test\esp8266.o: ..\Src\esp8266.c 2 | wifi_test\esp8266.o: ../Inc/esp8266.h 3 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 4 | wifi_test\esp8266.o: ../Inc/stm32f1xx_hal_conf.h 5 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 6 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 7 | wifi_test\esp8266.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 8 | wifi_test\esp8266.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 9 | wifi_test\esp8266.o: ../Drivers/CMSIS/Include/core_cm3.h 10 | wifi_test\esp8266.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 11 | wifi_test\esp8266.o: ../Drivers/CMSIS/Include/cmsis_version.h 12 | wifi_test\esp8266.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 13 | wifi_test\esp8266.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 14 | wifi_test\esp8266.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 15 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 16 | wifi_test\esp8266.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 17 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 18 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 19 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 20 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 21 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 22 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 23 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 24 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 25 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 26 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 27 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 28 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 29 | wifi_test\esp8266.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 30 | wifi_test\esp8266.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 31 | wifi_test\esp8266.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 32 | wifi_test\esp8266.o: ../Inc/usart.h 33 | wifi_test\esp8266.o: ../Inc/main.h 34 | wifi_test\esp8266.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 35 | wifi_test\esp8266.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 36 | wifi_test\esp8266.o: ../Inc/tim.h 37 | wifi_test\esp8266.o: ../Inc/usart.h 38 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/esp8266.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/esp8266.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/gpio.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/gpio.d: -------------------------------------------------------------------------------- 1 | wifi_test\gpio.o: ../Src/gpio.c 2 | wifi_test\gpio.o: ../Inc/gpio.h 3 | wifi_test\gpio.o: ../Inc/main.h 4 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 5 | wifi_test\gpio.o: ../Inc/stm32f1xx_hal_conf.h 6 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 7 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 8 | wifi_test\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 9 | wifi_test\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 10 | wifi_test\gpio.o: ../Drivers/CMSIS/Include/core_cm3.h 11 | wifi_test\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 12 | wifi_test\gpio.o: ../Drivers/CMSIS/Include/cmsis_version.h 13 | wifi_test\gpio.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 14 | wifi_test\gpio.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | wifi_test\gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 16 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 17 | wifi_test\gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 18 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 19 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 20 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 21 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 22 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 23 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 24 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 25 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 26 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 27 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 28 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 29 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 30 | wifi_test\gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/gpio.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/iot_baidu.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/iot_baidu.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/iot_baidu.d: -------------------------------------------------------------------------------- 1 | wifi_test\iot_baidu.o: ..\IOT\IOT_baidu.c 2 | wifi_test\iot_baidu.o: ..\IOT\IOT_baidu.h 3 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 4 | wifi_test\iot_baidu.o: ../Inc/stm32f1xx_hal_conf.h 5 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 6 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 7 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 8 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 9 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Include/core_cm3.h 10 | wifi_test\iot_baidu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 11 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Include/cmsis_version.h 12 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 13 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 14 | wifi_test\iot_baidu.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 15 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 16 | wifi_test\iot_baidu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 17 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 18 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 19 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 20 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 21 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 22 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 23 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 24 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 25 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 26 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 27 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 28 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 29 | wifi_test\iot_baidu.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 30 | wifi_test\iot_baidu.o: ../MQTT/MQTTPacket.h 31 | wifi_test\iot_baidu.o: ../MQTT/MQTTConnect.h 32 | wifi_test\iot_baidu.o: ../MQTT/MQTTPublish.h 33 | wifi_test\iot_baidu.o: ../MQTT/MQTTSubscribe.h 34 | wifi_test\iot_baidu.o: ../MQTT/MQTTUnsubscribe.h 35 | wifi_test\iot_baidu.o: ../MQTT/MQTTFormat.h 36 | wifi_test\iot_baidu.o: ../MQTT/StackTrace.h 37 | wifi_test\iot_baidu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 38 | wifi_test\iot_baidu.o: ../MQTT/MQTTPacket.h 39 | wifi_test\iot_baidu.o: ../MQTT/transport.h 40 | wifi_test\iot_baidu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 41 | wifi_test\iot_baidu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 42 | wifi_test\iot_baidu.o: ../Inc/usart.h 43 | wifi_test\iot_baidu.o: ../Inc/main.h 44 | wifi_test\iot_baidu.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 45 | wifi_test\iot_baidu.o: ../Inc/tim.h 46 | wifi_test\iot_baidu.o: ../Inc/usart.h 47 | wifi_test\iot_baidu.o: ../HMAC/utils_hmac.h 48 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/iot_baidu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/iot_baidu.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/main.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/main.d: -------------------------------------------------------------------------------- 1 | wifi_test\main.o: ../Src/main.c 2 | wifi_test\main.o: ../Inc/main.h 3 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 4 | wifi_test\main.o: ../Inc/stm32f1xx_hal_conf.h 5 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 6 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 7 | wifi_test\main.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 8 | wifi_test\main.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 9 | wifi_test\main.o: ../Drivers/CMSIS/Include/core_cm3.h 10 | wifi_test\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 11 | wifi_test\main.o: ../Drivers/CMSIS/Include/cmsis_version.h 12 | wifi_test\main.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 13 | wifi_test\main.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 14 | wifi_test\main.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 15 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 16 | wifi_test\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 17 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 18 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 19 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 20 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 21 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 22 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 23 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 24 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 25 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 26 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 27 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 28 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 29 | wifi_test\main.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 30 | wifi_test\main.o: ../Inc/tim.h 31 | wifi_test\main.o: ../Inc/usart.h 32 | wifi_test\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 33 | wifi_test\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 34 | wifi_test\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 35 | wifi_test\main.o: ../Inc/tim.h 36 | wifi_test\main.o: ../Inc/gpio.h 37 | wifi_test\main.o: ../Inc/esp8266.h 38 | wifi_test\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 39 | wifi_test\main.o: ../MQTT/MQTTPacket.h 40 | wifi_test\main.o: ../MQTT/MQTTConnect.h 41 | wifi_test\main.o: ../MQTT/MQTTPublish.h 42 | wifi_test\main.o: ../MQTT/MQTTSubscribe.h 43 | wifi_test\main.o: ../MQTT/MQTTUnsubscribe.h 44 | wifi_test\main.o: ../MQTT/MQTTFormat.h 45 | wifi_test\main.o: ../MQTT/StackTrace.h 46 | wifi_test\main.o: ../MQTT/MQTTPacket.h 47 | wifi_test\main.o: ../MQTT/transport.h 48 | wifi_test\main.o: ../IOT/IOT_baidu.h 49 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/main.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttconnectclient.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttconnectclient.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttconnectclient.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTConnectClient.c 2 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTPacket.h 3 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTConnect.h 4 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTPublish.h 5 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTSubscribe.h 6 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTUnsubscribe.h 7 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTFormat.h 8 | wifi_test\mqttconnectclient.o: ..\Mqtt\StackTrace.h 9 | wifi_test\mqttconnectclient.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 10 | wifi_test\mqttconnectclient.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttconnectclient.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttconnectclient.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttconnectclient.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttconnectserver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttconnectserver.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttconnectserver.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTConnectServer.c 2 | wifi_test\mqttconnectserver.o: ..\Mqtt\StackTrace.h 3 | wifi_test\mqttconnectserver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTPacket.h 5 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTConnect.h 6 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTPublish.h 7 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTSubscribe.h 8 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTUnsubscribe.h 9 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTFormat.h 10 | wifi_test\mqttconnectserver.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttconnectserver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttconnectserver.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttconnectserver.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttdeserializepublish.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttdeserializepublish.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttdeserializepublish.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTDeserializePublish.c 2 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\StackTrace.h 3 | wifi_test\mqttdeserializepublish.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTPacket.h 5 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTConnect.h 6 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTPublish.h 7 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTSubscribe.h 8 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTUnsubscribe.h 9 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTFormat.h 10 | wifi_test\mqttdeserializepublish.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttdeserializepublish.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttdeserializepublish.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttdeserializepublish.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttformat.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttformat.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttformat.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttformat.o: ..\Mqtt\MQTTFormat.c 2 | wifi_test\mqttformat.o: ..\Mqtt\StackTrace.h 3 | wifi_test\mqttformat.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\mqttformat.o: ..\Mqtt\MQTTPacket.h 5 | wifi_test\mqttformat.o: ..\Mqtt\MQTTConnect.h 6 | wifi_test\mqttformat.o: ..\Mqtt\MQTTPublish.h 7 | wifi_test\mqttformat.o: ..\Mqtt\MQTTSubscribe.h 8 | wifi_test\mqttformat.o: ..\Mqtt\MQTTUnsubscribe.h 9 | wifi_test\mqttformat.o: ..\Mqtt\MQTTFormat.h 10 | wifi_test\mqttformat.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttformat.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttformat.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttformat.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttpacket.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttpacket.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttpacket.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTPacket.c 2 | wifi_test\mqttpacket.o: ..\Mqtt\StackTrace.h 3 | wifi_test\mqttpacket.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTPacket.h 5 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTConnect.h 6 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTPublish.h 7 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTSubscribe.h 8 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTUnsubscribe.h 9 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTFormat.h 10 | wifi_test\mqttpacket.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttpacket.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttpacket.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttpacket.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttserializepublish.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttserializepublish.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttserializepublish.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTSerializePublish.c 2 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTPacket.h 3 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTConnect.h 4 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTPublish.h 5 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTSubscribe.h 6 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTUnsubscribe.h 7 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTFormat.h 8 | wifi_test\mqttserializepublish.o: ..\Mqtt\StackTrace.h 9 | wifi_test\mqttserializepublish.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 10 | wifi_test\mqttserializepublish.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttserializepublish.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttserializepublish.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttserializepublish.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttsubscribeclient.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttsubscribeclient.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttsubscribeclient.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTSubscribeClient.c 2 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTPacket.h 3 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTConnect.h 4 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTPublish.h 5 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTSubscribe.h 6 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTUnsubscribe.h 7 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTFormat.h 8 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\StackTrace.h 9 | wifi_test\mqttsubscribeclient.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 10 | wifi_test\mqttsubscribeclient.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttsubscribeclient.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttsubscribeclient.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttsubscribeclient.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttsubscribeserver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttsubscribeserver.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttsubscribeserver.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTSubscribeServer.c 2 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTPacket.h 3 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTConnect.h 4 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTPublish.h 5 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTSubscribe.h 6 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTUnsubscribe.h 7 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTFormat.h 8 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\StackTrace.h 9 | wifi_test\mqttsubscribeserver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 10 | wifi_test\mqttsubscribeserver.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttsubscribeserver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttsubscribeserver.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttsubscribeserver.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttunsubscribeclient.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttunsubscribeclient.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttunsubscribeclient.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTUnsubscribeClient.c 2 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTPacket.h 3 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTConnect.h 4 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTPublish.h 5 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTSubscribe.h 6 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTUnsubscribe.h 7 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTFormat.h 8 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\StackTrace.h 9 | wifi_test\mqttunsubscribeclient.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 10 | wifi_test\mqttunsubscribeclient.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttunsubscribeclient.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttunsubscribeclient.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttunsubscribeclient.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttunsubscribeserver.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttunsubscribeserver.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttunsubscribeserver.d: -------------------------------------------------------------------------------- 1 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTUnsubscribeServer.c 2 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTPacket.h 3 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTConnect.h 4 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTPublish.h 5 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTSubscribe.h 6 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTUnsubscribe.h 7 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTFormat.h 8 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\StackTrace.h 9 | wifi_test\mqttunsubscribeserver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 10 | wifi_test\mqttunsubscribeserver.o: ..\Mqtt\MQTTPacket.h 11 | wifi_test\mqttunsubscribeserver.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 12 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/mqttunsubscribeserver.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/mqttunsubscribeserver.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/startup_stm32f103xe.d: -------------------------------------------------------------------------------- 1 | wifi_test\startup_stm32f103xe.o: startup_stm32f103xe.s 2 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/startup_stm32f103xe.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/startup_stm32f103xe.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c 2 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_cortex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_cortex.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_cortex.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c 2 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_cortex.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_cortex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_cortex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_cortex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_cortex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_cortex.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_dma.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_dma.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_dma.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c 2 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_dma.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_dma.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_dma.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_dma.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_dma.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_dma.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_exti.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_exti.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_exti.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c 2 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_exti.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_exti.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_exti.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_exti.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_exti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_exti.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_flash.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_flash.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_flash.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c 2 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_flash.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_flash.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_flash.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_flash.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_flash.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_flash.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_flash_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_flash_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_flash_ex.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c 2 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_flash_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_flash_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_flash_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_flash_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_flash_ex.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_gpio.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_gpio.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c 2 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_gpio.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_gpio.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_gpio.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_gpio_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_gpio_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_gpio_ex.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c 2 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_gpio_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_gpio_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_gpio_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_gpio_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_gpio_ex.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_msp.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_msp.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_msp.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_msp.o: ../Src/stm32f1xx_hal_msp.c 2 | wifi_test\stm32f1xx_hal_msp.o: ../Inc/main.h 3 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 4 | wifi_test\stm32f1xx_hal_msp.o: ../Inc/stm32f1xx_hal_conf.h 5 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 6 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 7 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 8 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 9 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Include/core_cm3.h 10 | wifi_test\stm32f1xx_hal_msp.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 11 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Include/cmsis_version.h 12 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 13 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 14 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 15 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 16 | wifi_test\stm32f1xx_hal_msp.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 17 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 18 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 19 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 20 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 21 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 22 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 23 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 24 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 25 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 26 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 27 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 28 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 29 | wifi_test\stm32f1xx_hal_msp.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 30 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_msp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_msp.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_pwr.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_pwr.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_pwr.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c 2 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_pwr.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_pwr.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_pwr.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_pwr.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_pwr.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_pwr.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_rcc.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_rcc.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c 2 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_rcc.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_rcc.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_rcc.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_rcc.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_rcc.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_rcc_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_rcc_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_rcc_ex.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c 2 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_rcc_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_rcc_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_rcc_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_rcc_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_rcc_ex.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_tim.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_tim.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_tim.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c 2 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_tim.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_tim.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_tim.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_tim_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_tim_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_tim_ex.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c 2 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_tim_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_tim_ex.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_tim_ex.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_tim_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_tim_ex.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_uart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_uart.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_uart.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c 2 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\stm32f1xx_hal_uart.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\stm32f1xx_hal_uart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\stm32f1xx_hal_uart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\stm32f1xx_hal_uart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_hal_uart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_hal_uart.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_it.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_it.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_it.d: -------------------------------------------------------------------------------- 1 | wifi_test\stm32f1xx_it.o: ../Src/stm32f1xx_it.c 2 | wifi_test\stm32f1xx_it.o: ../Inc/main.h 3 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 4 | wifi_test\stm32f1xx_it.o: ../Inc/stm32f1xx_hal_conf.h 5 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 6 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 7 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 8 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 9 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Include/core_cm3.h 10 | wifi_test\stm32f1xx_it.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 11 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Include/cmsis_version.h 12 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 13 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 14 | wifi_test\stm32f1xx_it.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 15 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 16 | wifi_test\stm32f1xx_it.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 17 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 18 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 19 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 20 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 21 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 22 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 23 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 24 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 25 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 26 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 27 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 28 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 29 | wifi_test\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 30 | wifi_test\stm32f1xx_it.o: ../Inc/stm32f1xx_it.h 31 | wifi_test\stm32f1xx_it.o: ../Inc/usart.h 32 | wifi_test\stm32f1xx_it.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 33 | wifi_test\stm32f1xx_it.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 34 | wifi_test\stm32f1xx_it.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 35 | wifi_test\stm32f1xx_it.o: ../Inc/tim.h 36 | wifi_test\stm32f1xx_it.o: ../Inc/usart.h 37 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/stm32f1xx_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/stm32f1xx_it.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/sys.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/sys.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/sys.d: -------------------------------------------------------------------------------- 1 | wifi_test\sys.o: ../Src/sys.c 2 | wifi_test\sys.o: ../Inc/sys.h 3 | wifi_test\sys.o: ../Inc/main.h 4 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 5 | wifi_test\sys.o: ../Inc/stm32f1xx_hal_conf.h 6 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 7 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 8 | wifi_test\sys.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 9 | wifi_test\sys.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 10 | wifi_test\sys.o: ../Drivers/CMSIS/Include/core_cm3.h 11 | wifi_test\sys.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 12 | wifi_test\sys.o: ../Drivers/CMSIS/Include/cmsis_version.h 13 | wifi_test\sys.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 14 | wifi_test\sys.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | wifi_test\sys.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 16 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 17 | wifi_test\sys.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 18 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 19 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 20 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 21 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 22 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 23 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 24 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 25 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 26 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 27 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 28 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 29 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 30 | wifi_test\sys.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/sys.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/sys.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/system_stm32f1xx.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/system_stm32f1xx.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/system_stm32f1xx.d: -------------------------------------------------------------------------------- 1 | wifi_test\system_stm32f1xx.o: ../Src/system_stm32f1xx.c 2 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 3 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 4 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Include/core_cm3.h 5 | wifi_test\system_stm32f1xx.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Include/cmsis_version.h 7 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 8 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 9 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 10 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 11 | wifi_test\system_stm32f1xx.o: ../Inc/stm32f1xx_hal_conf.h 12 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 13 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 14 | wifi_test\system_stm32f1xx.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 15 | wifi_test\system_stm32f1xx.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\system_stm32f1xx.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/system_stm32f1xx.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/system_stm32f1xx.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/tim.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/tim.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/tim.d: -------------------------------------------------------------------------------- 1 | wifi_test\tim.o: ../Src/tim.c 2 | wifi_test\tim.o: ../Inc/tim.h 3 | wifi_test\tim.o: ../Inc/main.h 4 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 5 | wifi_test\tim.o: ../Inc/stm32f1xx_hal_conf.h 6 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 7 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 8 | wifi_test\tim.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 9 | wifi_test\tim.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 10 | wifi_test\tim.o: ../Drivers/CMSIS/Include/core_cm3.h 11 | wifi_test\tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 12 | wifi_test\tim.o: ../Drivers/CMSIS/Include/cmsis_version.h 13 | wifi_test\tim.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 14 | wifi_test\tim.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | wifi_test\tim.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 16 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 17 | wifi_test\tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 18 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 19 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 20 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 21 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 22 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 23 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 24 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 25 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 26 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 27 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 28 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 29 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 30 | wifi_test\tim.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 31 | wifi_test\tim.o: ../Inc/usart.h 32 | wifi_test\tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 33 | wifi_test\tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 34 | wifi_test\tim.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 35 | wifi_test\tim.o: ../Inc/tim.h 36 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/tim.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/tim.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/transport.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/transport.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/transport.d: -------------------------------------------------------------------------------- 1 | wifi_test\transport.o: ..\Mqtt\transport.c 2 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 3 | wifi_test\transport.o: ../Inc/stm32f1xx_hal_conf.h 4 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 5 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 6 | wifi_test\transport.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 7 | wifi_test\transport.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 8 | wifi_test\transport.o: ../Drivers/CMSIS/Include/core_cm3.h 9 | wifi_test\transport.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | wifi_test\transport.o: ../Drivers/CMSIS/Include/cmsis_version.h 11 | wifi_test\transport.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 12 | wifi_test\transport.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | wifi_test\transport.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 14 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 15 | wifi_test\transport.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 16 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 17 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 18 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 19 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 20 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 21 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 22 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 23 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 24 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 25 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 26 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 27 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 28 | wifi_test\transport.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 29 | wifi_test\transport.o: ../Inc/tim.h 30 | wifi_test\transport.o: ../Inc/main.h 31 | wifi_test\transport.o: ../Inc/usart.h 32 | wifi_test\transport.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 33 | wifi_test\transport.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 34 | wifi_test\transport.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 35 | wifi_test\transport.o: ../Inc/tim.h 36 | wifi_test\transport.o: ../Inc/esp8266.h 37 | wifi_test\transport.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 38 | wifi_test\transport.o: ..\Mqtt\transport.h 39 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/transport.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/transport.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/usart.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/usart.d: -------------------------------------------------------------------------------- 1 | wifi_test\usart.o: ../Src/usart.c 2 | wifi_test\usart.o: ../Inc/usart.h 3 | wifi_test\usart.o: ../Inc/main.h 4 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 5 | wifi_test\usart.o: ../Inc/stm32f1xx_hal_conf.h 6 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 7 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 8 | wifi_test\usart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 9 | wifi_test\usart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 10 | wifi_test\usart.o: ../Drivers/CMSIS/Include/core_cm3.h 11 | wifi_test\usart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 12 | wifi_test\usart.o: ../Drivers/CMSIS/Include/cmsis_version.h 13 | wifi_test\usart.o: ../Drivers/CMSIS/Include/cmsis_compiler.h 14 | wifi_test\usart.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | wifi_test\usart.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 16 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 17 | wifi_test\usart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h 18 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 19 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 20 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 21 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h 22 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 23 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 24 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 25 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 26 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 27 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 28 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 29 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 30 | wifi_test\usart.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h 31 | wifi_test\usart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdarg.h 32 | wifi_test\usart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 33 | wifi_test\usart.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 34 | wifi_test\usart.o: ../Inc/tim.h 35 | wifi_test\usart.o: ../Inc/usart.h 36 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/usart.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_hmac.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/utils_hmac.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_hmac.d: -------------------------------------------------------------------------------- 1 | wifi_test\utils_hmac.o: ..\HMAC\utils_hmac.c 2 | wifi_test\utils_hmac.o: ..\HMAC\utils_hmac.h 3 | wifi_test\utils_hmac.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\utils_hmac.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | wifi_test\utils_hmac.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 6 | wifi_test\utils_hmac.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 7 | wifi_test\utils_hmac.o: ..\HMAC\utils_md5.h 8 | wifi_test\utils_hmac.o: ..\HMAC\utils_sha1.h 9 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_hmac.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/utils_hmac.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_md5.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/utils_md5.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_md5.d: -------------------------------------------------------------------------------- 1 | wifi_test\utils_md5.o: ..\HMAC\utils_md5.c 2 | wifi_test\utils_md5.o: ..\HMAC\utils_md5.h 3 | wifi_test\utils_md5.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\utils_md5.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | wifi_test\utils_md5.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 6 | wifi_test\utils_md5.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 7 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_md5.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/utils_md5.o -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_sha1.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/utils_sha1.crf -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_sha1.d: -------------------------------------------------------------------------------- 1 | wifi_test\utils_sha1.o: ..\HMAC\utils_sha1.c 2 | wifi_test\utils_sha1.o: ..\HMAC\utils_sha1.h 3 | wifi_test\utils_sha1.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 4 | wifi_test\utils_sha1.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | wifi_test\utils_sha1.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 6 | wifi_test\utils_sha1.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\string.h 7 | -------------------------------------------------------------------------------- /MDK-ARM/WIFI_test/utils_sha1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/MDK-ARM/WIFI_test/utils_sha1.o -------------------------------------------------------------------------------- /Mqtt/MQTTConnect.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014, 2017 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Ian Craggs - add connack return code definitions 16 | * Xiang Rong - 442039 Add makefile to Embedded C client 17 | * Ian Craggs - fix for issue #64, bit order in connack response 18 | *******************************************************************************/ 19 | 20 | #ifndef MQTTCONNECT_H_ 21 | #define MQTTCONNECT_H_ 22 | 23 | enum connack_return_codes 24 | { 25 | MQTT_CONNECTION_ACCEPTED = 0, 26 | MQTT_UNNACCEPTABLE_PROTOCOL = 1, 27 | MQTT_CLIENTID_REJECTED = 2, 28 | MQTT_SERVER_UNAVAILABLE = 3, 29 | MQTT_BAD_USERNAME_OR_PASSWORD = 4, 30 | MQTT_NOT_AUTHORIZED = 5, 31 | }; 32 | 33 | #if !defined(DLLImport) 34 | #define DLLImport 35 | #endif 36 | #if !defined(DLLExport) 37 | #define DLLExport 38 | #endif 39 | 40 | 41 | typedef union 42 | { 43 | unsigned char all; /**< all connect flags */ 44 | #if defined(REVERSED) 45 | struct 46 | { 47 | unsigned int username : 1; /**< 3.1 user name */ 48 | unsigned int password : 1; /**< 3.1 password */ 49 | unsigned int willRetain : 1; /**< will retain setting */ 50 | unsigned int willQoS : 2; /**< will QoS value */ 51 | unsigned int will : 1; /**< will flag */ 52 | unsigned int cleansession : 1; /**< clean session flag */ 53 | unsigned int : 1; /**< unused */ 54 | } bits; 55 | #else 56 | struct 57 | { 58 | unsigned int : 1; /**< unused */ 59 | unsigned int cleansession : 1; /**< cleansession flag */ 60 | unsigned int will : 1; /**< will flag */ 61 | unsigned int willQoS : 2; /**< will QoS value */ 62 | unsigned int willRetain : 1; /**< will retain setting */ 63 | unsigned int password : 1; /**< 3.1 password */ 64 | unsigned int username : 1; /**< 3.1 user name */ 65 | } bits; 66 | #endif 67 | } MQTTConnectFlags; /**< connect flags byte */ 68 | 69 | 70 | 71 | /** 72 | * Defines the MQTT "Last Will and Testament" (LWT) settings for 73 | * the connect packet. 74 | */ 75 | typedef struct 76 | { 77 | /** The eyecatcher for this structure. must be MQTW. */ 78 | char struct_id[4]; 79 | /** The version number of this structure. Must be 0 */ 80 | int struct_version; 81 | /** The LWT topic to which the LWT message will be published. */ 82 | MQTTString topicName; 83 | /** The LWT payload. */ 84 | MQTTString message; 85 | /** 86 | * The retained flag for the LWT message (see MQTTAsync_message.retained). 87 | */ 88 | unsigned char retained; 89 | /** 90 | * The quality of service setting for the LWT message (see 91 | * MQTTAsync_message.qos and @ref qos). 92 | */ 93 | char qos; 94 | } MQTTPacket_willOptions; 95 | 96 | 97 | #define MQTTPacket_willOptions_initializer { {'M', 'Q', 'T', 'W'}, 0, {NULL, {0, NULL}}, {NULL, {0, NULL}}, 0, 0 } 98 | 99 | 100 | typedef struct 101 | { 102 | /** The eyecatcher for this structure. must be MQTC. */ 103 | char struct_id[4]; 104 | /** The version number of this structure. Must be 0 */ 105 | int struct_version; 106 | /** Version of MQTT to be used. 3 = 3.1 4 = 3.1.1 107 | */ 108 | unsigned char MQTTVersion; 109 | MQTTString clientID; 110 | unsigned short keepAliveInterval; 111 | unsigned char cleansession; 112 | unsigned char willFlag; 113 | MQTTPacket_willOptions will; 114 | MQTTString username; 115 | MQTTString password; 116 | } MQTTPacket_connectData; 117 | 118 | typedef union 119 | { 120 | unsigned char all; /**< all connack flags */ 121 | #if defined(REVERSED) 122 | struct 123 | { 124 | unsigned int reserved : 7; /**< unused */ 125 | unsigned int sessionpresent : 1; /**< session present flag */ 126 | } bits; 127 | #else 128 | struct 129 | { 130 | unsigned int sessionpresent : 1; /**< session present flag */ 131 | unsigned int reserved: 7; /**< unused */ 132 | } bits; 133 | #endif 134 | } MQTTConnackFlags; /**< connack flags byte */ 135 | 136 | #define MQTTPacket_connectData_initializer { {'M', 'Q', 'T', 'C'}, 0, 4, {NULL, {0, NULL}}, 60, 1, 0, \ 137 | MQTTPacket_willOptions_initializer, {NULL, {0, NULL}}, {NULL, {0, NULL}} } 138 | 139 | DLLExport int MQTTSerialize_connect(unsigned char* buf, int buflen, MQTTPacket_connectData* options); 140 | DLLExport int MQTTDeserialize_connect(MQTTPacket_connectData* data, unsigned char* buf, int len); 141 | 142 | DLLExport int MQTTSerialize_connack(unsigned char* buf, int buflen, unsigned char connack_rc, unsigned char sessionPresent); 143 | DLLExport int MQTTDeserialize_connack(unsigned char* sessionPresent, unsigned char* connack_rc, unsigned char* buf, int buflen); 144 | 145 | DLLExport int MQTTSerialize_disconnect(unsigned char* buf, int buflen); 146 | DLLExport int MQTTSerialize_pingreq(unsigned char* buf, int buflen); 147 | 148 | #endif /* MQTTCONNECT_H_ */ 149 | -------------------------------------------------------------------------------- /Mqtt/MQTTConnectClient.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "MQTTPacket.h" 18 | #include "StackTrace.h" 19 | 20 | #include 21 | 22 | /** 23 | * Determines the length of the MQTT connect packet that would be produced using the supplied connect options. 24 | * @param options the options to be used to build the connect packet 25 | * @return the length of buffer needed to contain the serialized version of the packet 26 | */ 27 | int MQTTSerialize_connectLength(MQTTPacket_connectData* options) 28 | { 29 | int len = 0; 30 | 31 | FUNC_ENTRY; 32 | 33 | if (options->MQTTVersion == 3) 34 | len = 12; /* variable depending on MQTT or MQIsdp */ 35 | else if (options->MQTTVersion == 4) 36 | len = 10; 37 | 38 | len += MQTTstrlen(options->clientID)+2; 39 | if (options->willFlag) 40 | len += MQTTstrlen(options->will.topicName)+2 + MQTTstrlen(options->will.message)+2; 41 | if (options->username.cstring || options->username.lenstring.data) 42 | len += MQTTstrlen(options->username)+2; 43 | if (options->password.cstring || options->password.lenstring.data) 44 | len += MQTTstrlen(options->password)+2; 45 | 46 | FUNC_EXIT_RC(len); 47 | return len; 48 | } 49 | 50 | 51 | /** 52 | * Serializes the connect options into the buffer. 53 | * @param buf the buffer into which the packet will be serialized 54 | * @param len the length in bytes of the supplied buffer 55 | * @param options the options to be used to build the connect packet 56 | * @return serialized length, or error if 0 57 | */ 58 | int MQTTSerialize_connect(unsigned char* buf, int buflen, MQTTPacket_connectData* options) 59 | { 60 | unsigned char *ptr = buf; 61 | MQTTHeader header = {0}; 62 | MQTTConnectFlags flags = {0}; 63 | int len = 0; 64 | int rc = -1; 65 | 66 | FUNC_ENTRY; 67 | if (MQTTPacket_len(len = MQTTSerialize_connectLength(options)) > buflen) 68 | { 69 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 70 | goto exit; 71 | } 72 | 73 | header.byte = 0; 74 | header.bits.type = CONNECT; 75 | writeChar(&ptr, header.byte); /* write header */ 76 | 77 | ptr += MQTTPacket_encode(ptr, len); /* write remaining length */ 78 | 79 | if (options->MQTTVersion == 4) 80 | { 81 | writeCString(&ptr, "MQTT"); 82 | writeChar(&ptr, (char) 4); 83 | } 84 | else 85 | { 86 | writeCString(&ptr, "MQIsdp"); 87 | writeChar(&ptr, (char) 3); 88 | } 89 | 90 | flags.all = 0; 91 | flags.bits.cleansession = options->cleansession; 92 | flags.bits.will = (options->willFlag) ? 1 : 0; 93 | if (flags.bits.will) 94 | { 95 | flags.bits.willQoS = options->will.qos; 96 | flags.bits.willRetain = options->will.retained; 97 | } 98 | 99 | if (options->username.cstring || options->username.lenstring.data) 100 | flags.bits.username = 1; 101 | if (options->password.cstring || options->password.lenstring.data) 102 | flags.bits.password = 1; 103 | 104 | writeChar(&ptr, flags.all); 105 | writeInt(&ptr, options->keepAliveInterval); 106 | writeMQTTString(&ptr, options->clientID); 107 | if (options->willFlag) 108 | { 109 | writeMQTTString(&ptr, options->will.topicName); 110 | writeMQTTString(&ptr, options->will.message); 111 | } 112 | if (flags.bits.username) 113 | writeMQTTString(&ptr, options->username); 114 | if (flags.bits.password) 115 | writeMQTTString(&ptr, options->password); 116 | 117 | rc = ptr - buf; 118 | 119 | exit: FUNC_EXIT_RC(rc); 120 | return rc; 121 | } 122 | 123 | 124 | /** 125 | * Deserializes the supplied (wire) buffer into connack data - return code 126 | * @param sessionPresent the session present flag returned (only for MQTT 3.1.1) 127 | * @param connack_rc returned integer value of the connack return code 128 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 129 | * @param len the length in bytes of the data in the supplied buffer 130 | * @return error code. 1 is success, 0 is failure 131 | */ 132 | int MQTTDeserialize_connack(unsigned char* sessionPresent, unsigned char* connack_rc, unsigned char* buf, int buflen) 133 | { 134 | MQTTHeader header = {0}; 135 | unsigned char* curdata = buf; 136 | unsigned char* enddata = NULL; 137 | int rc = 0; 138 | int mylen; 139 | MQTTConnackFlags flags = {0}; 140 | 141 | FUNC_ENTRY; 142 | header.byte = readChar(&curdata); 143 | if (header.bits.type != CONNACK) 144 | goto exit; 145 | 146 | curdata += (rc = MQTTPacket_decodeBuf(curdata, &mylen)); /* read remaining length */ 147 | enddata = curdata + mylen; 148 | if (enddata - curdata < 2) 149 | goto exit; 150 | 151 | flags.all = readChar(&curdata); 152 | *sessionPresent = flags.bits.sessionpresent; 153 | *connack_rc = readChar(&curdata); 154 | 155 | rc = 1; 156 | exit: 157 | FUNC_EXIT_RC(rc); 158 | return rc; 159 | } 160 | 161 | 162 | /** 163 | * Serializes a 0-length packet into the supplied buffer, ready for writing to a socket 164 | * @param buf the buffer into which the packet will be serialized 165 | * @param buflen the length in bytes of the supplied buffer, to avoid overruns 166 | * @param packettype the message type 167 | * @return serialized length, or error if 0 168 | */ 169 | int MQTTSerialize_zero(unsigned char* buf, int buflen, unsigned char packettype) 170 | { 171 | MQTTHeader header = {0}; 172 | int rc = -1; 173 | unsigned char *ptr = buf; 174 | 175 | FUNC_ENTRY; 176 | if (buflen < 2) 177 | { 178 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 179 | goto exit; 180 | } 181 | header.byte = 0; 182 | header.bits.type = packettype; 183 | writeChar(&ptr, header.byte); /* write header */ 184 | 185 | ptr += MQTTPacket_encode(ptr, 0); /* write remaining length */ 186 | rc = ptr - buf; 187 | exit: 188 | FUNC_EXIT_RC(rc); 189 | return rc; 190 | } 191 | 192 | 193 | /** 194 | * Serializes a disconnect packet into the supplied buffer, ready for writing to a socket 195 | * @param buf the buffer into which the packet will be serialized 196 | * @param buflen the length in bytes of the supplied buffer, to avoid overruns 197 | * @return serialized length, or error if 0 198 | */ 199 | int MQTTSerialize_disconnect(unsigned char* buf, int buflen) 200 | { 201 | return MQTTSerialize_zero(buf, buflen, DISCONNECT); 202 | } 203 | 204 | 205 | /** 206 | * Serializes a disconnect packet into the supplied buffer, ready for writing to a socket 207 | * @param buf the buffer into which the packet will be serialized 208 | * @param buflen the length in bytes of the supplied buffer, to avoid overruns 209 | * @return serialized length, or error if 0 210 | */ 211 | int MQTTSerialize_pingreq(unsigned char* buf, int buflen) 212 | { 213 | return MQTTSerialize_zero(buf, buflen, PINGREQ); 214 | } 215 | -------------------------------------------------------------------------------- /Mqtt/MQTTConnectServer.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "StackTrace.h" 18 | #include "MQTTPacket.h" 19 | #include 20 | 21 | #define min(a, b) ((a < b) ? a : b) 22 | 23 | 24 | /** 25 | * Validates MQTT protocol name and version combinations 26 | * @param protocol the MQTT protocol name as an MQTTString 27 | * @param version the MQTT protocol version number, as in the connect packet 28 | * @return correct MQTT combination? 1 is true, 0 is false 29 | */ 30 | int MQTTPacket_checkVersion(MQTTString* protocol, int version) 31 | { 32 | int rc = 0; 33 | 34 | if (version == 3 && memcmp(protocol->lenstring.data, "MQIsdp", 35 | min(6, protocol->lenstring.len)) == 0) 36 | rc = 1; 37 | else if (version == 4 && memcmp(protocol->lenstring.data, "MQTT", 38 | min(4, protocol->lenstring.len)) == 0) 39 | rc = 1; 40 | return rc; 41 | } 42 | 43 | 44 | /** 45 | * Deserializes the supplied (wire) buffer into connect data structure 46 | * @param data the connect data structure to be filled out 47 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 48 | * @param len the length in bytes of the data in the supplied buffer 49 | * @return error code. 1 is success, 0 is failure 50 | */ 51 | int MQTTDeserialize_connect(MQTTPacket_connectData* data, unsigned char* buf, int len) 52 | { 53 | MQTTHeader header = {0}; 54 | MQTTConnectFlags flags = {0}; 55 | unsigned char* curdata = buf; 56 | unsigned char* enddata = &buf[len]; 57 | int rc = 0; 58 | MQTTString Protocol; 59 | int version; 60 | int mylen = 0; 61 | 62 | FUNC_ENTRY; 63 | header.byte = readChar(&curdata); 64 | if (header.bits.type != CONNECT) 65 | goto exit; 66 | 67 | curdata += MQTTPacket_decodeBuf(curdata, &mylen); /* read remaining length */ 68 | 69 | if (!readMQTTLenString(&Protocol, &curdata, enddata) || 70 | enddata - curdata < 0) /* do we have enough data to read the protocol version byte? */ 71 | goto exit; 72 | 73 | version = (int)readChar(&curdata); /* Protocol version */ 74 | /* If we don't recognize the protocol version, we don't parse the connect packet on the 75 | * basis that we don't know what the format will be. 76 | */ 77 | if (MQTTPacket_checkVersion(&Protocol, version)) 78 | { 79 | flags.all = readChar(&curdata); 80 | data->cleansession = flags.bits.cleansession; 81 | data->keepAliveInterval = readInt(&curdata); 82 | if (!readMQTTLenString(&data->clientID, &curdata, enddata)) 83 | goto exit; 84 | data->willFlag = flags.bits.will; 85 | if (flags.bits.will) 86 | { 87 | data->will.qos = flags.bits.willQoS; 88 | data->will.retained = flags.bits.willRetain; 89 | if (!readMQTTLenString(&data->will.topicName, &curdata, enddata) || 90 | !readMQTTLenString(&data->will.message, &curdata, enddata)) 91 | goto exit; 92 | } 93 | if (flags.bits.username) 94 | { 95 | if (enddata - curdata < 3 || !readMQTTLenString(&data->username, &curdata, enddata)) 96 | goto exit; /* username flag set, but no username supplied - invalid */ 97 | if (flags.bits.password && 98 | (enddata - curdata < 3 || !readMQTTLenString(&data->password, &curdata, enddata))) 99 | goto exit; /* password flag set, but no password supplied - invalid */ 100 | } 101 | else if (flags.bits.password) 102 | goto exit; /* password flag set without username - invalid */ 103 | rc = 1; 104 | } 105 | exit: 106 | FUNC_EXIT_RC(rc); 107 | return rc; 108 | } 109 | 110 | 111 | /** 112 | * Serializes the connack packet into the supplied buffer. 113 | * @param buf the buffer into which the packet will be serialized 114 | * @param buflen the length in bytes of the supplied buffer 115 | * @param connack_rc the integer connack return code to be used 116 | * @param sessionPresent the MQTT 3.1.1 sessionPresent flag 117 | * @return serialized length, or error if 0 118 | */ 119 | int MQTTSerialize_connack(unsigned char* buf, int buflen, unsigned char connack_rc, unsigned char sessionPresent) 120 | { 121 | MQTTHeader header = {0}; 122 | int rc = 0; 123 | unsigned char *ptr = buf; 124 | MQTTConnackFlags flags = {0}; 125 | 126 | FUNC_ENTRY; 127 | if (buflen < 2) 128 | { 129 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 130 | goto exit; 131 | } 132 | header.byte = 0; 133 | header.bits.type = CONNACK; 134 | writeChar(&ptr, header.byte); /* write header */ 135 | 136 | ptr += MQTTPacket_encode(ptr, 2); /* write remaining length */ 137 | 138 | flags.all = 0; 139 | flags.bits.sessionpresent = sessionPresent; 140 | writeChar(&ptr, flags.all); 141 | writeChar(&ptr, connack_rc); 142 | 143 | rc = ptr - buf; 144 | exit: 145 | FUNC_EXIT_RC(rc); 146 | return rc; 147 | } 148 | 149 | -------------------------------------------------------------------------------- /Mqtt/MQTTDeserializePublish.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "StackTrace.h" 18 | #include "MQTTPacket.h" 19 | #include 20 | 21 | #define min(a, b) ((a < b) ? 1 : 0) 22 | 23 | /** 24 | * Deserializes the supplied (wire) buffer into publish data 25 | * @param dup returned integer - the MQTT dup flag 26 | * @param qos returned integer - the MQTT QoS value 27 | * @param retained returned integer - the MQTT retained flag 28 | * @param packetid returned integer - the MQTT packet identifier 29 | * @param topicName returned MQTTString - the MQTT topic in the publish 30 | * @param payload returned byte buffer - the MQTT publish payload 31 | * @param payloadlen returned integer - the length of the MQTT payload 32 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 33 | * @param buflen the length in bytes of the data in the supplied buffer 34 | * @return error code. 1 is success 35 | */ 36 | int MQTTDeserialize_publish(unsigned char* dup, int* qos, unsigned char* retained, unsigned short* packetid, MQTTString* topicName, 37 | unsigned char** payload, int* payloadlen, unsigned char* buf, int buflen) 38 | { 39 | MQTTHeader header = {0}; 40 | unsigned char* curdata = buf; 41 | unsigned char* enddata = NULL; 42 | int rc = 0; 43 | int mylen = 0; 44 | 45 | FUNC_ENTRY; 46 | header.byte = readChar(&curdata); 47 | if (header.bits.type != PUBLISH) 48 | goto exit; 49 | *dup = header.bits.dup; 50 | *qos = header.bits.qos; 51 | *retained = header.bits.retain; 52 | 53 | curdata += (rc = MQTTPacket_decodeBuf(curdata, &mylen)); /* read remaining length */ 54 | enddata = curdata + mylen; 55 | 56 | if (!readMQTTLenString(topicName, &curdata, enddata) || 57 | enddata - curdata < 0) /* do we have enough data to read the protocol version byte? */ 58 | goto exit; 59 | 60 | if (*qos > 0) 61 | *packetid = readInt(&curdata); 62 | 63 | *payloadlen = enddata - curdata; 64 | *payload = curdata; 65 | rc = 1; 66 | exit: 67 | FUNC_EXIT_RC(rc); 68 | return rc; 69 | } 70 | 71 | 72 | 73 | /** 74 | * Deserializes the supplied (wire) buffer into an ack 75 | * @param packettype returned integer - the MQTT packet type 76 | * @param dup returned integer - the MQTT dup flag 77 | * @param packetid returned integer - the MQTT packet identifier 78 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 79 | * @param buflen the length in bytes of the data in the supplied buffer 80 | * @return error code. 1 is success, 0 is failure 81 | */ 82 | int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* packetid, unsigned char* buf, int buflen) 83 | { 84 | MQTTHeader header = {0}; 85 | unsigned char* curdata = buf; 86 | unsigned char* enddata = NULL; 87 | int rc = 0; 88 | int mylen; 89 | 90 | FUNC_ENTRY; 91 | header.byte = readChar(&curdata); 92 | *dup = header.bits.dup; 93 | *packettype = header.bits.type; 94 | 95 | curdata += (rc = MQTTPacket_decodeBuf(curdata, &mylen)); /* read remaining length */ 96 | enddata = curdata + mylen; 97 | 98 | if (enddata - curdata < 2) 99 | goto exit; 100 | *packetid = readInt(&curdata); 101 | 102 | rc = 1; 103 | exit: 104 | FUNC_EXIT_RC(rc); 105 | return rc; 106 | } 107 | 108 | -------------------------------------------------------------------------------- /Mqtt/MQTTFormat.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #if !defined(MQTTFORMAT_H) 18 | #define MQTTFORMAT_H 19 | 20 | #include "StackTrace.h" 21 | #include "MQTTPacket.h" 22 | 23 | const char* MQTTPacket_getName(unsigned short packetid); 24 | int MQTTStringFormat_connect(char* strbuf, int strbuflen, MQTTPacket_connectData* data); 25 | int MQTTStringFormat_connack(char* strbuf, int strbuflen, unsigned char connack_rc, unsigned char sessionPresent); 26 | int MQTTStringFormat_publish(char* strbuf, int strbuflen, unsigned char dup, int qos, unsigned char retained, 27 | unsigned short packetid, MQTTString topicName, unsigned char* payload, int payloadlen); 28 | int MQTTStringFormat_ack(char* strbuf, int strbuflen, unsigned char packettype, unsigned char dup, unsigned short packetid); 29 | int MQTTStringFormat_subscribe(char* strbuf, int strbuflen, unsigned char dup, unsigned short packetid, int count, 30 | MQTTString topicFilters[], int requestedQoSs[]); 31 | int MQTTStringFormat_suback(char* strbuf, int strbuflen, unsigned short packetid, int count, int* grantedQoSs); 32 | int MQTTStringFormat_unsubscribe(char* strbuf, int strbuflen, unsigned char dup, unsigned short packetid, 33 | int count, MQTTString topicFilters[]); 34 | char* MQTTFormat_toClientString(char* strbuf, int strbuflen, unsigned char* buf, int buflen); 35 | char* MQTTFormat_toServerString(char* strbuf, int strbuflen, unsigned char* buf, int buflen); 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /Mqtt/MQTTPacket.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Xiang Rong - 442039 Add makefile to Embedded C client 16 | *******************************************************************************/ 17 | 18 | #ifndef MQTTPACKET_H_ 19 | #define MQTTPACKET_H_ 20 | 21 | #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */ 22 | extern "C" { 23 | #endif 24 | 25 | #if defined(WIN32_DLL) || defined(WIN64_DLL) 26 | #define DLLImport __declspec(dllimport) 27 | #define DLLExport __declspec(dllexport) 28 | #elif defined(LINUX_SO) 29 | #define DLLImport extern 30 | #define DLLExport __attribute__ ((visibility ("default"))) 31 | #else 32 | #define DLLImport 33 | #define DLLExport 34 | #endif 35 | 36 | enum errors 37 | { 38 | MQTTPACKET_BUFFER_TOO_SHORT = -2, 39 | MQTTPACKET_READ_ERROR = -1, 40 | MQTTPACKET_READ_COMPLETE 41 | }; 42 | 43 | enum msgTypes 44 | { 45 | CONNECT = 1, CONNACK, PUBLISH, PUBACK, PUBREC, PUBREL, 46 | PUBCOMP, SUBSCRIBE, SUBACK, UNSUBSCRIBE, UNSUBACK, 47 | PINGREQ, PINGRESP, DISCONNECT 48 | }; 49 | 50 | /** 51 | * Bitfields for the MQTT header byte. 52 | */ 53 | typedef union 54 | { 55 | unsigned char byte; /**< the whole byte */ 56 | #if defined(REVERSED) 57 | struct 58 | { 59 | unsigned int type : 4; /**< message type nibble */ 60 | unsigned int dup : 1; /**< DUP flag bit */ 61 | unsigned int qos : 2; /**< QoS value, 0, 1 or 2 */ 62 | unsigned int retain : 1; /**< retained flag bit */ 63 | } bits; 64 | #else 65 | struct 66 | { 67 | unsigned int retain : 1; /**< retained flag bit */ 68 | unsigned int qos : 2; /**< QoS value, 0, 1 or 2 */ 69 | unsigned int dup : 1; /**< DUP flag bit */ 70 | unsigned int type : 4; /**< message type nibble */ 71 | } bits; 72 | #endif 73 | } MQTTHeader; 74 | 75 | typedef struct 76 | { 77 | int len; 78 | char* data; 79 | } MQTTLenString; 80 | 81 | typedef struct 82 | { 83 | char* cstring; 84 | MQTTLenString lenstring; 85 | } MQTTString; 86 | 87 | #define MQTTString_initializer {NULL, {0, NULL}} 88 | 89 | int MQTTstrlen(MQTTString mqttstring); 90 | 91 | #include "MQTTConnect.h" 92 | #include "MQTTPublish.h" 93 | #include "MQTTSubscribe.h" 94 | #include "MQTTUnsubscribe.h" 95 | #include "MQTTFormat.h" 96 | 97 | DLLExport int MQTTSerialize_ack(unsigned char* buf, int buflen, unsigned char type, unsigned char dup, unsigned short packetid); 98 | DLLExport int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* packetid, unsigned char* buf, int buflen); 99 | 100 | int MQTTPacket_len(int rem_len); 101 | DLLExport int MQTTPacket_equals(MQTTString* a, char* b); 102 | 103 | DLLExport int MQTTPacket_encode(unsigned char* buf, int length); 104 | int MQTTPacket_decode(int (*getcharfn)(unsigned char*, int), int* value); 105 | int MQTTPacket_decodeBuf(unsigned char* buf, int* value); 106 | 107 | int readInt(unsigned char** pptr); 108 | char readChar(unsigned char** pptr); 109 | void writeChar(unsigned char** pptr, char c); 110 | void writeInt(unsigned char** pptr, int anInt); 111 | int readMQTTLenString(MQTTString* mqttstring, unsigned char** pptr, unsigned char* enddata); 112 | void writeCString(unsigned char** pptr, const char* string); 113 | void writeMQTTString(unsigned char** pptr, MQTTString mqttstring); 114 | 115 | DLLExport int MQTTPacket_read(unsigned char* buf, int buflen, int (*getfn)(unsigned char*, int)); 116 | 117 | typedef struct { 118 | int (*getfn)(void *, unsigned char*, int); /* must return -1 for error, 0 for call again, or the number of bytes read */ 119 | void *sck; /* pointer to whatever the system may use to identify the transport */ 120 | int multiplier; 121 | int rem_len; 122 | int len; 123 | char state; 124 | }MQTTTransport; 125 | 126 | int MQTTPacket_readnb(unsigned char* buf, int buflen, MQTTTransport *trp); 127 | 128 | #ifdef __cplusplus /* If this is a C++ compiler, use C linkage */ 129 | } 130 | #endif 131 | 132 | 133 | #endif /* MQTTPACKET_H_ */ 134 | -------------------------------------------------------------------------------- /Mqtt/MQTTPublish.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Xiang Rong - 442039 Add makefile to Embedded C client 16 | *******************************************************************************/ 17 | 18 | #ifndef MQTTPUBLISH_H_ 19 | #define MQTTPUBLISH_H_ 20 | 21 | #if !defined(DLLImport) 22 | #define DLLImport 23 | #endif 24 | #if !defined(DLLExport) 25 | #define DLLExport 26 | #endif 27 | 28 | DLLExport int MQTTSerialize_publish(unsigned char* buf, int buflen, unsigned char dup, int qos, unsigned char retained, unsigned short packetid, 29 | MQTTString topicName, unsigned char* payload, int payloadlen); 30 | 31 | DLLExport int MQTTDeserialize_publish(unsigned char* dup, int* qos, unsigned char* retained, unsigned short* packetid, MQTTString* topicName, 32 | unsigned char** payload, int* payloadlen, unsigned char* buf, int len); 33 | 34 | DLLExport int MQTTSerialize_puback(unsigned char* buf, int buflen, unsigned short packetid); 35 | DLLExport int MQTTSerialize_pubrel(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid); 36 | DLLExport int MQTTSerialize_pubcomp(unsigned char* buf, int buflen, unsigned short packetid); 37 | 38 | #endif /* MQTTPUBLISH_H_ */ 39 | -------------------------------------------------------------------------------- /Mqtt/MQTTSerializePublish.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Ian Craggs - fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=453144 16 | *******************************************************************************/ 17 | 18 | #include "MQTTPacket.h" 19 | #include "StackTrace.h" 20 | 21 | #include 22 | 23 | 24 | /** 25 | * Determines the length of the MQTT publish packet that would be produced using the supplied parameters 26 | * @param qos the MQTT QoS of the publish (packetid is omitted for QoS 0) 27 | * @param topicName the topic name to be used in the publish 28 | * @param payloadlen the length of the payload to be sent 29 | * @return the length of buffer needed to contain the serialized version of the packet 30 | */ 31 | int MQTTSerialize_publishLength(int qos, MQTTString topicName, int payloadlen) 32 | { 33 | int len = 0; 34 | 35 | len += 2 + MQTTstrlen(topicName) + payloadlen; 36 | if (qos > 0) 37 | len += 2; /* packetid */ 38 | return len; 39 | } 40 | 41 | 42 | /** 43 | * Serializes the supplied publish data into the supplied buffer, ready for sending 44 | * @param buf the buffer into which the packet will be serialized 45 | * @param buflen the length in bytes of the supplied buffer 46 | * @param dup integer - the MQTT dup flag 47 | * @param qos integer - the MQTT QoS value 48 | * @param retained integer - the MQTT retained flag 49 | * @param packetid integer - the MQTT packet identifier 50 | * @param topicName MQTTString - the MQTT topic in the publish 51 | * @param payload byte buffer - the MQTT publish payload 52 | * @param payloadlen integer - the length of the MQTT payload 53 | * @return the length of the serialized data. <= 0 indicates error 54 | */ 55 | int MQTTSerialize_publish(unsigned char* buf, int buflen, unsigned char dup, int qos, unsigned char retained, unsigned short packetid, 56 | MQTTString topicName, unsigned char* payload, int payloadlen) 57 | { 58 | unsigned char *ptr = buf; 59 | MQTTHeader header = {0}; 60 | int rem_len = 0; 61 | int rc = 0; 62 | 63 | FUNC_ENTRY; 64 | if (MQTTPacket_len(rem_len = MQTTSerialize_publishLength(qos, topicName, payloadlen)) > buflen) 65 | { 66 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 67 | goto exit; 68 | } 69 | 70 | header.bits.type = PUBLISH; 71 | header.bits.dup = dup; 72 | header.bits.qos = qos; 73 | header.bits.retain = retained; 74 | writeChar(&ptr, header.byte); /* write header */ 75 | 76 | ptr += MQTTPacket_encode(ptr, rem_len); /* write remaining length */; 77 | 78 | writeMQTTString(&ptr, topicName); 79 | 80 | if (qos > 0) 81 | writeInt(&ptr, packetid); 82 | 83 | memcpy(ptr, payload, payloadlen); 84 | ptr += payloadlen; 85 | 86 | rc = ptr - buf; 87 | 88 | exit: 89 | FUNC_EXIT_RC(rc); 90 | return rc; 91 | } 92 | 93 | 94 | 95 | /** 96 | * Serializes the ack packet into the supplied buffer. 97 | * @param buf the buffer into which the packet will be serialized 98 | * @param buflen the length in bytes of the supplied buffer 99 | * @param type the MQTT packet type 100 | * @param dup the MQTT dup flag 101 | * @param packetid the MQTT packet identifier 102 | * @return serialized length, or error if 0 103 | */ 104 | int MQTTSerialize_ack(unsigned char* buf, int buflen, unsigned char packettype, unsigned char dup, unsigned short packetid) 105 | { 106 | MQTTHeader header = {0}; 107 | int rc = 0; 108 | unsigned char *ptr = buf; 109 | 110 | FUNC_ENTRY; 111 | if (buflen < 4) 112 | { 113 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 114 | goto exit; 115 | } 116 | header.bits.type = packettype; 117 | header.bits.dup = dup; 118 | header.bits.qos = (packettype == PUBREL) ? 1 : 0; 119 | writeChar(&ptr, header.byte); /* write header */ 120 | 121 | ptr += MQTTPacket_encode(ptr, 2); /* write remaining length */ 122 | writeInt(&ptr, packetid); 123 | rc = ptr - buf; 124 | exit: 125 | FUNC_EXIT_RC(rc); 126 | return rc; 127 | } 128 | 129 | 130 | /** 131 | * Serializes a puback packet into the supplied buffer. 132 | * @param buf the buffer into which the packet will be serialized 133 | * @param buflen the length in bytes of the supplied buffer 134 | * @param packetid integer - the MQTT packet identifier 135 | * @return serialized length, or error if 0 136 | */ 137 | int MQTTSerialize_puback(unsigned char* buf, int buflen, unsigned short packetid) 138 | { 139 | return MQTTSerialize_ack(buf, buflen, PUBACK, 0, packetid); 140 | } 141 | 142 | 143 | /** 144 | * Serializes a pubrel packet into the supplied buffer. 145 | * @param buf the buffer into which the packet will be serialized 146 | * @param buflen the length in bytes of the supplied buffer 147 | * @param dup integer - the MQTT dup flag 148 | * @param packetid integer - the MQTT packet identifier 149 | * @return serialized length, or error if 0 150 | */ 151 | int MQTTSerialize_pubrel(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid) 152 | { 153 | return MQTTSerialize_ack(buf, buflen, PUBREL, dup, packetid); 154 | } 155 | 156 | 157 | /** 158 | * Serializes a pubrel packet into the supplied buffer. 159 | * @param buf the buffer into which the packet will be serialized 160 | * @param buflen the length in bytes of the supplied buffer 161 | * @param packetid integer - the MQTT packet identifier 162 | * @return serialized length, or error if 0 163 | */ 164 | int MQTTSerialize_pubcomp(unsigned char* buf, int buflen, unsigned short packetid) 165 | { 166 | return MQTTSerialize_ack(buf, buflen, PUBCOMP, 0, packetid); 167 | } 168 | 169 | 170 | -------------------------------------------------------------------------------- /Mqtt/MQTTSubscribe.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Xiang Rong - 442039 Add makefile to Embedded C client 16 | *******************************************************************************/ 17 | 18 | #ifndef MQTTSUBSCRIBE_H_ 19 | #define MQTTSUBSCRIBE_H_ 20 | 21 | #if !defined(DLLImport) 22 | #define DLLImport 23 | #endif 24 | #if !defined(DLLExport) 25 | #define DLLExport 26 | #endif 27 | 28 | DLLExport int MQTTSerialize_subscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, 29 | int count, MQTTString topicFilters[], int requestedQoSs[]); 30 | 31 | DLLExport int MQTTDeserialize_subscribe(unsigned char* dup, unsigned short* packetid, 32 | int maxcount, int* count, MQTTString topicFilters[], int requestedQoSs[], unsigned char* buf, int len); 33 | 34 | DLLExport int MQTTSerialize_suback(unsigned char* buf, int buflen, unsigned short packetid, int count, int* grantedQoSs); 35 | 36 | DLLExport int MQTTDeserialize_suback(unsigned short* packetid, int maxcount, int* count, int grantedQoSs[], unsigned char* buf, int len); 37 | 38 | 39 | #endif /* MQTTSUBSCRIBE_H_ */ 40 | -------------------------------------------------------------------------------- /Mqtt/MQTTSubscribeClient.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "MQTTPacket.h" 18 | #include "StackTrace.h" 19 | 20 | #include 21 | 22 | /** 23 | * Determines the length of the MQTT subscribe packet that would be produced using the supplied parameters 24 | * @param count the number of topic filter strings in topicFilters 25 | * @param topicFilters the array of topic filter strings to be used in the publish 26 | * @return the length of buffer needed to contain the serialized version of the packet 27 | */ 28 | int MQTTSerialize_subscribeLength(int count, MQTTString topicFilters[]) 29 | { 30 | int i; 31 | int len = 2; /* packetid */ 32 | 33 | for (i = 0; i < count; ++i) 34 | len += 2 + MQTTstrlen(topicFilters[i]) + 1; /* length + topic + req_qos */ 35 | return len; 36 | } 37 | 38 | 39 | /** 40 | * Serializes the supplied subscribe data into the supplied buffer, ready for sending 41 | * @param buf the buffer into which the packet will be serialized 42 | * @param buflen the length in bytes of the supplied bufferr 43 | * @param dup integer - the MQTT dup flag 44 | * @param packetid integer - the MQTT packet identifier 45 | * @param count - number of members in the topicFilters and reqQos arrays 46 | * @param topicFilters - array of topic filter names 47 | * @param requestedQoSs - array of requested QoS 48 | * @return the length of the serialized data. <= 0 indicates error 49 | */ 50 | int MQTTSerialize_subscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, int count, 51 | MQTTString topicFilters[], int requestedQoSs[]) 52 | { 53 | unsigned char *ptr = buf; 54 | MQTTHeader header = {0}; 55 | int rem_len = 0; 56 | int rc = 0; 57 | int i = 0; 58 | 59 | FUNC_ENTRY; 60 | if (MQTTPacket_len(rem_len = MQTTSerialize_subscribeLength(count, topicFilters)) > buflen) 61 | { 62 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 63 | goto exit; 64 | } 65 | 66 | header.byte = 0; 67 | header.bits.type = SUBSCRIBE; 68 | header.bits.dup = dup; 69 | header.bits.qos = 1; 70 | writeChar(&ptr, header.byte); /* write header */ 71 | 72 | ptr += MQTTPacket_encode(ptr, rem_len); /* write remaining length */; 73 | 74 | writeInt(&ptr, packetid); 75 | 76 | for (i = 0; i < count; ++i) 77 | { 78 | writeMQTTString(&ptr, topicFilters[i]); 79 | writeChar(&ptr, requestedQoSs[i]); 80 | } 81 | 82 | rc = ptr - buf; 83 | exit: 84 | FUNC_EXIT_RC(rc); 85 | return rc; 86 | } 87 | 88 | 89 | 90 | /** 91 | * Deserializes the supplied (wire) buffer into suback data 92 | * @param packetid returned integer - the MQTT packet identifier 93 | * @param maxcount - the maximum number of members allowed in the grantedQoSs array 94 | * @param count returned integer - number of members in the grantedQoSs array 95 | * @param grantedQoSs returned array of integers - the granted qualities of service 96 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 97 | * @param buflen the length in bytes of the data in the supplied buffer 98 | * @return error code. 1 is success, 0 is failure 99 | */ 100 | int MQTTDeserialize_suback(unsigned short* packetid, int maxcount, int* count, int grantedQoSs[], unsigned char* buf, int buflen) 101 | { 102 | MQTTHeader header = {0}; 103 | unsigned char* curdata = buf; 104 | unsigned char* enddata = NULL; 105 | int rc = 0; 106 | int mylen; 107 | 108 | FUNC_ENTRY; 109 | header.byte = readChar(&curdata); 110 | if (header.bits.type != SUBACK) 111 | goto exit; 112 | 113 | curdata += (rc = MQTTPacket_decodeBuf(curdata, &mylen)); /* read remaining length */ 114 | enddata = curdata + mylen; 115 | if (enddata - curdata < 2) 116 | goto exit; 117 | 118 | *packetid = readInt(&curdata); 119 | 120 | *count = 0; 121 | while (curdata < enddata) 122 | { 123 | if (*count > maxcount) 124 | { 125 | rc = -1; 126 | goto exit; 127 | } 128 | grantedQoSs[(*count)++] = readChar(&curdata); 129 | } 130 | 131 | rc = 1; 132 | exit: 133 | FUNC_EXIT_RC(rc); 134 | return rc; 135 | } 136 | 137 | 138 | -------------------------------------------------------------------------------- /Mqtt/MQTTSubscribeServer.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "MQTTPacket.h" 18 | #include "StackTrace.h" 19 | 20 | #include 21 | 22 | 23 | /** 24 | * Deserializes the supplied (wire) buffer into subscribe data 25 | * @param dup integer returned - the MQTT dup flag 26 | * @param packetid integer returned - the MQTT packet identifier 27 | * @param maxcount - the maximum number of members allowed in the topicFilters and requestedQoSs arrays 28 | * @param count - number of members in the topicFilters and requestedQoSs arrays 29 | * @param topicFilters - array of topic filter names 30 | * @param requestedQoSs - array of requested QoS 31 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 32 | * @param buflen the length in bytes of the data in the supplied buffer 33 | * @return the length of the serialized data. <= 0 indicates error 34 | */ 35 | int MQTTDeserialize_subscribe(unsigned char* dup, unsigned short* packetid, int maxcount, int* count, MQTTString topicFilters[], 36 | int requestedQoSs[], unsigned char* buf, int buflen) 37 | { 38 | MQTTHeader header = {0}; 39 | unsigned char* curdata = buf; 40 | unsigned char* enddata = NULL; 41 | int rc = -1; 42 | int mylen = 0; 43 | 44 | FUNC_ENTRY; 45 | header.byte = readChar(&curdata); 46 | if (header.bits.type != SUBSCRIBE) 47 | goto exit; 48 | *dup = header.bits.dup; 49 | 50 | curdata += (rc = MQTTPacket_decodeBuf(curdata, &mylen)); /* read remaining length */ 51 | enddata = curdata + mylen; 52 | 53 | *packetid = readInt(&curdata); 54 | 55 | *count = 0; 56 | while (curdata < enddata) 57 | { 58 | if (!readMQTTLenString(&topicFilters[*count], &curdata, enddata)) 59 | goto exit; 60 | if (curdata >= enddata) /* do we have enough data to read the req_qos version byte? */ 61 | goto exit; 62 | requestedQoSs[*count] = readChar(&curdata); 63 | (*count)++; 64 | } 65 | 66 | rc = 1; 67 | exit: 68 | FUNC_EXIT_RC(rc); 69 | return rc; 70 | } 71 | 72 | 73 | /** 74 | * Serializes the supplied suback data into the supplied buffer, ready for sending 75 | * @param buf the buffer into which the packet will be serialized 76 | * @param buflen the length in bytes of the supplied buffer 77 | * @param packetid integer - the MQTT packet identifier 78 | * @param count - number of members in the grantedQoSs array 79 | * @param grantedQoSs - array of granted QoS 80 | * @return the length of the serialized data. <= 0 indicates error 81 | */ 82 | int MQTTSerialize_suback(unsigned char* buf, int buflen, unsigned short packetid, int count, int* grantedQoSs) 83 | { 84 | MQTTHeader header = {0}; 85 | int rc = -1; 86 | unsigned char *ptr = buf; 87 | int i; 88 | 89 | FUNC_ENTRY; 90 | if (buflen < 2 + count) 91 | { 92 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 93 | goto exit; 94 | } 95 | header.byte = 0; 96 | header.bits.type = SUBACK; 97 | writeChar(&ptr, header.byte); /* write header */ 98 | 99 | ptr += MQTTPacket_encode(ptr, 2 + count); /* write remaining length */ 100 | 101 | writeInt(&ptr, packetid); 102 | 103 | for (i = 0; i < count; ++i) 104 | writeChar(&ptr, grantedQoSs[i]); 105 | 106 | rc = ptr - buf; 107 | exit: 108 | FUNC_EXIT_RC(rc); 109 | return rc; 110 | } 111 | 112 | 113 | -------------------------------------------------------------------------------- /Mqtt/MQTTUnsubscribe.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Xiang Rong - 442039 Add makefile to Embedded C client 16 | *******************************************************************************/ 17 | 18 | #ifndef MQTTUNSUBSCRIBE_H_ 19 | #define MQTTUNSUBSCRIBE_H_ 20 | 21 | #if !defined(DLLImport) 22 | #define DLLImport 23 | #endif 24 | #if !defined(DLLExport) 25 | #define DLLExport 26 | #endif 27 | 28 | DLLExport int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, 29 | int count, MQTTString topicFilters[]); 30 | 31 | DLLExport int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int max_count, int* count, MQTTString topicFilters[], 32 | unsigned char* buf, int len); 33 | 34 | DLLExport int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid); 35 | 36 | DLLExport int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int len); 37 | 38 | #endif /* MQTTUNSUBSCRIBE_H_ */ 39 | -------------------------------------------------------------------------------- /Mqtt/MQTTUnsubscribeClient.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "MQTTPacket.h" 18 | #include "StackTrace.h" 19 | 20 | #include 21 | 22 | /** 23 | * Determines the length of the MQTT unsubscribe packet that would be produced using the supplied parameters 24 | * @param count the number of topic filter strings in topicFilters 25 | * @param topicFilters the array of topic filter strings to be used in the publish 26 | * @return the length of buffer needed to contain the serialized version of the packet 27 | */ 28 | int MQTTSerialize_unsubscribeLength(int count, MQTTString topicFilters[]) 29 | { 30 | int i; 31 | int len = 2; /* packetid */ 32 | 33 | for (i = 0; i < count; ++i) 34 | len += 2 + MQTTstrlen(topicFilters[i]); /* length + topic*/ 35 | return len; 36 | } 37 | 38 | 39 | /** 40 | * Serializes the supplied unsubscribe data into the supplied buffer, ready for sending 41 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 42 | * @param buflen the length in bytes of the data in the supplied buffer 43 | * @param dup integer - the MQTT dup flag 44 | * @param packetid integer - the MQTT packet identifier 45 | * @param count - number of members in the topicFilters array 46 | * @param topicFilters - array of topic filter names 47 | * @return the length of the serialized data. <= 0 indicates error 48 | */ 49 | int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned short packetid, 50 | int count, MQTTString topicFilters[]) 51 | { 52 | unsigned char *ptr = buf; 53 | MQTTHeader header = {0}; 54 | int rem_len = 0; 55 | int rc = -1; 56 | int i = 0; 57 | 58 | FUNC_ENTRY; 59 | if (MQTTPacket_len(rem_len = MQTTSerialize_unsubscribeLength(count, topicFilters)) > buflen) 60 | { 61 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 62 | goto exit; 63 | } 64 | 65 | header.byte = 0; 66 | header.bits.type = UNSUBSCRIBE; 67 | header.bits.dup = dup; 68 | header.bits.qos = 1; 69 | writeChar(&ptr, header.byte); /* write header */ 70 | 71 | ptr += MQTTPacket_encode(ptr, rem_len); /* write remaining length */; 72 | 73 | writeInt(&ptr, packetid); 74 | 75 | for (i = 0; i < count; ++i) 76 | writeMQTTString(&ptr, topicFilters[i]); 77 | 78 | rc = ptr - buf; 79 | exit: 80 | FUNC_EXIT_RC(rc); 81 | return rc; 82 | } 83 | 84 | 85 | /** 86 | * Deserializes the supplied (wire) buffer into unsuback data 87 | * @param packetid returned integer - the MQTT packet identifier 88 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 89 | * @param buflen the length in bytes of the data in the supplied buffer 90 | * @return error code. 1 is success, 0 is failure 91 | */ 92 | int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int buflen) 93 | { 94 | unsigned char type = 0; 95 | unsigned char dup = 0; 96 | int rc = 0; 97 | 98 | FUNC_ENTRY; 99 | rc = MQTTDeserialize_ack(&type, &dup, packetid, buf, buflen); 100 | if (type == UNSUBACK) 101 | rc = 1; 102 | FUNC_EXIT_RC(rc); 103 | return rc; 104 | } 105 | 106 | 107 | -------------------------------------------------------------------------------- /Mqtt/MQTTUnsubscribeServer.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | *******************************************************************************/ 16 | 17 | #include "MQTTPacket.h" 18 | #include "StackTrace.h" 19 | 20 | #include 21 | 22 | 23 | /** 24 | * Deserializes the supplied (wire) buffer into unsubscribe data 25 | * @param dup integer returned - the MQTT dup flag 26 | * @param packetid integer returned - the MQTT packet identifier 27 | * @param maxcount - the maximum number of members allowed in the topicFilters and requestedQoSs arrays 28 | * @param count - number of members in the topicFilters and requestedQoSs arrays 29 | * @param topicFilters - array of topic filter names 30 | * @param buf the raw buffer data, of the correct length determined by the remaining length field 31 | * @param buflen the length in bytes of the data in the supplied buffer 32 | * @return the length of the serialized data. <= 0 indicates error 33 | */ 34 | int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int maxcount, int* count, MQTTString topicFilters[], 35 | unsigned char* buf, int len) 36 | { 37 | MQTTHeader header = {0}; 38 | unsigned char* curdata = buf; 39 | unsigned char* enddata = NULL; 40 | int rc = 0; 41 | int mylen = 0; 42 | 43 | FUNC_ENTRY; 44 | header.byte = readChar(&curdata); 45 | if (header.bits.type != UNSUBSCRIBE) 46 | goto exit; 47 | *dup = header.bits.dup; 48 | 49 | curdata += (rc = MQTTPacket_decodeBuf(curdata, &mylen)); /* read remaining length */ 50 | enddata = curdata + mylen; 51 | 52 | *packetid = readInt(&curdata); 53 | 54 | *count = 0; 55 | while (curdata < enddata) 56 | { 57 | if (!readMQTTLenString(&topicFilters[*count], &curdata, enddata)) 58 | goto exit; 59 | (*count)++; 60 | } 61 | 62 | rc = 1; 63 | exit: 64 | FUNC_EXIT_RC(rc); 65 | return rc; 66 | } 67 | 68 | 69 | /** 70 | * Serializes the supplied unsuback data into the supplied buffer, ready for sending 71 | * @param buf the buffer into which the packet will be serialized 72 | * @param buflen the length in bytes of the supplied buffer 73 | * @param packetid integer - the MQTT packet identifier 74 | * @return the length of the serialized data. <= 0 indicates error 75 | */ 76 | int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid) 77 | { 78 | MQTTHeader header = {0}; 79 | int rc = 0; 80 | unsigned char *ptr = buf; 81 | 82 | FUNC_ENTRY; 83 | if (buflen < 2) 84 | { 85 | rc = MQTTPACKET_BUFFER_TOO_SHORT; 86 | goto exit; 87 | } 88 | header.byte = 0; 89 | header.bits.type = UNSUBACK; 90 | writeChar(&ptr, header.byte); /* write header */ 91 | 92 | ptr += MQTTPacket_encode(ptr, 2); /* write remaining length */ 93 | 94 | writeInt(&ptr, packetid); 95 | 96 | rc = ptr - buf; 97 | exit: 98 | FUNC_EXIT_RC(rc); 99 | return rc; 100 | } 101 | 102 | 103 | -------------------------------------------------------------------------------- /Mqtt/StackTrace.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Ian Craggs - fix for bug #434081 16 | *******************************************************************************/ 17 | 18 | #ifndef STACKTRACE_H_ 19 | #define STACKTRACE_H_ 20 | 21 | #include 22 | #define NOSTACKTRACE 1 23 | 24 | #if defined(NOSTACKTRACE) 25 | #define FUNC_ENTRY 26 | #define FUNC_ENTRY_NOLOG 27 | #define FUNC_ENTRY_MED 28 | #define FUNC_ENTRY_MAX 29 | #define FUNC_EXIT 30 | #define FUNC_EXIT_NOLOG 31 | #define FUNC_EXIT_MED 32 | #define FUNC_EXIT_MAX 33 | #define FUNC_EXIT_RC(x) 34 | #define FUNC_EXIT_MED_RC(x) 35 | #define FUNC_EXIT_MAX_RC(x) 36 | 37 | #else 38 | 39 | #if defined(WIN32) 40 | #define inline __inline 41 | #define FUNC_ENTRY StackTrace_entry(__FUNCTION__, __LINE__, TRACE_MINIMUM) 42 | #define FUNC_ENTRY_NOLOG StackTrace_entry(__FUNCTION__, __LINE__, -1) 43 | #define FUNC_ENTRY_MED StackTrace_entry(__FUNCTION__, __LINE__, TRACE_MEDIUM) 44 | #define FUNC_ENTRY_MAX StackTrace_entry(__FUNCTION__, __LINE__, TRACE_MAXIMUM) 45 | #define FUNC_EXIT StackTrace_exit(__FUNCTION__, __LINE__, NULL, TRACE_MINIMUM) 46 | #define FUNC_EXIT_NOLOG StackTrace_exit(__FUNCTION__, __LINE__, -1) 47 | #define FUNC_EXIT_MED StackTrace_exit(__FUNCTION__, __LINE__, NULL, TRACE_MEDIUM) 48 | #define FUNC_EXIT_MAX StackTrace_exit(__FUNCTION__, __LINE__, NULL, TRACE_MAXIMUM) 49 | #define FUNC_EXIT_RC(x) StackTrace_exit(__FUNCTION__, __LINE__, &x, TRACE_MINIMUM) 50 | #define FUNC_EXIT_MED_RC(x) StackTrace_exit(__FUNCTION__, __LINE__, &x, TRACE_MEDIUM) 51 | #define FUNC_EXIT_MAX_RC(x) StackTrace_exit(__FUNCTION__, __LINE__, &x, TRACE_MAXIMUM) 52 | #else 53 | #define FUNC_ENTRY StackTrace_entry(__func__, __LINE__, TRACE_MINIMUM) 54 | #define FUNC_ENTRY_NOLOG StackTrace_entry(__func__, __LINE__, -1) 55 | #define FUNC_ENTRY_MED StackTrace_entry(__func__, __LINE__, TRACE_MEDIUM) 56 | #define FUNC_ENTRY_MAX StackTrace_entry(__func__, __LINE__, TRACE_MAXIMUM) 57 | #define FUNC_EXIT StackTrace_exit(__func__, __LINE__, NULL, TRACE_MINIMUM) 58 | #define FUNC_EXIT_NOLOG StackTrace_exit(__func__, __LINE__, NULL, -1) 59 | #define FUNC_EXIT_MED StackTrace_exit(__func__, __LINE__, NULL, TRACE_MEDIUM) 60 | #define FUNC_EXIT_MAX StackTrace_exit(__func__, __LINE__, NULL, TRACE_MAXIMUM) 61 | #define FUNC_EXIT_RC(x) StackTrace_exit(__func__, __LINE__, &x, TRACE_MINIMUM) 62 | #define FUNC_EXIT_MED_RC(x) StackTrace_exit(__func__, __LINE__, &x, TRACE_MEDIUM) 63 | #define FUNC_EXIT_MAX_RC(x) StackTrace_exit(__func__, __LINE__, &x, TRACE_MAXIMUM) 64 | 65 | void StackTrace_entry(const char* name, int line, int trace); 66 | void StackTrace_exit(const char* name, int line, void* return_value, int trace); 67 | 68 | void StackTrace_printStack(FILE* dest); 69 | char* StackTrace_get(unsigned long); 70 | 71 | #endif 72 | 73 | #endif 74 | 75 | 76 | 77 | 78 | #endif /* STACKTRACE_H_ */ 79 | -------------------------------------------------------------------------------- /Mqtt/transport.c: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Sergio R. Caprile - "commonalization" from prior samples and/or documentation extension 16 | *******************************************************************************/ 17 | 18 | #include "stm32f1xx_hal.h" 19 | #include "tim.h" 20 | #include "usart.h" 21 | #include "esp8266.h" 22 | #include "stdio.h" 23 | #include "stdlib.h" 24 | #include "string.h" 25 | #include "transport.h" 26 | 27 | #if !defined(SOCKET_ERROR) 28 | /** error in socket operation */ 29 | #define SOCKET_ERROR -1 30 | #endif 31 | 32 | 33 | /** 34 | This simple low-level implementation assumes a single connection for a single thread. Thus, a static 35 | variable is used for that connection. 36 | On other scenarios, the user must solve this by taking into account that the current implementation of 37 | MQTTPacket_read() has a function pointer for a function call to get the data to a buffer, but no provisions 38 | to know the caller or other indicator (the socket id): int (*getfn)(unsigned char*, int) 39 | */ 40 | 41 | 42 | 43 | int transport_sendPacketBuffer(int sock, unsigned char* buf, int buflen) 44 | { 45 | 46 | USART3_RX_STA = 0; 47 | memset(USART3_RX_BUF,0,USART3_MAX_RECV_LEN); 48 | HAL_UART_Transmit(&huart3, buf, buflen,1000); 49 | return buflen; 50 | } 51 | 52 | 53 | int transport_getdata(unsigned char* buf, int count) 54 | { 55 | uint8_t i=10; 56 | memcpy(buf, (const char*)USART3_RX_BUF, count); 57 | 58 | USART3_RX_STA = 0; 59 | memset(USART3_RX_BUF,0,USART3_MAX_RECV_LEN); 60 | return count; 61 | } 62 | 63 | 64 | 65 | int transport_getdatanb(void *sck, unsigned char* buf, int count) 66 | { 67 | 68 | return 0; 69 | } 70 | 71 | /** 72 | return >=0 for a socket descriptor, <0 for an error code 73 | @todo Basically moved from the sample without changes, should accomodate same usage for 'sock' for clarity, 74 | removing indirections 75 | */ 76 | int transport_open(char* addr, int port) 77 | { 78 | 79 | return 0; 80 | } 81 | 82 | int transport_close(int sock) 83 | { 84 | return 0; 85 | } 86 | -------------------------------------------------------------------------------- /Mqtt/transport.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2014 IBM Corp. 3 | * 4 | * All rights reserved. This program and the accompanying materials 5 | * are made available under the terms of the Eclipse Public License v1.0 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. 7 | * 8 | * The Eclipse Public License is available at 9 | * http://www.eclipse.org/legal/epl-v10.html 10 | * and the Eclipse Distribution License is available at 11 | * http://www.eclipse.org/org/documents/edl-v10.php. 12 | * 13 | * Contributors: 14 | * Ian Craggs - initial API and implementation and/or initial documentation 15 | * Sergio R. Caprile - "commonalization" from prior samples and/or documentation extension 16 | *******************************************************************************/ 17 | 18 | 19 | #ifndef _TRAN_S 20 | #define _TRAN_S 21 | int transport_sendPacketBuffer(int sock, unsigned char* buf, int buflen); 22 | int transport_getdata(unsigned char* buf, int count); 23 | int transport_getdatanb(void *sck, unsigned char* buf, int count); 24 | int transport_open(char* host, int port); 25 | int transport_close(int sock); 26 | 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ConnectTOAliIOTServer 2 | 使用Paho-embed-c连接阿里云IOT平台实验 3 | 4 | 本实验使用stm32f1系列开发板加esp8266模块使用透传模式,用paho mqtt协议栈连接阿里云IOT平台,仅是简单实验 5 | 6 | 讲解链接https://blog.csdn.net/weixin_42487906/article/details/104543760 7 | -------------------------------------------------------------------------------- /Src/esp8266.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Src/esp8266.c -------------------------------------------------------------------------------- /Src/gpio.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * File Name : gpio.c 4 | * Description : This file provides code for the configuration 5 | * of all used GPIO pins. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | 20 | /* Includes ------------------------------------------------------------------*/ 21 | #include "gpio.h" 22 | /* USER CODE BEGIN 0 */ 23 | 24 | /* USER CODE END 0 */ 25 | 26 | /*----------------------------------------------------------------------------*/ 27 | /* Configure GPIO */ 28 | /*----------------------------------------------------------------------------*/ 29 | /* USER CODE BEGIN 1 */ 30 | 31 | /* USER CODE END 1 */ 32 | 33 | /** Configure pins as 34 | * Analog 35 | * Input 36 | * Output 37 | * EVENT_OUT 38 | * EXTI 39 | */ 40 | void MX_GPIO_Init(void) 41 | { 42 | 43 | /* GPIO Ports Clock Enable */ 44 | __HAL_RCC_GPIOC_CLK_ENABLE(); 45 | __HAL_RCC_GPIOB_CLK_ENABLE(); 46 | __HAL_RCC_GPIOA_CLK_ENABLE(); 47 | 48 | } 49 | 50 | /* USER CODE BEGIN 2 */ 51 | 52 | /* USER CODE END 2 */ 53 | 54 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 55 | -------------------------------------------------------------------------------- /Src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Src/main.c -------------------------------------------------------------------------------- /Src/stm32f1xx_hal_msp.c: -------------------------------------------------------------------------------- 1 | /* USER CODE BEGIN Header */ 2 | /** 3 | ****************************************************************************** 4 | * File Name : stm32f1xx_hal_msp.c 5 | * Description : This file provides code for the MSP Initialization 6 | * and de-Initialization codes. 7 | ****************************************************************************** 8 | * @attention 9 | * 10 | *

© Copyright (c) 2020 STMicroelectronics. 11 | * All rights reserved.

12 | * 13 | * This software component is licensed by ST under BSD 3-Clause license, 14 | * the "License"; You may not use this file except in compliance with the 15 | * License. You may obtain a copy of the License at: 16 | * opensource.org/licenses/BSD-3-Clause 17 | * 18 | ****************************************************************************** 19 | */ 20 | /* USER CODE END Header */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "main.h" 24 | /* USER CODE BEGIN Includes */ 25 | 26 | /* USER CODE END Includes */ 27 | 28 | /* Private typedef -----------------------------------------------------------*/ 29 | /* USER CODE BEGIN TD */ 30 | 31 | /* USER CODE END TD */ 32 | 33 | /* Private define ------------------------------------------------------------*/ 34 | /* USER CODE BEGIN Define */ 35 | 36 | /* USER CODE END Define */ 37 | 38 | /* Private macro -------------------------------------------------------------*/ 39 | /* USER CODE BEGIN Macro */ 40 | 41 | /* USER CODE END Macro */ 42 | 43 | /* Private variables ---------------------------------------------------------*/ 44 | /* USER CODE BEGIN PV */ 45 | 46 | /* USER CODE END PV */ 47 | 48 | /* Private function prototypes -----------------------------------------------*/ 49 | /* USER CODE BEGIN PFP */ 50 | 51 | /* USER CODE END PFP */ 52 | 53 | /* External functions --------------------------------------------------------*/ 54 | /* USER CODE BEGIN ExternalFunctions */ 55 | 56 | /* USER CODE END ExternalFunctions */ 57 | 58 | /* USER CODE BEGIN 0 */ 59 | 60 | /* USER CODE END 0 */ 61 | /** 62 | * Initializes the Global MSP. 63 | */ 64 | void HAL_MspInit(void) 65 | { 66 | /* USER CODE BEGIN MspInit 0 */ 67 | 68 | /* USER CODE END MspInit 0 */ 69 | 70 | __HAL_RCC_AFIO_CLK_ENABLE(); 71 | __HAL_RCC_PWR_CLK_ENABLE(); 72 | 73 | /* System interrupt init*/ 74 | 75 | /** NOJTAG: JTAG-DP Disabled and SW-DP Enabled 76 | */ 77 | __HAL_AFIO_REMAP_SWJ_NOJTAG(); 78 | 79 | /* USER CODE BEGIN MspInit 1 */ 80 | 81 | /* USER CODE END MspInit 1 */ 82 | } 83 | 84 | /* USER CODE BEGIN 1 */ 85 | 86 | /* USER CODE END 1 */ 87 | 88 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 89 | -------------------------------------------------------------------------------- /Src/stm32f1xx_it.c: -------------------------------------------------------------------------------- 1 | /* USER CODE BEGIN Header */ 2 | /** 3 | ****************************************************************************** 4 | * @file stm32f1xx_it.c 5 | * @brief Interrupt Service Routines. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | /* USER CODE END Header */ 20 | 21 | /* Includes ------------------------------------------------------------------*/ 22 | #include "main.h" 23 | #include "stm32f1xx_it.h" 24 | /* Private includes ----------------------------------------------------------*/ 25 | /* USER CODE BEGIN Includes */ 26 | 27 | #include "usart.h" 28 | /* USER CODE END Includes */ 29 | 30 | /* Private typedef -----------------------------------------------------------*/ 31 | /* USER CODE BEGIN TD */ 32 | 33 | /* USER CODE END TD */ 34 | 35 | /* Private define ------------------------------------------------------------*/ 36 | /* USER CODE BEGIN PD */ 37 | 38 | /* USER CODE END PD */ 39 | 40 | /* Private macro -------------------------------------------------------------*/ 41 | /* USER CODE BEGIN PM */ 42 | 43 | /* USER CODE END PM */ 44 | 45 | /* Private variables ---------------------------------------------------------*/ 46 | /* USER CODE BEGIN PV */ 47 | 48 | /* USER CODE END PV */ 49 | 50 | /* Private function prototypes -----------------------------------------------*/ 51 | /* USER CODE BEGIN PFP */ 52 | 53 | /* USER CODE END PFP */ 54 | 55 | /* Private user code ---------------------------------------------------------*/ 56 | /* USER CODE BEGIN 0 */ 57 | 58 | /* USER CODE END 0 */ 59 | 60 | /* External variables --------------------------------------------------------*/ 61 | extern TIM_HandleTypeDef htim2; 62 | extern UART_HandleTypeDef huart1; 63 | extern UART_HandleTypeDef huart3; 64 | /* USER CODE BEGIN EV */ 65 | 66 | /* USER CODE END EV */ 67 | 68 | /******************************************************************************/ 69 | /* Cortex-M3 Processor Interruption and Exception Handlers */ 70 | /******************************************************************************/ 71 | /** 72 | * @brief This function handles Non maskable interrupt. 73 | */ 74 | void NMI_Handler(void) 75 | { 76 | /* USER CODE BEGIN NonMaskableInt_IRQn 0 */ 77 | 78 | /* USER CODE END NonMaskableInt_IRQn 0 */ 79 | /* USER CODE BEGIN NonMaskableInt_IRQn 1 */ 80 | 81 | /* USER CODE END NonMaskableInt_IRQn 1 */ 82 | } 83 | 84 | /** 85 | * @brief This function handles Hard fault interrupt. 86 | */ 87 | void HardFault_Handler(void) 88 | { 89 | /* USER CODE BEGIN HardFault_IRQn 0 */ 90 | 91 | /* USER CODE END HardFault_IRQn 0 */ 92 | while (1) 93 | { 94 | /* USER CODE BEGIN W1_HardFault_IRQn 0 */ 95 | /* USER CODE END W1_HardFault_IRQn 0 */ 96 | } 97 | } 98 | 99 | /** 100 | * @brief This function handles Memory management fault. 101 | */ 102 | void MemManage_Handler(void) 103 | { 104 | /* USER CODE BEGIN MemoryManagement_IRQn 0 */ 105 | 106 | /* USER CODE END MemoryManagement_IRQn 0 */ 107 | while (1) 108 | { 109 | /* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */ 110 | /* USER CODE END W1_MemoryManagement_IRQn 0 */ 111 | } 112 | } 113 | 114 | /** 115 | * @brief This function handles Prefetch fault, memory access fault. 116 | */ 117 | void BusFault_Handler(void) 118 | { 119 | /* USER CODE BEGIN BusFault_IRQn 0 */ 120 | 121 | /* USER CODE END BusFault_IRQn 0 */ 122 | while (1) 123 | { 124 | /* USER CODE BEGIN W1_BusFault_IRQn 0 */ 125 | /* USER CODE END W1_BusFault_IRQn 0 */ 126 | } 127 | } 128 | 129 | /** 130 | * @brief This function handles Undefined instruction or illegal state. 131 | */ 132 | void UsageFault_Handler(void) 133 | { 134 | /* USER CODE BEGIN UsageFault_IRQn 0 */ 135 | 136 | /* USER CODE END UsageFault_IRQn 0 */ 137 | while (1) 138 | { 139 | /* USER CODE BEGIN W1_UsageFault_IRQn 0 */ 140 | /* USER CODE END W1_UsageFault_IRQn 0 */ 141 | } 142 | } 143 | 144 | /** 145 | * @brief This function handles System service call via SWI instruction. 146 | */ 147 | void SVC_Handler(void) 148 | { 149 | /* USER CODE BEGIN SVCall_IRQn 0 */ 150 | 151 | /* USER CODE END SVCall_IRQn 0 */ 152 | /* USER CODE BEGIN SVCall_IRQn 1 */ 153 | 154 | /* USER CODE END SVCall_IRQn 1 */ 155 | } 156 | 157 | /** 158 | * @brief This function handles Debug monitor. 159 | */ 160 | void DebugMon_Handler(void) 161 | { 162 | /* USER CODE BEGIN DebugMonitor_IRQn 0 */ 163 | 164 | /* USER CODE END DebugMonitor_IRQn 0 */ 165 | /* USER CODE BEGIN DebugMonitor_IRQn 1 */ 166 | 167 | /* USER CODE END DebugMonitor_IRQn 1 */ 168 | } 169 | 170 | /** 171 | * @brief This function handles Pendable request for system service. 172 | */ 173 | void PendSV_Handler(void) 174 | { 175 | /* USER CODE BEGIN PendSV_IRQn 0 */ 176 | 177 | /* USER CODE END PendSV_IRQn 0 */ 178 | /* USER CODE BEGIN PendSV_IRQn 1 */ 179 | 180 | /* USER CODE END PendSV_IRQn 1 */ 181 | } 182 | 183 | /** 184 | * @brief This function handles System tick timer. 185 | */ 186 | void SysTick_Handler(void) 187 | { 188 | /* USER CODE BEGIN SysTick_IRQn 0 */ 189 | 190 | /* USER CODE END SysTick_IRQn 0 */ 191 | HAL_IncTick(); 192 | /* USER CODE BEGIN SysTick_IRQn 1 */ 193 | 194 | /* USER CODE END SysTick_IRQn 1 */ 195 | } 196 | 197 | /******************************************************************************/ 198 | /* STM32F1xx Peripheral Interrupt Handlers */ 199 | /* Add here the Interrupt Handlers for the used peripherals. */ 200 | /* For the available peripheral interrupt handler names, */ 201 | /* please refer to the startup file (startup_stm32f1xx.s). */ 202 | /******************************************************************************/ 203 | 204 | /** 205 | * @brief This function handles TIM2 global interrupt. 206 | */ 207 | void TIM2_IRQHandler(void) 208 | { 209 | /* USER CODE BEGIN TIM2_IRQn 0 */ 210 | 211 | /* USER CODE END TIM2_IRQn 0 */ 212 | HAL_TIM_IRQHandler(&htim2); 213 | /* USER CODE BEGIN TIM2_IRQn 1 */ 214 | 215 | /* USER CODE END TIM2_IRQn 1 */ 216 | } 217 | 218 | /** 219 | * @brief This function handles USART1 global interrupt. 220 | */ 221 | void USART1_IRQHandler(void) 222 | { 223 | /* USER CODE BEGIN USART1_IRQn 0 */ 224 | 225 | /* USER CODE END USART1_IRQn 0 */ 226 | HAL_UART_IRQHandler(&huart1); 227 | /* USER CODE BEGIN USART1_IRQn 1 */ 228 | 229 | /* USER CODE END USART1_IRQn 1 */ 230 | } 231 | 232 | /** 233 | * @brief This function handles USART3 global interrupt. 234 | */ 235 | void USART3_IRQHandler(void) 236 | { 237 | /* USER CODE BEGIN USART3_IRQn 0 */ 238 | 239 | /* USER CODE END USART3_IRQn 0 */ 240 | HAL_UART_IRQHandler(&huart3); 241 | /* USER CODE BEGIN USART3_IRQn 1 */ 242 | HAL_UART_Receive_IT(&huart3, &temp_rx, 1); 243 | /* USER CODE END USART3_IRQn 1 */ 244 | } 245 | 246 | /* USER CODE BEGIN 1 */ 247 | 248 | /* USER CODE END 1 */ 249 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 250 | -------------------------------------------------------------------------------- /Src/sys.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * File Name : SYS.c 4 | * Description : This file provides code for the configuration 5 | * of the SYS instances. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© Copyright (c) 2020 STMicroelectronics. 10 | * All rights reserved.

11 | * 12 | * This software component is licensed by ST under BSD 3-Clause license, 13 | * the "License"; You may not use this file except in compliance with the 14 | * License. You may obtain a copy of the License at: 15 | * opensource.org/licenses/BSD-3-Clause 16 | * 17 | ****************************************************************************** 18 | */ 19 | 20 | /* Includes ------------------------------------------------------------------*/ 21 | #include "sys.h" 22 | 23 | /* USER CODE BEGIN 0 */ 24 | 25 | /* USER CODE END 0 */ 26 | 27 | /* SYS init function */ 28 | void MX_SYS_Init(void) 29 | { 30 | 31 | /** NOJTAG: JTAG-DP Disabled and SW-DP Enabled 32 | */ 33 | __HAL_AFIO_REMAP_SWJ_NOJTAG(); 34 | 35 | } 36 | 37 | /* USER CODE BEGIN 1 */ 38 | 39 | /* USER CODE END 1 */ 40 | 41 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 42 | -------------------------------------------------------------------------------- /Src/tim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Src/tim.c -------------------------------------------------------------------------------- /Src/usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FranHawk/ConnectTOAliIOTServer/47114cd5058bad6b58c6bf66bc90e834bf226e27/Src/usart.c -------------------------------------------------------------------------------- /WIFI_test.ioc: -------------------------------------------------------------------------------- 1 | #MicroXplorer Configuration settings - do not modify 2 | File.Version=6 3 | KeepUserPlacement=false 4 | Mcu.Family=STM32F1 5 | Mcu.IP0=NVIC 6 | Mcu.IP1=RCC 7 | Mcu.IP2=SYS 8 | Mcu.IP3=TIM2 9 | Mcu.IP4=USART1 10 | Mcu.IP5=USART3 11 | Mcu.IPNb=6 12 | Mcu.Name=STM32F103Z(C-D-E)Tx 13 | Mcu.Package=LQFP144 14 | Mcu.Pin0=PC14-OSC32_IN 15 | Mcu.Pin1=PC15-OSC32_OUT 16 | Mcu.Pin10=VP_SYS_VS_Systick 17 | Mcu.Pin11=VP_TIM2_VS_ClockSourceINT 18 | Mcu.Pin2=OSC_IN 19 | Mcu.Pin3=OSC_OUT 20 | Mcu.Pin4=PB10 21 | Mcu.Pin5=PB11 22 | Mcu.Pin6=PA9 23 | Mcu.Pin7=PA10 24 | Mcu.Pin8=PA13 25 | Mcu.Pin9=PA14 26 | Mcu.PinsNb=12 27 | Mcu.ThirdPartyNb=0 28 | Mcu.UserConstants= 29 | Mcu.UserName=STM32F103ZETx 30 | MxCube.Version=5.4.0 31 | MxDb.Version=DB.5.0.40 32 | NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false 33 | NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false 34 | NVIC.ForceEnableDMAVector=true 35 | NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false 36 | NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false 37 | NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false 38 | NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false 39 | NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 40 | NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false 41 | NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false\:true 42 | NVIC.TIM2_IRQn=true\:1\:0\:true\:false\:true\:true\:true 43 | NVIC.USART1_IRQn=true\:3\:0\:true\:false\:true\:true\:true 44 | NVIC.USART3_IRQn=true\:2\:0\:true\:false\:true\:true\:true 45 | NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false 46 | OSC_IN.Mode=HSE-External-Oscillator 47 | OSC_IN.Signal=RCC_OSC_IN 48 | OSC_OUT.Mode=HSE-External-Oscillator 49 | OSC_OUT.Signal=RCC_OSC_OUT 50 | PA10.Locked=true 51 | PA10.Mode=Asynchronous 52 | PA10.Signal=USART1_RX 53 | PA13.Mode=Serial_Wire 54 | PA13.Signal=SYS_JTMS-SWDIO 55 | PA14.Mode=Serial_Wire 56 | PA14.Signal=SYS_JTCK-SWCLK 57 | PA9.Locked=true 58 | PA9.Mode=Asynchronous 59 | PA9.Signal=USART1_TX 60 | PB10.Locked=true 61 | PB10.Mode=Asynchronous 62 | PB10.Signal=USART3_TX 63 | PB11.Locked=true 64 | PB11.Mode=Asynchronous 65 | PB11.Signal=USART3_RX 66 | PC14-OSC32_IN.Mode=LSE-External-Oscillator 67 | PC14-OSC32_IN.Signal=RCC_OSC32_IN 68 | PC15-OSC32_OUT.Mode=LSE-External-Oscillator 69 | PC15-OSC32_OUT.Signal=RCC_OSC32_OUT 70 | PCC.Checker=false 71 | PCC.Line=STM32F103 72 | PCC.MCU=STM32F103Z(C-D-E)Tx 73 | PCC.PartNumber=STM32F103ZETx 74 | PCC.Seq0=0 75 | PCC.Series=STM32F1 76 | PCC.Temperature=25 77 | PCC.Vdd=3.3 78 | PinOutPanel.RotationAngle=0 79 | ProjectManager.AskForMigrate=true 80 | ProjectManager.BackupPrevious=false 81 | ProjectManager.CompilerOptimize=6 82 | ProjectManager.ComputerToolchain=false 83 | ProjectManager.CoupleFile=true 84 | ProjectManager.CustomerFirmwarePackage= 85 | ProjectManager.DefaultFWLocation=true 86 | ProjectManager.DeletePrevious=true 87 | ProjectManager.DeviceId=STM32F103ZETx 88 | ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.8.0 89 | ProjectManager.FreePins=false 90 | ProjectManager.HalAssertFull=false 91 | ProjectManager.HeapSize=0x800 92 | ProjectManager.KeepUserCode=true 93 | ProjectManager.LastFirmware=true 94 | ProjectManager.LibraryCopy=1 95 | ProjectManager.MainLocation=Src 96 | ProjectManager.NoMain=false 97 | ProjectManager.PreviousToolchain= 98 | ProjectManager.ProjectBuild=false 99 | ProjectManager.ProjectFileName=WIFI_test.ioc 100 | ProjectManager.ProjectName=WIFI_test 101 | ProjectManager.StackSize=0x800 102 | ProjectManager.TargetToolchain=MDK-ARM V5 103 | ProjectManager.ToolChainLocation= 104 | ProjectManager.UnderRoot=false 105 | ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_TIM2_Init-TIM2-false-HAL-true,4-MX_USART1_UART_Init-USART1-false-HAL-true,5-MX_USART3_UART_Init-USART3-false-HAL-true 106 | RCC.ADCFreqValue=36000000 107 | RCC.AHBFreq_Value=72000000 108 | RCC.APB1CLKDivider=RCC_HCLK_DIV2 109 | RCC.APB1Freq_Value=36000000 110 | RCC.APB1TimFreq_Value=72000000 111 | RCC.APB2Freq_Value=72000000 112 | RCC.APB2TimFreq_Value=72000000 113 | RCC.FCLKCortexFreq_Value=72000000 114 | RCC.FSMCFreq_Value=72000000 115 | RCC.FamilyName=M 116 | RCC.HCLKFreq_Value=72000000 117 | RCC.I2S2Freq_Value=72000000 118 | RCC.I2S3Freq_Value=72000000 119 | RCC.IPParameters=ADCFreqValue,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FSMCFreq_Value,FamilyName,HCLKFreq_Value,I2S2Freq_Value,I2S3Freq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PLLSourceVirtual,SDIOFreq_Value,SDIOHCLKDiv2FreqValue,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value,VCOOutput2Freq_Value 120 | RCC.MCOFreq_Value=72000000 121 | RCC.PLLCLKFreq_Value=72000000 122 | RCC.PLLMCOFreq_Value=36000000 123 | RCC.PLLMUL=RCC_PLL_MUL9 124 | RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE 125 | RCC.SDIOFreq_Value=72000000 126 | RCC.SDIOHCLKDiv2FreqValue=36000000 127 | RCC.SYSCLKFreq_VALUE=72000000 128 | RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK 129 | RCC.TimSysFreq_Value=72000000 130 | RCC.USBFreq_Value=72000000 131 | RCC.VCOOutput2Freq_Value=8000000 132 | TIM2.IPParameters=Prescaler,Period 133 | TIM2.Period=500-1 134 | TIM2.Prescaler=7200-1 135 | USART1.IPParameters=VirtualMode 136 | USART1.VirtualMode=VM_ASYNC 137 | USART3.IPParameters=VirtualMode 138 | USART3.VirtualMode=VM_ASYNC 139 | VP_SYS_VS_Systick.Mode=SysTick 140 | VP_SYS_VS_Systick.Signal=SYS_VS_Systick 141 | VP_TIM2_VS_ClockSourceINT.Mode=Internal 142 | VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT 143 | board=custom 144 | --------------------------------------------------------------------------------