code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/**
* @copyright Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <memory.h>
#include "MQTTClient.h"
#include <stdio.h>
#include <signal.h>
#include <sys/time.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/* 三元组 */
#define EXAMPLE_PRODUCT_KEY "a1nEew2TMm8"
#define EXAMPLE_D... | YifuLiu/AliOS-Things | components/mqtt/example/mqtt_example.c | C | apache-2.0 | 4,079 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "activation.h"
#include "ulog/ulog.h"
#include "aos/kernel.h"
#include <netdb.h>
#include <sys/socket.h>
#ifdef AOS_COMP_KV
#include "aos/kv.h"
#endif
#ifdef SYSINFO_MCU_ESP32
#include "... | YifuLiu/AliOS-Things | components/netmgr/activation/activation.c | C | apache-2.0 | 13,344 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#ifndef ACTIVATION_H
#define ACTIVATION_H
/* tigger activation report */
int activation_report(void);
int activation_info_set(char *os, char *partner, char *app_net, char *type, char *project, char *cloud);
#endif
| YifuLiu/AliOS-Things | components/netmgr/activation/activation.h | C | apache-2.0 | 282 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include "netmgr.h"
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
#include <uservice/uservice.h>
#include <uservice/eventid.h>
static void wifi_event_cb(uint32_t event_id, const void *param, void *context)
{
printf("wifi event cb\r\n");
printf("G... | YifuLiu/AliOS-Things | components/netmgr/example/netmgr_example.c | C | apache-2.0 | 713 |
#include "dm_export.h"
#include "netmgr.h"
#include "netmgr_wifi.h"
SYMBOL_EXPORT(netmgr_set_auto_reconnect);
SYMBOL_EXPORT(netmgr_service_init);
SYMBOL_EXPORT(netmgr_wifi_set_auto_save_ap);
| YifuLiu/AliOS-Things | components/netmgr/export.c | C | apache-2.0 | 191 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#ifndef NETMGR_H
#define NETMGR_H
#include <stdbool.h>
#include "lwip/ip_addr.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <uservice/uservice.h>
/**
* @defgroup netmgr_api netmgr
* @{
*/
/** @brief ethernet speed type */
typedef enum {
... | YifuLiu/AliOS-Things | components/netmgr/include/netmgr.h | C | apache-2.0 | 13,225 |
/**
* @file netmgr_wifi.h
* netmgr Wi-Fi API header file.
*
* @version V2.0
* @date 2020-11-22
* @copyright Copyright (C) 2015-2019 Alibaba Group Holding Limited
*/
#ifndef NETMGR_WIFI_H
#define NETMGR_WIFI_H
#include <stdint.h>
#include <stdbool.h>
#include <netmgr.h>
#if defined(__cplusplus)
extern "... | YifuLiu/AliOS-Things | components/netmgr/include/netmgr_ethernet.h | C | apache-2.0 | 1,419 |
/**
* @file netmgr_wifi.h
* netmgr Wi-Fi API header file.
*
* @version V2.0
* @date 2020-11-22
* @copyright Copyright (C) 2015-2019 Alibaba Group Holding Limited
*/
#ifndef NETMGR_WIFI_H
#define NETMGR_WIFI_H
#include <stdint.h>
#include <stdbool.h>
#include <netmgr.h>
#if defined(__cplusplus)
extern "... | YifuLiu/AliOS-Things | components/netmgr/include/netmgr_wifi.h | C | apache-2.0 | 6,054 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef NETMGR_CONN_H
#define NETGMR_CONN_H
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>
#include <netmgr.h>
#include "sys/socket.h"
typedef struct netmgr_conn netmgr_conn_t;
struct netmgr_conn
{
netmgr_conn_t* nex... | YifuLiu/AliOS-Things | components/netmgr/include_inner/netmgr_conn.h | C | apache-2.0 | 1,627 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#ifndef __NETMGR_SERVICE_H_
#define __NETMGR_SERVICE_H_
#include <aos/aos.h>
#include <uservice/uservice.h>
#include <uservice/event.h>
#include <netmgr.h>
#include <vfsdev/wifi_dev.h>
#ifdef __cplusplus
extern "C" {
#endif
#define API_NET_INIT ... | YifuLiu/AliOS-Things | components/netmgr/include_inner/netmgr_service.h | C | apache-2.0 | 5,135 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef STRING_CONVERT_H
#define STRING_CONVERT_H
#include "stdint.h"
#define UNICODE_TO_GBK 0x0
#define UNICODE_BIG_TO_GBK 0x1
#define UTF8_TO_GBK 0x2
#define GBK_TO_UNICODE 0x3
#define UNKNOWN_CONVERT 0xFF
/**
* Con... | YifuLiu/AliOS-Things | components/netmgr/include_inner/string_convert.h | C | apache-2.0 | 1,278 |
/**
* @file
* This file is a posix wrapper for lwip/netdb.h.
*/
/*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of c... | YifuLiu/AliOS-Things | components/netmgr/net/include/netdb.h | C | apache-2.0 | 2,515 |
/*
* @file ipaddr.h
*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#ifndef _IPADDR_H_
#define _IPADDR_H_
#ifdef __cplusplus
extern "C" {
#endif
/** @addtogroup aos_sal API
*
* IP address type and convertion utility definitions.
*
* @{
*/
/**
* If your port already typedef's in_addr_t, defin... | YifuLiu/AliOS-Things | components/netmgr/net/include/sys/ipaddr.h | C | apache-2.0 | 2,875 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#ifndef _SYS_SOCKET_H
#define _SYS_SOCKET_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WITH_LWIP
#include "lwip/opt.h"
#include "lwip/sockets.h"
#endif
#if defined(__ICCARM__) || defined(__CC_ARM)
#include <sys/errno.h>
#else
#include <errno.h>
#endif... | YifuLiu/AliOS-Things | components/netmgr/net/include/sys/socket.h | C | apache-2.0 | 9,828 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <sys/socket.h>
#include <netdb.h>
#ifdef __cplusplus
extern "C" {
#endif
int net_accept(int s, struct sockaddr *addr, socklen_t *addrlen)
{
#ifdef WITH_LWIP
return lwip_accept(s, addr, addrlen);
#else
return -1;
#endif
}
int net_bind(int ... | YifuLiu/AliOS-Things | components/netmgr/net/net_impl.c | C | apache-2.0 | 4,539 |
NAME := netdev
$(NAME)_MBINS_TYPE := kernel
$(NAME)_VERSION := 1.0.3
$(NAME)_SUMMARY := network device.
$(NAME)_SOURCES-y := src/netdev.c
$(NAME)_SOURCES-y += src/netdev_ipaddr.c
$(NAME)_SOURCES-y += src/netdev_cli.c
GLOBAL_INCLUDES += include
| YifuLiu/AliOS-Things | components/netmgr/netdev/aos.mk | Makefile | apache-2.0 | 247 |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
*/
#ifndef __NETDEV_H__
#define __NETDEV_H__
#include <stdbool.h>
#include <aos/list.h>
#include <lwip/sockets.h>
#ifdef __cplusplus
extern "C" {
#endif
#define ASSERT (void)
#ifndef NETDEV_NAME_MAX
#define NETD... | YifuLiu/AliOS-Things | components/netmgr/netdev/include/netdev.h | C | apache-2.0 | 8,602 |
#ifndef __NETDEV_IPADDR_H__
#define __NETDEV_IPADDR_H__
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Only supports the IPV4 protocol */
#ifndef NETDEV_IPV4
#define NETDEV_IPV4 1
#endif
#ifndef NETDEV_IPV6
#define NETDEV_IPV6 0
#endif
#ifdef NETDEV_IPV4
/** IPv4 only: set the IP... | YifuLiu/AliOS-Things | components/netmgr/netdev/include/netdev_ipaddr.h | C | apache-2.0 | 958 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <string.h>
#include "k_api.h"
#include "ulog/ulog.h"
#define TAG "netdev"
#include <netdev_ipaddr.h>
#include <netdev.h>
/* The list of network interface device */
struct netdev *netdev_list;
/* The default network interfac... | YifuLiu/AliOS-Things | components/netmgr/netdev/src/netdev.c | C | apache-2.0 | 23,098 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <math.h>
#include <stdarg.h>
#include "k_api.h"
#include "ulog/ulog.h"
#define TAG "netdev_cli"
#include <netdev_ipaddr.h>
#include <netdev.h>
#i... | YifuLiu/AliOS-Things | components/netmgr/netdev/src/netdev_cli.c | C | apache-2.0 | 20,332 |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
*/
#include <stdio.h>
#include <netdev_ipaddr.h>
#include <lwip/sockets.h>
#define ASSERT (void)
/* Here for now until needed in other places in lwIP */
#ifndef isprint
#define in_range(c, lo, up) ((uint8_t)c >= ... | YifuLiu/AliOS-Things | components/netmgr/netdev/src/netdev_ipaddr.c | C | apache-2.0 | 6,038 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdlib.h>
#include "lwip/opt.h"
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <netdev.h>
#include "lwip/opt.h"
#include "lwip/debug.h"
#include "lwip/def.h"
#include "lwip/mem.h"
#include "lwip/pbuf.h"
#include "lwip/sys.... | YifuLiu/AliOS-Things | components/netmgr/netdev/src/netdev_lwip.c | C | apache-2.0 | 15,611 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "netmgr_wifi.h"
#include "netmgr_conn.h"
#include "ulog/ulog.h"
#define TAG "NETMGR_CONN"
#define NETMGR_CONN_LOGE(level, ...) LOGE(TAG, level, ##__VA_ARGS__)
#define NETMGR_CONN_L... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_conn.c | C | apache-2.0 | 5,583 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#include <aos/aos.h>
#include <uservice/uservice.h>
#include <uservice/eventid.h>
#include <netmgr.h>
#include <netmgr_service.h>
#include <devices/hal/ethernet_impl.h>
typedef struct {
netmgr_hdl_t hdl;
eth_setting_t config;
} param_eth_setting... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_eth.c | C | apache-2.0 | 4,607 |
#include <sys/socket.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
#include <unistd.h>
#include "netmgr.h"
#include "netmgr_conn.h"
#include "netmgr_ethernet.h"
#include "uservice/uservice.h"
#include "uservice/eventid.h"
#include "lwip/dhcp.h"
#include "lwip/prot/dhcp.h"
#include "... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_ethernet.c | C | apache-2.0 | 18,021 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#include <aos/aos.h>
#include <uservice/uservice.h>
#include <uservice/eventid.h>
#include <devices/netdrv.h>
#include <netmgr.h>
#include <netmgr_service.h>
#include <devices/hal/gprs_impl.h>
typedef struct {
netmgr_hdl_t hdl;
gprs_setting_t ... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_gprs.c | C | apache-2.0 | 4,019 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#include <aos/aos.h>
#include <uservice/uservice.h>
#include <uservice/eventid.h>
#include <devices/netdrv.h>
#include <netmgr.h>
#include <netmgr_service.h>
#include <devices/hal/nbiot_impl.h>
//static const char *TAG = "netmgr_nbiot";
int netmgr_nbio... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_nbiot.c | C | apache-2.0 | 3,727 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <netmgr.h>
#include <netmgr_wifi.h>
#include <aos/list.h>
#include <aos/kv.h>
#include <fcntl.h>
#include "activation.h"
#define KV_VAL_LENGTH 32
#define DEV_WIFI_NAME "/dev/wifi0... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_service.c | C | apache-2.0 | 8,313 |
/*
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <sys/socket.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
#include <unistd.h>
#include "netmgr.h"
#include "netmgr_wifi.h"
#include "netmgr_conn.h"
#include "string_convert.h"
#if AOS_COMP_CLI
#include "ao... | YifuLiu/AliOS-Things | components/netmgr/src/netmgr_wifi.c | C | apache-2.0 | 136,670 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <string.h>
#include "string_convert.h"
#include "ulog/ulog.h"
#define SWAP_WORD(val) (uint16_t)((val<<8) | (val>>8))
#define TAB_4E00_9FA5_SZ (20902)
#define TAG "STRING_CONVERT"
#define STRING_CONVERT_LOGE(level, ...) LOGE(TA... | YifuLiu/AliOS-Things | components/netmgr/src/string_convert.c | C | apache-2.0 | 191,579 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例使用事件机制实现任务间同步,具体场景为创建任务A和认为B,以及一事件。任务A以“与”的方式等待事件1和事件2;任务B以“或”的方式等待事件1和事件2。测试任务T设置事件1,则任务B因获取事件得到运行,之后测试任务T设置事件2,则... | YifuLiu/AliOS-Things | components/osal_aos/example/event_example.c | C | apache-2.0 | 5,662 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* The use case allocates the same memory in three different ways.
*/
/* module name used by ulog */
#define MODULE_NA... | YifuLiu/AliOS-Things | components/osal_aos/example/mem_example.c | C | apache-2.0 | 4,187 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例使用互斥量实现共享资源的互斥访问,具体场景为创建任务A和认为B,以及一互斥量。任务A和任务B使用互斥量同时访问共享数据区,访问共享数据区时使用互斥量做保护。
* 示例说明如下:
* 1. t0时刻,任务T调用aos_mute... | YifuLiu/AliOS-Things | components/osal_aos/example/mutex_example.c | C | apache-2.0 | 3,898 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <stdint.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例使用消息队列实现任务间数据同步,具体场景为创建任务A和认为B,以及一消息队列。\n\r
* 任务A作为生产者循环向消息队列发送消息,任务B作为消费者循环从消息队列接收消息,
* 一般情况下,消费者处理数据是要花费很长时间,所以会导致消息产生的速度大于消息处理的速度... | YifuLiu/AliOS-Things | components/osal_aos/example/queue_example.c | C | apache-2.0 | 5,214 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例使用信号量实现多任务同步,具体场景为创建一个高优先级任务A,一个低优先级任务B,任务A和任务B同时等待同一信号量,\n\r
* 此时测试任务T调用aos_sem_signal()释放信号量,任务A首先获得信号量,任务A操作完成... | YifuLiu/AliOS-Things | components/osal_aos/example/sem_example.c | C | apache-2.0 | 4,262 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <stdlib.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例使用任务管理函数来控制任务的执行状态,具体场景为任务2因等待某个信号量进入阻塞状态,而此时被任务1将其挂起,则任务2仍然是处于阻塞状态,\n\r
* 如果在此过程中等到信号量,则任务2会解除阻塞进入挂起状态;如果未等到信号量,则任务2恢复状态后仍然处于阻塞状态。\n... | YifuLiu/AliOS-Things | components/osal_aos/example/task_example.c | C | apache-2.0 | 4,405 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <aos/kernel.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例使用定时器管理函数来控制定时器的执行,具体场景为创建一个周期性定时器,定时调用回调函数执行,\n\r
* 停止定时器该变定时器的时间参数,则定时器按照修改后的时间间隔定时调用回调函数执行。
* 示例说明如下:
* 1. t0时刻,测试任务调用aos_timer_new()创建一个周期性的定时器,周期... | YifuLiu/AliOS-Things | components/osal_aos/example/timer_example.c | C | apache-2.0 | 3,283 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <aos/kernel.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
/**
* 该示例用工作队列实现不同场景的任务执行。
* 示例说明如下:
* 1.
* t0时刻,任务T调用aos_sem_create()创建一个信号量,调用aos_workqueue_create()创建一工作队列wq1。
* ... | YifuLiu/AliOS-Things | components/osal_aos/example/workqueue_example.c | C | apache-2.0 | 4,834 |
#include "dm_export.h"
#include "aos/kernel.h"
SYMBOL_EXPORT(aos_task_create);
SYMBOL_EXPORT(aos_msleep);
SYMBOL_EXPORT(aos_task_new);
SYMBOL_EXPORT(aos_mutex_unlock);
SYMBOL_EXPORT(aos_mutex_lock);
SYMBOL_EXPORT(aos_malloc);
SYMBOL_EXPORT(aos_free);
SYMBOL_EXPORT(aos_srand);
SYMBOL_EXPORT(aos_rand);
SYMBOL_EXPORT(aos_... | YifuLiu/AliOS-Things | components/osal_aos/export.c | C | apache-2.0 | 363 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
/* Implement aos mutex apis on freertos kernel.
*
* Don't use these mutex apis in interrupt service routines.
*
* The configSUPPORT_DYNAMIC_ALLOCATION and configUSE_RECURSIVE_MUTEXES must both
* be set to 1 in FreeRTOSConfig.h.
*
* Implement recurs... | YifuLiu/AliOS-Things | components/osal_aos/freertos/aos_mutex.c | C | apache-2.0 | 1,992 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
/* Implement aos queue apis on freertos kernel.
*/
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "aos/kernel.h"
#include "aos/errno.h"
aos_status_t aos_queue_new(aos_queu... | YifuLiu/AliOS-Things | components/osal_aos/freertos/aos_queue.c | C | apache-2.0 | 2,025 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
/* Implement aos semaphore apis on freertos kernel.
*
* Don't use these semaphore apis in interrupt service routines,
*
* The configSUPPORT_DYNAMIC_ALLOCATION must be set to 1 in FreeRTOSConfig.h,
* or left undefined.
*
* Implement counting semapho... | YifuLiu/AliOS-Things | components/osal_aos/freertos/aos_sem.c | C | apache-2.0 | 2,070 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "aos/kernel.h"
#include "aos/errno.h"
#include "esp_heap_task_info.h"
#include "esp_heap_caps.h"
#define RHINO_CONFIG_USER_PRI_MAX 62
#define AOS_MAGIC 0x20171020
type... | YifuLiu/AliOS-Things | components/osal_aos/freertos/aos_task.c | C | apache-2.0 | 7,967 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <string.h>
#include <stdlib.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <freertos/semphr.h>
#include <freertos/timers.h>
#include <freertos/event_groups.h>
static uint32_t... | YifuLiu/AliOS-Things | components/osal_aos/freertos/aos_timer.c | C | apache-2.0 | 5,212 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdlib.h>
#include <stdint.h>
#include "aos/kernel.h"
void aos_srand(uint32_t seed)
{
srand(seed);
}
int32_t aos_rand(void)
{
return rand();
}
__attribute__((weak)) void aos_hal_reboot(void)
{
return;
}
void aos_reboot(void)
{
... | YifuLiu/AliOS-Things | components/osal_aos/freertos/common.c | C | apache-2.0 | 341 |
/**
* @file compiler.h
* @copyright Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup aos_compiler compiler
* Compiler defined macro to add attributes for funtion, variable or type defined.
*
* @{
*/
/* __CC_AR... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/compiler.h | C | apache-2.0 | 4,194 |
/*
* Copyright (C) 2022 Alibaba Group Holding Limited
*/
#ifndef _AOS_DELAY_H
#define _AOS_DELAY_H
#include <stdint.h>
#ifndef ndelay
#define ndelay aos_ndelay
#endif
#ifndef udelay
#define udelay aos_udelay
#endif
#ifndef mdelay
#define mdelay aos_mdelay
#endif
#ifdef __cplusplus
extern "C" {
#endif
void aos_... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/delay.h | C | apache-2.0 | 464 |
/**
* @file errno.h
* @copyright Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#ifndef AOS_ERRNO_H
#define AOS_ERRNO_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup aos_errno errno
* Define standard errno.
*
* @{
*/
#if defined(__GNUC__)&&!defined(__CC_ARM)||defined(_WIN32)
#include <e... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/errno.h | C | apache-2.0 | 9,861 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#ifndef AOS_KERNEL_H
#define AOS_KERNEL_H
#include <stdlib.h>
#include <stddef.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
#include <aos/osal_debug.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup aos_kernel kernel
*... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/kernel.h | C | apache-2.0 | 35,884 |
/**
* @file list.h
* @copyright Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#ifndef AOS_LIST_H
#define AOS_LIST_H
#ifdef __cplusplus
extern "C" {
#endif
/** @addtogroup aos_list LIST
* list data structure manage.
*
* @{
*/
/*
* Get offset of a member variable.
*
* @param[in] type the ty... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/list.h | C | apache-2.0 | 10,963 |
/*
* Copyright (C) 2019-2020 Alibaba Group Holding Limited
*/
#ifndef OSAL_DEBUG_H
#define OSAL_DEBUG_H
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <ulog/ulog.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SHORT_FILE __FUNCTION__
#ifdef CONFIG_DEBUG
#define debug_print_assert(A, B, C, D... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/osal_debug.h | C | apache-2.0 | 23,607 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#ifndef AOS_RHINO_H
#define AOS_RHINO_H
#include <stdint.h>
#include "kernel.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* Get a task pthread control block.
*
* @param[in] task task handle
* @param[out] ptcb the returned ptcb ha... | YifuLiu/AliOS-Things | components/osal_aos/include/aos/rhino.h | C | apache-2.0 | 3,367 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
#if (RHINO_CONFIG_EVENT_FLAG ... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_event.c | C | apache-2.0 | 2,057 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
void *aos_zalloc(size_t size)... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_memory.c | C | apache-2.0 | 1,840 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
#if (RHINO_CONFIG_KOBJ_DYN_AL... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_mutex.c | C | apache-2.0 | 2,449 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
void aos_init(void)
{
krhino_init();
}
void aos_start(void)
{
krhino_start();
}
| YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_os.c | C | apache-2.0 | 286 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
#if (RHINO_CONFIG_BUF_QUEUE >... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_queue.c | C | apache-2.0 | 3,286 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
#if ((RHINO_CONFIG_KOBJ_DYN_A... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_sem.c | C | apache-2.0 | 2,304 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
void aos_spin_lock_init(aos_s... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_spinlock.c | C | apache-2.0 | 915 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
static unsigned int used_bitm... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_task.c | C | apache-2.0 | 7,611 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
static long long start_time_m... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_time.c | C | apache-2.0 | 2,077 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
#if (RHINO_CONFIG_TIMER > 0)
... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_timer.c | C | apache-2.0 | 3,447 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <time.h>
#include <k_api.h>
#include <aos/errno.h>
#include <aos/kernel.h>
#include "rhino_p.h"
#if (RHINO_CONFIG_KOBJ_DYN_ALLOC == 0)
#warning "RHINO_CONFIG_KOBJ_DYN_ALLOC is disabled!"
#endif
#if (RHINO_CONFIG_WORKQUEUE >... | YifuLiu/AliOS-Things | components/osal_aos/rhino/aos_workqueue.c | C | apache-2.0 | 3,174 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include <stdlib.h>
#include <string.h>
#include "aos/kernel.h"
#include "k_config.h"
#define SEED_MAGIC 0x123
extern void hal_reboot(void);
struct component_version_t {
const char *name;
const char *version;
};
static struct component_versio... | YifuLiu/AliOS-Things | components/osal_aos/rhino/common.c | C | apache-2.0 | 3,154 |
/**
* @file errno.h
* @copyright Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#ifndef AOS_RHINO_P_H
#define AOS_RHINO_P_H
#ifdef __cplusplus
extern "C" {
#endif
#include <k_api.h>
#include "aos/errno.h"
#include "aos/kernel.h"
#define CHECK_HANDLE(hdl) do { ... | YifuLiu/AliOS-Things | components/osal_aos/rhino/include/rhino_p.h | C | apache-2.0 | 2,448 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#if AOS_COMP_CLI
#include "aos/cli.h"
#endif
#include "stdio.h"
#include "oss_app.h"
//从阿里云平台购买OSS服务获取,替换成自己的就可以
char AccessKey_ID[] = "Access Key ID";
char AccessKey_Secret[] = "Access Key Secret";
char Endpoint[] = "End point";
char Bucket[] = "Bucket"... | YifuLiu/AliOS-Things | components/oss/example/oss_example.c | C | apache-2.0 | 968 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/Config.h | C | apache-2.0 | 974 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/Const.h | C++ | apache-2.0 | 2,442 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/Export.h | C | apache-2.0 | 932 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/Global.h | C | apache-2.0 | 1,222 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssClient.h | C++ | apache-2.0 | 20,516 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssEncryptionClient.h | C++ | apache-2.0 | 5,632 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssError.h | C++ | apache-2.0 | 2,866 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssFwd.h | C++ | apache-2.0 | 13,761 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssRequest.h | C++ | apache-2.0 | 6,371 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssResponse.h | C++ | apache-2.0 | 981 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/OssResult.h | C++ | apache-2.0 | 1,663 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/ServiceRequest.h | C++ | apache-2.0 | 1,972 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/ServiceResult.h | C++ | apache-2.0 | 1,685 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/Types.h | C++ | apache-2.0 | 4,512 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/auth/Credentials.h | C++ | apache-2.0 | 1,496 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/auth/CredentialsProvider.h | C++ | apache-2.0 | 936 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/client/AsyncCallerContext.h | C++ | apache-2.0 | 1,087 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/client/ClientConfiguration.h | C++ | apache-2.0 | 3,432 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/client/Error.h | C++ | apache-2.0 | 2,170 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/client/RateLimiter.h | C++ | apache-2.0 | 947 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/client/RetryStrategy.h | C++ | apache-2.0 | 1,053 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/encryption/Cipher.h | C++ | apache-2.0 | 4,163 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/encryption/ContentCryptoMaterial.h | C++ | apache-2.0 | 2,649 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/encryption/CryptoConfiguration.h | C++ | apache-2.0 | 1,239 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/encryption/EncryptionMaterials.h | C++ | apache-2.0 | 2,242 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/http/HttpClient.h | C++ | apache-2.0 | 1,409 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/http/HttpMessage.h | C++ | apache-2.0 | 1,810 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/http/HttpRequest.h | C++ | apache-2.0 | 2,406 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/http/HttpResponse.h | C++ | apache-2.0 | 1,513 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/http/HttpType.h | C++ | apache-2.0 | 2,168 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/http/Url.h | C++ | apache-2.0 | 2,368 |
/*
* Copyright 2009-2018 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/model/AbortMultipartUploadRequest.h | C++ | apache-2.0 | 1,149 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/model/AppendObjectRequest.h | C++ | apache-2.0 | 2,175 |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | YifuLiu/AliOS-Things | components/oss/include/alibabacloud/oss/model/AppendObjectResult.h | C++ | apache-2.0 | 1,247 |