repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
adricatena/I2-puertoSerie | Actividad2_recibe/ventanaconfirmacion.h | #ifndef VENTANACONFIRMACION_H
#define VENTANACONFIRMACION_H
#include <QDialog>
namespace Ui {
class VentanaConfirmacion;
}
class VentanaConfirmacion : public QDialog
{
Q_OBJECT
public:
explicit VentanaConfirmacion(QWidget *parent = 0);
~VentanaConfirmacion();
private slots:
... |
adricatena/I2-puertoSerie | Actividad2_recibe/ventanaarchivoexistente.h | <reponame>adricatena/I2-puertoSerie
#ifndef VENTANAARCHIVOEXISTENTE_H
#define VENTANAARCHIVOEXISTENTE_H
#include <QDialog>
#include <QApplication>
#include <QSettings>
#include <QMessageBox>
namespace Ui {
class VentanaArchivoExistente;
}
class VentanaArchivoExistente : public QDialog
{
Q_OBJECT
... |
adricatena/I2-puertoSerie | Actividad2_envio-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug/ui_ventanaprincipal.h | /********************************************************************************
** Form generated from reading UI file 'ventanaprincipal.ui'
**
** Created: Tue 4. Dec 18:13:12 2012
** by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling UI ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/shadow/qcloud_shadow_client.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/coap/qcloud_coap_glue.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/qcloud_log.c | #include "qcloud.h"
static const char *level_str[] = {
"DIS", "ERR", "WRN", "INF", "DBG"
};
static qcloud_log_handler_t sg_log_message_handler= NULL;
__QCLOUD_STATIC__ const char *file_path2name(const char *file_path)
{
const char *suffix = NULL;
suffix = strrchr(file_path, '\\');
if (!suffix) {
... |
umaru724/TencentOS_E53_IA1 | kernel/core/include/tos_message_queue.h | <reponame>umaru724/TencentOS_E53_IA1
/*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a c... |
umaru724/TencentOS_E53_IA1 | examples/tencent_cloud_sdk_coap/coap_sample.c | <gh_stars>1-10
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
umaru724/TencentOS_E53_IA1 | kernel/core/tos_timer.c | /*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS binary from Tenc... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_mqtt.h | #ifndef _QCLOUD_MQTT_
#define _QCLOUD_MQTT_
static const char *qcloud_mqtt_server = "iotcloud.tencentdevices.com";
#if (QCLOUD_CFG_TLS_EN > 0u)
static const int qcloud_mqtt_port = 8883;
#else
static const int qcloud_mqtt_port = 1883;
#endif
typedef enum qcloud_mqtt_connection_status_en {
QCLOUD_MQTT_CONNECTION_... |
umaru724/TencentOS_E53_IA1 | components/connectivity/Eclipse-Paho-MQTT/wrapper/src/mqtt_wrapper.c | #include "mqtt_wrapper.h"
#define BUFFER_LEN 256
static MQTTPacket_connectData mqtt_form_connect_packet(mqtt_con_opt_t *opt)
{
MQTTPacket_connectData connect_packet = MQTTPacket_connectData_initializer;
connect_packet.clientID.cstring = opt->client_id;
connect_packet.keepAliveInterval = opt->... |
umaru724/TencentOS_E53_IA1 | net/at/src/tos_at_utils.c | <gh_stars>1-10
#include "tos_k.h"
#include "tos_at.h"
void at_delay(k_tick_t tick)
{
k_tick_t now;
now = tos_systick_get();
while ((tos_systick_get() - now) < tick) {
;
}
}
void at_delay_ms(uint32_t millisec)
{
k_tick_t tick;
tick = tos_millisec2tick(millisec);
at_delay(tick);
}
... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/mqtt/qcloud_mqtt_publish.c | #ifdef __cplusplus
extern "C" {
#endif
#include "qcloud.h"
__QCLOUD_API__ qcloud_err_t qcloud_mqtt_publish(qcloud_mqtt_client_t *client, char *topic, mqtt_publish_opt_t *publish_opt)
{
QCLOUD_FUNC_ENTRY;
QCLOUD_POINTER_SANITY_CHECK(client, QCLOUD_ERR_INVAL);
QCLOUD_POINTER_SANITY_CHECK(publish_opt, QCLOU... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/usbd/main.c | <gh_stars>1-10
/**
* Copyright (c) 2016 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 copyr... |
umaru724/TencentOS_E53_IA1 | kernel/core/include/tos_priority_message_queue.h | <gh_stars>10-100
/*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_utils/qcloud_list.h | #ifndef _QCLOUD_LIST_H_
#define _QCLOUD_LIST_H_
typedef struct qcloud_list_node_st {
struct qcloud_list_node_st *next;
struct qcloud_list_node_st *prev;
} qcloud_list_t;
#define QCLOUD_OFFSET_OF_FIELD(type, field) \
((uint32_t)&(((type *)0)->field))
#define QCLOUD_CONTAINER_OF_FIELD(ptr, type, field) \
... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/utils/qcloud_json_token.c | /*
* Copyright (c) 2017-2019 Tencent Group. All rights reserved.
* License-Identifier: Apache-2.0
*
* 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... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ble_peripheral/ble_app_beacon/main.c | <reponame>umaru724/TencentOS_E53_IA1<filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ble_peripheral/ble_app_beacon/main.c<gh_stars>1-10
/**
* Copyright (c) 2014 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/cli/demo_cli_cmds.c | <reponame>umaru724/TencentOS_E53_IA1
/**
* Copyright (c) 2018 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 ... |
umaru724/TencentOS_E53_IA1 | kernel/core/include/tos_timer.h | /*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS binary from Tenc... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_tcp_socket.c | <reponame>umaru724/TencentOS_E53_IA1
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the Li... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/mqtt/qcloud_mqtt_unsubscribe.c | #ifdef __cplusplus
extern "C" {
#endif
#include "qcloud.h"
__QCLOUD_API__ qcloud_err_t qcloud_mqtt_unsubscribe(qcloud_mqtt_client_t *client, const char *topic_filter)
{
QCLOUD_FUNC_ENTRY;
QCLOUD_POINTER_SANITY_CHECK(client, QCLOUD_ERR_INVAL);
QCLOUD_STRING_PTR_SANITY_CHECK(topic_filter, QCLOUD_ERR_INVAL)... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/802_15_4/wireless_uart/main.c | <gh_stars>1-10
/**
* Copyright (c) 2016 - 2019 Nordic Semiconductor ASA and Luxoft Global Operations Gmbh.
*
* All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
*
* 1. Redistributions of s... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/crypto/nrf_crypto/cli/cmd_aes.c | <gh_stars>1-10
/**
* Copyright (c) 2018 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 copyr... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ant/ant_scan_and_forward/deviceregistry.h | <filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ant/ant_scan_and_forward/deviceregistry.h
/**
* This software is subject to the ANT+ Shared Source License
* www.thisisant.com/swlicenses
* Copyright (c) Garmin Canada Inc. 2014
* All rights reserved.
*
* Redistribution and use in source and binary for... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/cifra_AES128-EAX/cf_config.h | <filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/cifra_AES128-EAX/cf_config.h
/*
* cifra - embedded cryptography library
* Written in 2014 by <NAME> <<EMAIL>>
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to the
... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/protothreads/pt-1.4/example-small.c | <reponame>umaru724/TencentOS_E53_IA1<filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/protothreads/pt-1.4/example-small.c
/**
* This is a very small example that shows how to use
* protothreads. The program consists of two protothreads that wait
* for each other to toggle a variable.
*/
/* We must alwa... |
umaru724/TencentOS_E53_IA1 | components/connectivity/qcloud-iot-explorer-sdk/3rdparty/sdk_src/services/data_template/data_template_client_manager.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | devices/bc26/bc26.h | /*********************************************************************************
* Copyright (c) 2016 - 2020,Tencent
* All rights reserved.
*
* File Name: bc26.h
*
* Description: net api based on at cmd for bc26
* Desc: ORG.
********************************... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/dfu/dfu_public_key.c |
/* This file was automatically generated by nrfutil on 2019-02-14 (YY-MM-DD) at 14:06:19 */
#include "sdk_config.h"
#include "stdint.h"
#include "compiler_abstraction.h"
#if NRF_CRYPTO_BACKEND_OBERON_ENABLED
/* Oberon backend is changing endianness thus public key must be kept in RAM. */
#define _PK_CONST
#else
#def... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_coap_config.h | <gh_stars>1-10
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/coap/qcloud_coap_common.c | <filename>components/connectivity/TencentCloud_SDK/source/src/coap/qcloud_coap_common.c<gh_stars>1-10
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud.h | <reponame>umaru724/TencentOS_E53_IA1
#ifndef _QCLOUD_
#define _QCLOUD_
#include "qcloud_config_def.h"
#include "qcloud_config.h"
#include "qcloud_config_default.h"
#include "qcloud_config_check.h"
#include "qcloud_types.h"
#include "qcloud_err.h"
#include "qcloud_lib.h"
#include "qcloud_log.h"
#include "qcloud_devic... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_timer.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/qcloud_network.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/twi_sensor/main.c | <filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/twi_sensor/main.c
/**
* Copyright (c) 2015 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/qcloud-iot-hub-sdk-3.1.2/3rdparty/sdk_src/services/log/log_mqtt.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | devices/m5310a/m5310a.c | <filename>devices/m5310a/m5310a.c
#include "m5310a.h"
#include "tos_k.h"
#include "tos_at.h"
#include "tos_hal.h"
#include "sal_module_wrapper.h"
#include "stdio.h"
#include "stdbool.h"
#include "ctype.h"
static int m5310a_recv_timeout(int id, void *buf, size_t len, uint32_t timeout)
{
return tos_at_channel_rea... |
umaru724/TencentOS_E53_IA1 | tos_mqtt_config.h | <gh_stars>0
#ifndef TOS_MQTT_CONFIG_H
#define TOS_MQTT_CONFIG_H
#define MQTT_SERVER_IP "172.16.17.32"
#define MQTT_SERVER_PORT "1883"
#define MQTT_PRODUCT_ID "VOMUEB7ARY"
#define MQTT_DEV_NAME "dev001"
#define MQTT_CLIENT_ID "VOMUEB7ARYdev001"
#define MQTT_USR_NAME "VOMUEB7ARYdev001;12010126;CWQ6Y;1618809655"
#define ... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/preflash/main.c | <gh_stars>1-10
/**
* Copyright (c) 2015 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 copyr... |
umaru724/TencentOS_E53_IA1 | kernel/pm/tos_tickless.c | <filename>kernel/pm/tos_tickless.c
/*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a cop... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/coap/qcloud_coap_serialize.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/coap/qcloud_coap_client.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/usbd_audio/main.c | <gh_stars>1-10
/**
* Copyright (c) 2017 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 copyr... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/infineon/pal/nrf5x/pal_os.c | <filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/infineon/pal/nrf5x/pal_os.c
/**
* MIT License
*
* Copyright (c) 2018 Infineon Technologies AG
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* i... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/infineon/optiga/dtls/DtlsTransportLayer.c | <gh_stars>10-100
/**
* MIT License
*
* Copyright (c) 2018 Infineon Technologies AG
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_config_default.h | #ifndef _QCLOUD_CONFIG_DEFAULT_
#define _QCLOUD_CONFIG_DEFAULT_
#ifndef QCLOUD_CFG_DEVELOP_DEBUG_EN
#define QCLOUD_CFG_DEVELOP_DEBUG_EN 0u
#endif
#ifndef QCLOUD_CFG_AUTH_MODE
#define QCLOUD_CFG_AUTH_MODE QCLOUD_AUTH_MODE_KEY
#endif
#ifndef QCLOUD_CFG_TLS_EN
#define QCLOUD_CFG_TLS_EN ` 0u
... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_osal/osal_tcp.h | #ifndef _OSAL_TCP_
#define _OSAL_TCP_
__QCLOUD_OSAL__ int osal_tcp_connect(const char *host, uint16_t port);
__QCLOUD_OSAL__ int osal_tcp_disconnect(int fd);
__QCLOUD_OSAL__ qcloud_err_t osal_tcp_write(int fd, const void *buf, size_t len, uint32_t timeout, size_t *write_len);
__QCLOUD_OSAL__ qcloud_err_t osal_tcp_... |
umaru724/TencentOS_E53_IA1 | kernel/evtdrv/include/tos_evtdrv_tick.h | /*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS binary from Tenc... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/qcloud_device.c | <reponame>umaru724/TencentOS_E53_IA1
#include "qcloud.h"
#if (QCLOUD_CFG_AUTH_MODE == QCLOUD_AUTH_MODE_CERT)
__QCLOUD_API__ qcloud_err_t qcloud_device_create(qcloud_device_t *device,
const char *product_id,
... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_os.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/LoraWAN/system/nvmm.h | /*!
* \file nvmm.h
*
* \brief None volatile memory management module
*
* \copyright Revised BSD License, see section \ref LICENSE.
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ _____ _... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/gd/GD32VF103_Firmware_Library/GD32VF103_standard_peripheral/Include/gd32vf103_usart.h | <gh_stars>1-10
/*!
\file gd32vf103_usart.h
\brief definitions for the USART
\version 2019-06-05, V1.0.0, firmware for GD32VF103
\version 2019-09-18, V1.0.1, firmware for GD32VF103
*/
/*
Copyright (c) 2018, GigaDevice Semiconductor Inc.
Redistribution and use in source and binary forms, w... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/mqtt/qcloud_mqtt_subscribe.c | <gh_stars>1-10
#ifdef __cplusplus
extern "C" {
#endif
#include "qcloud.h"
__QCLOUD_API__ qcloud_err_t qcloud_mqtt_subscribe(qcloud_mqtt_client_t *client, const char *topic_filter, mqtt_subscribe_opt_t *subscribe_opt)
{
QCLOUD_FUNC_ENTRY;
QCLOUD_POINTER_SANITY_CHECK(client, QCLOUD_ERR_INVAL);
QCLOUD_POINT... |
umaru724/TencentOS_E53_IA1 | kernel/core/include/tos_ring_queue.h | <gh_stars>10-100
/*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ant/experimental/ant_shared_channel/slave/asc_pages.c | /**
* This software is subject to the ANT+ Shared Source License
* www.thisisant.com/swlicenses
* Copyright (c) Garmin Canada Inc. 2014
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*... |
umaru724/TencentOS_E53_IA1 | components/fs/vfs/include/tos_vfs.h | #ifndef _TOS_VFS_H_
#define _TOS_VFS_H_
#include "tos_k.h"
#if TOS_CFG_VFS_EN > 0u
#include "tos_vfs_err.h"
#include "tos_vfs_types.h"
#include "tos_vfs_file.h"
#include "tos_vfs_device.h"
#include "tos_vfs_fs.h"
#include "tos_vfs_inode.h"
#define TOS_CFG_VFS_PATH_MAX 26
__API__ int tos_vfs_open(const char... |
umaru724/TencentOS_E53_IA1 | kernel/core/include/tos_mail_queue.h | <reponame>umaru724/TencentOS_E53_IA1
/*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a c... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_tls.h | <filename>components/connectivity/TencentCloud_SDK/source/include/qcloud_tls.h
#ifndef _QCLOUD_TLS_H_
#define _QCLOUD_TLS_H_
static const char *qcloud_ca_cert = \
{
"-----BEGIN CERTIFICATE-----\r\n"
"MIIDxTCCAq2gAwIBAgIJALM1winYO2xzMA0GCSqGSIb3DQEBCwUAMHkxCzAJBgNV\r\n" \
"BAYTAkNOMRIwEAYDVQQIDAlHdWFuZ0Rvb... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_mqtt/mqtt_common.h | #ifndef _QCLOUD_MQTT_COMMON_H_
#define _QCLOUD_MQTT_COMMON_H_
typedef enum mqtt_version_en {
MQTT_VERSION_3_1_1 = 4,
} mqtt_version_t;
typedef enum mqtt_clean_session_state_en {
MQTT_CLEAN_SESSION_STATE_DISABLED = 0,
MQTT_CLEAN_SESSION_STATE_ENABLED = 1,
} mqtt_clean_session_state_t;
typedef enum mqtt_q... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/lwip/src/port/arch/lwipopts.h | <filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/lwip/src/port/arch/lwipopts.h
/**
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or ... |
umaru724/TencentOS_E53_IA1 | kernel/core/include/tos_sys.h | /*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS binary from Tenc... |
umaru724/TencentOS_E53_IA1 | components/connectivity/LoraWAN/peripherals/mma8451.c | /*!
* \file mma8451.h
*
* \brief MMA8451 Accelerometer driver implementation
*
* \copyright Revised BSD License, see section \ref LICENSE.
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/qcloud-iot-hub-sdk-3.1.2/3rdparty/sdk_src/protocol/mqtt/mqtt_client_yield.c | <reponame>umaru724/TencentOS_E53_IA1<gh_stars>1-10
/*******************************************************************************
* Copyright (c) 2014 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclip... |
umaru724/TencentOS_E53_IA1 | components/connectivity/qcloud-iot-explorer-sdk/3rdparty/sdk_src/services/ota/ota_fetch.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_osal/osal_timer.h | <filename>components/connectivity/TencentCloud_SDK/source/include/qcloud_osal/osal_timer.h
#ifndef _OSAL_TIMER_H_
#define _OSAL_TIMER_H_
typedef struct osal_timer_st {
uint32_t end_time;
} osal_timer_t;
__QCLOUD_OSAL__ int osal_timer_is_expired(osal_timer_t *timer);
__QCLOUD_OSAL__ void osal_time... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/nfc/adafruit_tag_reader/main.c | /**
* Copyright (c) 2015 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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, th... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_udp_socket.c | <reponame>umaru724/TencentOS_E53_IA1
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the Li... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_config.h | #ifndef _QCLOUD_CONFIG_
#define _QCLOUD_CONFIG_
#define QCLOUD_CFG_AUTH_MODE QCLOUD_AUTH_MODE_KEY
#define QCLOUD_CFG_TLS_EN 1u
#define QCLOUD_CFG_COAP_EN 0u
#define QCLOUD_CFG_MQTT_EN 1u
#define QCLOUD_CFG_EVENT_EN 0u
#define QCLO... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_mqtt_config.h | <reponame>umaru724/TencentOS_E53_IA1
#ifndef _QCLOUD_MQTT_CONFIG_
#define _QCLOUD_MQTT_CONFIG_
#define QCLOUD_MQTT_COMMAND_TIMEOUT (15 * 1000)
#define QCLOUD_MQTT_TX_BUFFER_SIZE (2048)
#define QCLOUD_MQTT_RX_BUFFER_SIZE (2048)
#define QCLOUD_MQTT_REMAIN_WAIT_MS_MAX... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/mqtt/qcloud_mqtt_client.c | #include "qcloud.h"
__QCLOUD_STATIC__ qcloud_err_t mqtt_client_network_host_construct(qcloud_network_t *network, qcloud_device_t *device)
{
int server_len;
char mqtt_server[QCLOUD_SERVER_DOMAIN_MAX];
memset(network->host, 0, sizeof(network->host));
server_len = osal_snprintf(mqtt_server, sizeof(mqtt_s... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_config_def.h | <gh_stars>1-10
#ifndef _QCLOUD_CONFIG_DEF_
#define _QCLOUD_CONFIG_DEF_
#define QCLOUD_AUTH_MODE_KEY 1
#define QCLOUD_AUTH_MODE_CERT 2
typedef enum qcloud_log_level_en {
QCLOUD_LOG_LEVEL_DISABLE = 0,
QCLOUD_LOG_LEVEL_DEBUG = 1,
QCLOUD_LOG_LEVEL_INFO = 2,
QCLOUD_LOG_LEVEL_WAR... |
umaru724/TencentOS_E53_IA1 | board/TencentOS_tiny_EVB_MX/BSP/Hardware/E53_ST1/E53_ST1.c | #include "E53_ST1.h"
#include "stm32l4xx.h"
#include "stm32l4xx_it.h"
#include "usart.h"
#include "main.h"
gps_msg gpsmsg;
static unsigned char gps_uart[1000];
TIM_HandleTypeDef htim16;
/***************************************************************
* 函数名称: MX_TIM16_Init
* 说 明: 初始化定时器16
* 参 数: 无
... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_utils/qcloud_md5.h | <reponame>umaru724/TencentOS_E53_IA1<gh_stars>1-10
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* complian... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_config_check.h | #ifndef _QCLOUD_CONFIG_CHECK_
#define _QCLOUD_CONFIG_CHECK_
#endif
|
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/cifra_AES128-EAX/gf128.h | <filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/cifra_AES128-EAX/gf128.h
/*
* cifra - embedded cryptography library
* Written in 2014 by <NAME> <<EMAIL>>
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to the
* pu... |
umaru724/TencentOS_E53_IA1 | components/lzw/lzw-lib.h | <filename>components/lzw/lzw-lib.h
////////////////////////////////////////////////////////////////////////////
// **** LZW-AB **** //
// Adjusted Binary LZW Compressor/Decompressor //
// Copyright (c) 2016 <NAME> ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_osal/osal_os.h | #ifndef _OSAL_OS_H_
#define _OSAL_OS_H_
__QCLOUD_OSAL__ void *osal_mutex_create(void);
__QCLOUD_OSAL__ void osal_mutex_destroy(void *mutex);
__QCLOUD_OSAL__ void osal_mutex_lock(void *mutex);
__QCLOUD_OSAL__ int osal_mutex_trylock(void *mutex);
__QCLOUD_OSAL__ void osal_mutex_un... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/gfx/nrf52_dk.h | <reponame>umaru724/TencentOS_E53_IA1<filename>platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/peripheral/gfx/nrf52_dk.h<gh_stars>1-10
/**
* Copyright (c) 2017 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are pe... |
umaru724/TencentOS_E53_IA1 | net/sal_module_wrapper/sal_module_wrapper.h | <gh_stars>1-10
/*----------------------------------------------------------------------------
* Tencent is pleased to support the open source community by making TencentOS
* available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* If you have downloaded a copy of the TencentOS b... |
umaru724/TencentOS_E53_IA1 | arch/msp430/common/include/tos_cpu_def.h | #ifndef _TOS_CPU_DEF_H_
#define _TOS_CPU_DEF_H_
#define CPU_WORD_SIZE_08 1
#define CPU_WORD_SIZE_16 2
#define CPU_WORD_SIZE_32 3
#define CPU_WORD_SIZE_64 4
#define CPU_STK_GROWTH_ASCENDING 1
#define CPU_STK_GROWTH_DESCENDING 2
#endif /* _TOS_CPU_DEF_H_ */
|
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_types.h | #ifndef _QCLOUD_TYPES_H_
#define _QCLOUD_TYPES_H_
#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <stdbool.h>
#define QCLOUD_TRUE (1u)
#define QCLOUD_FALSE (0u)
#endif
|
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nxp/MIMXRT1062/CMSIS/DSP/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c | <filename>platform/vendor_bsp/nxp/MIMXRT1062/CMSIS/DSP/Source/FilteringFunctions/arm_biquad_cascade_df1_q15.c
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_biquad_cascade_df1_q15.c
* Description: Processing function for the Q15 Biquad... |
umaru724/TencentOS_E53_IA1 | components/fs/vfs/include/tos_vfs_types.h | #ifndef _TOS_VFS_TYPES_H_
#define _TOS_VFS_TYPES_H_
typedef void VFS_DIR;
typedef int32_t vfs_off_t;
typedef uint32_t vfs_oflag_t;
#ifndef ssize_t
#define ssize_t int
#endif
#endif
|
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ant/experimental/ant_frequency_agility/ant_frequency_agility_rx/ant_frequency_agility_rx.c | /**
* This software is subject to the ANT+ Shared Source License
* www.thisisant.com/swlicenses
* Copyright (c) Garmin Canada Inc. 2015
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ble_peripheral/ble_app_ipsp_acceptor/main.c | /**
* Copyright (c) 2013 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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, th... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_osal/osal_udp.h | #ifndef _OSAL_UDP_H_
#define _OSAL_UDP_H_
__QCLOUD_OSAL__ int osal_udp_connect(const char *host, unsigned short port);
__QCLOUD_OSAL__ void osal_udp_disconnect(int sockfd);
__QCLOUD_OSAL__ qcloud_err_t osal_udp_write(int sockfd, const void *buf, size_t len, uint32_t timeout, size_t *write_len);
__QCLOUD_OSAL__ qcl... |
umaru724/TencentOS_E53_IA1 | examples/udp_through_module/udp_through_module.c | <reponame>umaru724/TencentOS_E53_IA1<filename>examples/udp_through_module/udp_through_module.c
#include "esp8266.h"
#include "mcu_init.h"
#include "sal_module_wrapper.h"
#include "cmsis_os.h"
#define UDP_TEST_TASK0_STK_SIZE 4096
void udp_test0(void);
osThreadDef(udp_test0, osPriorityNormal, 1, UDP_TEST_TASK0_S... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nxp/MIMXRT1062/CMSIS/DSP/Source/TransformFunctions/arm_bitreversal2.c | <filename>platform/vendor_bsp/nxp/MIMXRT1062/CMSIS/DSP/Source/TransformFunctions/arm_bitreversal2.c
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_bitreversal2.c
* Description: Bitreversal functions
*
* $Date: 18. March 2019
... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_osal/osal_tls.h | #ifndef _OSAL_TLS_H_
#define _OSAL_TLS_H_
__QCLOUD_OSAL__ void *osal_tls_connect(qcloud_tls_opt_t *tls_opt, const char *host, int port);
__QCLOUD_OSAL__ void osal_tls_disconnect(void *handle);
__QCLOUD_OSAL__ qcloud_err_t osal_tls_write(void *handle, const void *buf, size_t len, uint32_t timeout, size_t *write_len)... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nxp/MIMXRT1062/CMSIS/DSP/Source/TransformFunctions/arm_dct4_q31.c | <filename>platform/vendor_bsp/nxp/MIMXRT1062/CMSIS/DSP/Source/TransformFunctions/arm_dct4_q31.c
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_dct4_q31.c
* Description: Processing function of DCT4 & IDCT4 Q31
*
* $Date: 18. Ma... |
umaru724/TencentOS_E53_IA1 | components/lzw/lzw-lib.c | <filename>components/lzw/lzw-lib.c
////////////////////////////////////////////////////////////////////////////
// **** LZW-AB **** //
// Adjusted Binary LZW Compressor/Decompressor //
// Copyright (c) 2016 <NAME> ... |
umaru724/TencentOS_E53_IA1 | components/connectivity/qcloud-iot-explorer-sdk/3rdparty/sdk_src/services/data_template/data_template_client.c | <filename>components/connectivity/qcloud-iot-explorer-sdk/3rdparty/sdk_src/services/data_template/data_template_client.c
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT Li... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/examples/ant/ant_scan_and_forward/deviceregistry.c | /**
* This software is subject to the ANT+ Shared Source License
* www.thisisant.com/swlicenses
* Copyright (c) Garmin Canada Inc. 2015
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/event/qcloud_event.c | /*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/include/qcloud_device.h | <gh_stars>1-10
#ifndef _QCLOUD_DEVICE_H
#define _QCLOUD_DEVICE_H_
typedef struct qcloud_device_st {
const char *product_id;
const char *device_name;
#if (QCLOUD_CFG_AUTH_MODE == QCLOUD_AUTH_MODE_CERT)
const char *cert_path;
const char *priv_key_path;
#else
const char *key;
#endif
#if (QCLOUD_CFG_... |
umaru724/TencentOS_E53_IA1 | components/connectivity/TencentCloud_SDK/source/src/qcloud_tls.c | <filename>components/connectivity/TencentCloud_SDK/source/src/qcloud_tls.c
#include "qcloud.h"
#if (QCLOUD_CFG_TLS_EN > 0u)
#if (QCLOUD_CFG_AUTH_MODE == QCLOUD_AUTH_MODE_CERT)
__QCLOUD_STATIC__ qcloud_err_t qcloud_tls_init_with_cert(qcloud_tls_opt_t *tls_opt, qcloud_device_t *device)
{
if (!device->cert_path || !... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/thedotfactory_fonts/orkney24pts.c | /* Font copyrights:
*
* Copyright (c) 2015,
* <NAME> (https://behance.net/pradil),
* <NAME> (http://oakes.co/),
* <NAME> (https://www.behance.net/cssobral20f492),
* with Reserved Font Name Orkney.
*
* Code was generated by The Dot Factory (https://github.com/pavius/the-dot-factory)
*
* This Font Software is l... |
umaru724/TencentOS_E53_IA1 | platform/vendor_bsp/nordic/nRF5_SDK_15.3.0/external/nrf_oberon/include/occ_rsa.h | <gh_stars>1-10
/**
* Copyright (c) 2016 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 copyr... |
umaru724/TencentOS_E53_IA1 | components/fs/vfs/include/tos_vfs_err.h | #ifndef _TOS_VFS_ERR_H_
#define _TOS_VFS_ERR_H_
typedef enum vfs_err_en {
VFS_ERR_NONE,
VFS_ERR_BUFFER_NULL,
VFS_ERR_DEVICE_NOT_REGISTERED,
VFS_ERR_DEVICE_ALREADY_REGISTERED,
VFS_ERR_FILE_NO_AVAILABLE,
VFS_ERR_FILE_NOT_OPEN,
VFS_ERR_FS_ALREADY_MOUNTED,
VFS_ERR_FS_ALREADY_REGISTERED,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.