update source code header
| | |
| | | /* RS232/TTL/RS485 communication |
| | | * comport.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard RS232/TTL/RS485 Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Feb 15, 2023 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include "comport.h" |
| | | #include "miscdev.h" |
| | |
| | | /* |
| | | * comport.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard RS232/TTL/RS485 Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Feb 15, 2023 |
| | | * Author: Think |
| | | */ |
| | | |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #ifndef INC_COMPORT_H_ |
| | | #define INC_COMPORT_H_ |
| | | |
| | |
| | | /* |
| | | * ds18b20.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard DS18B20 temperature sensor Hardware Abstract Layer driver |
| | | * |
| | | * Created on: 2021年8月17日 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #include "main.h" |
| | | #include "miscdev.h" |
| | | |
| | |
| | | /* |
| | | * ds18b20.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard DS18B20 temperature sensor Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Dec 31, 2022 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef INC_DS18B20_H_ |
| | | #define INC_DS18B20_H_ |
| | |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard OLED display font |
| | | * |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef __FONT_OLED_H |
| | | #define __FONT_OLED_H |
| | | |
| | |
| | | /********************************************************************** |
| | | * Copyright: (C)2021 LingYun IoT System Studio <www.weike-iot.com> |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: BearKE1 NB-IoT Board OLED Hardware Abstract Layer source code |
| | | * Description: ISKBoard OLED Hardware Abstract Layer driver |
| | | * |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2021.08.10 GuoWenxue Release initial version |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include "hal_oled.h" |
| | |
| | | /* |
| | | * oled.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard OLED Hardware Abstract Layer driver |
| | | * |
| | | * Created on: 2023年1月20日 |
| | | * Author: Wenxue |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef INC_HAL_OLED_H_ |
| | | #define INC_HAL_OLED_H_ |
| | |
| | | /* |
| | | * i2c_bitbang.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard GPIO simulate I2C Bus Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 19, 2023 |
| | | * Author: Wenxue |
| | | */ |
| | | |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include "i2c_bitbang.h" |
| | | |
| | |
| | | /* |
| | | * i2c_bitbang.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard GPIO simulate I2C Bus Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 19, 2023 |
| | | * Author: Wenxue |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef INC_I2C_BITBANG_H_ |
| | | #define INC_I2C_BITBANG_H_ |
| | |
| | | /* |
| | | * sht20.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard ISL1208 RTC chip Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 19, 2023 |
| | | * Author: Wenxue |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include <stdio.h> |
| | | #include <string.h> |
| | |
| | | /* |
| | | * isl1208.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard ISL1208 RTC chip Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 19, 2023 |
| | | * Author: Wenxue |
| | | */ |
| | | |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #ifndef INC_ISL1208_H_ |
| | | #define INC_ISL1208_H_ |
| | | |
| | |
| | | /* |
| | | * miscdev.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard Led/Relay/Key/ADC Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 1, 2023 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #include <miscdev.h> |
| | | #include "stm32l4xx_hal.h" |
| | | #include "main.h" |
| | |
| | | /* |
| | | * led.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard Led/Relay/Key/ADC Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 4, 2023 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef INC_MISCDEV_H_ |
| | | #define INC_MISCDEV_H_ |
| | |
| | | /* |
| | | * sht20.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard SHT20 R&H sensor Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 19, 2023 |
| | | * Author: Wenxue |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include <sht20.h> |
| | | #include <stdio.h> |
| | |
| | | /* |
| | | * sht20.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard SHT20 R&H sensor Hardware Abstract Layer driver |
| | | * |
| | | * Created on: Jan 19, 2023 |
| | | * Author: Wenxue |
| | | */ |
| | | |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #ifndef INC_SHT20_H_ |
| | | #define INC_SHT20_H_ |
| | | |
| | |
| | | |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard W25Qxx SPI norflash Hardware Abstract Layer driver |
| | | * |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #include <stdio.h> |
| | | #include "w25q32.h" |
| | | #include "spi.h" |
| | |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard W25Qxx SPI norflash Hardware Abstract Layer driver |
| | | * |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #ifndef _w25Q32_H |
| | | #define _W25Q32_H |
| | | |
| | |
| | | /* Reference: https://blog.csdn.net/Lennon8_8/article/details/108980808 |
| | | * ws2812b.c |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard WS2812B strip lights Hardware Abstract Layer driver |
| | | * Reference: https://blog.csdn.net/Lennon8_8/article/details/108980808 |
| | | * |
| | | * Created on: 2023年2月13日 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #include <string.h> |
| | | #include <stdint.h> |
| | | #include "ws2812b.h" |
| | |
| | | /* |
| | | * ws2812b.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ISKBoard WS2812B strip lights Hardware Abstract Layer driver |
| | | * Reference: https://blog.csdn.net/Lennon8_8/article/details/108980808 |
| | | * |
| | | * Created on: Jan 6, 2023 |
| | | * Author: weihh |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef INC_WS2812B_H_ |
| | | #define INC_WS2812B_H_ |
| | |
| | | /* |
| | | * Copyright (c) 2022 Avnet |
| | | * Author: Guo Wenxue <wenxue.guo@avnet.com> |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ESP32 WiFi/BLE module common AT commands API |
| | | * |
| | | * This library is free software; you can redistribute it and/or modify it |
| | | * under the terms of the GPL license. |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include "at-esp32.h" |
| | | |
| | |
| | | /* |
| | | * Copyright (c) 2022 Avnet |
| | | * Author: Guo Wenxue <wenxue.guo@avnet.com> |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ESP32 WiFi/BLE module common AT commands API |
| | | * |
| | | * This library is free software; you can redistribute it and/or modify it |
| | | * under the terms of the GPL license. |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef _AT_ESP32_H_ |
| | | #define _AT_ESP32_H_ |
| | |
| | | /* |
| | | * Copyright (c) 2022 Avnet |
| | | * Author: Guo Wenxue <wenxue.guo@avnet.com> |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: AT command send/receive low level API |
| | | * |
| | | * This library is free software; you can redistribute it and/or modify it |
| | | * under the terms of the GPL license. |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include <ctype.h> |
| | | #include <string.h> |
| | |
| | | /* |
| | | * Copyright (c) 2022 Avnet |
| | | * Author: Guo Wenxue <wenxue.guo@avnet.com> |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: AT command send/receive low level API |
| | | * |
| | | * This library is free software; you can redistribute it and/or modify it |
| | | * under the terms of the GPL license. |
| | | */ |
| | | |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | #ifndef _ATCMD_H_ |
| | | #define _ATCMD_H_ |
| | | |
| | |
| | | /* |
| | | * Copyright (c) 2022 Avnet |
| | | * Author: Guo Wenxue <wenxue.guo@avnet.com> |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ESP32 WiFi/BLE module application API |
| | | * |
| | | * This library is free software; you can redistribute it and/or modify it |
| | | * under the terms of the GPL license. |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #include <string.h> |
| | | #include "esp32.h" |
| | |
| | | /* |
| | | * Copyright (c) 2022 Avnet |
| | | * Author: Guo Wenxue <wenxue.guo@avnet.com> |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ESP32 WiFi/BLE module application API |
| | | * |
| | | * This library is free software; you can redistribute it and/or modify it |
| | | * under the terms of the GPL license. |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef _ESP32_H_ |
| | | #define _ESP32_H_ |
| | |
| | | /* |
| | | * logger.h |
| | | /********************************************************************** |
| | | * Copyright: (C)2023 LingYun IoT System Studio |
| | | * Author: GuoWenxue<guowenxue@gmail.com> QQ: 281143292 |
| | | * Description: ESP32 module linux compatible logger API |
| | | * |
| | | * Created on: 2023年2月20日 |
| | | * Author: Think |
| | | */ |
| | | * ChangeLog: |
| | | * Version Date Author Description |
| | | * V1.0.0 2023.04.3 GuoWenxue Release initial version |
| | | ***********************************************************************/ |
| | | |
| | | #ifndef SRC_ESP_LOGGER_H_ |
| | | #define SRC_ESP_LOGGER_H_ |