repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
RIOT | RIOT-master/drivers/tcs37727/include/tcs37727_params.h | /*
* Copyright (C) 2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_tcs37727
*
* @{
* @file
* @brief Default configuratio... | 1,623 | 20.368421 | 69 | h |
RIOT | RIOT-master/drivers/tcs37727/include/tcs37727-internal.h | /*
* Copyright (C) 2015 PHYTEC Messtechnik GmbH
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/
/**
* @ingroup drivers_tcs37727
* @{
*
* @file
* @brief Register definitio... | 5,777 | 37.52 | 103 | h |
RIOT | RIOT-master/drivers/mtd_spi_nor/mtd_spi_nor.c | /*
* Copyright (C) 2016 Eistec AB
* 2017 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/
/**
* @ingroup drivers_mtd_spi_nor
* @{
*
* @file
* @brief... | 23,724 | 29.891927 | 128 | c |
RIOT | RIOT-master/drivers/mtd_spi_nor/mtd_spi_nor_configs.c | /*
* Copyright (C) 2016 Eistec AB
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/
/**
* @ingroup drivers_mtd_spi_nor
* @{
*
* @file
* @brief Configurations for some known... | 1,639 | 25.451613 | 82 | c |
RIOT | RIOT-master/drivers/mfrc522/include/mfrc522_params.h | /*
* Copyright (C) 2021 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_actuators
* @brief Default configuration for the MFRC522 control... | 2,173 | 24.27907 | 75 | h |
RIOT | RIOT-master/drivers/isl29125/isl29125.c | /*
* Copyright 2015 Ludwig Knüpfer
* Copyright 2017 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_isl29125
* @{
*
* @file
* @brief Devi... | 7,374 | 31.777778 | 103 | c |
RIOT | RIOT-master/drivers/isl29125/include/isl29125-internal.h | /*
* Copyright 2015 Ludwig Knüpfer
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_isl29125
* @{
*
* @file
* @brief Definitions for the ISL29125 RGB l... | 2,072 | 21.053191 | 69 | h |
RIOT | RIOT-master/drivers/isl29125/include/isl29125_params.h | /*
* Copyright (C) 2017 Freie Universität Berlin
* Copyright (C) 2018 HAW-Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_isl29125
*
* @{
* @file
*... | 1,820 | 23.608108 | 74 | h |
RIOT | RIOT-master/drivers/mtd_sdcard/mtd_sdcard.c | /*
* Copyright (C) 2017 HAW-Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*
*/
/**
* @ingroup drivers_mtd_sdcard
* @{
*
* @file
* @brief Driver for using sdcard_spi ... | 7,734 | 28.98062 | 90 | c |
RIOT | RIOT-master/drivers/w5100/w5100.c | /*
* Copyright (C) 2016-2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_w5100
* @{
*
* @file
* @brief Device driver impl... | 10,141 | 27.329609 | 80 | c |
RIOT | RIOT-master/drivers/w5100/include/w5100_params.h | /*
* Copyright (C) 2016 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_w5100
* @{
*
* @file
* @brief Default parameters for ... | 1,750 | 22.039474 | 86 | h |
RIOT | RIOT-master/drivers/w5100/include/w5100_regs.h | /*
* Copyright (C) 2016 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_w5100
* @{
*
* @file
* @brief Register definitions fo... | 6,334 | 42.993056 | 80 | h |
RIOT | RIOT-master/drivers/mcp2515/mcp2515.h | /*
* Copyright (C) 2016 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp2515
* @brief Driver for the Microchip MCP2515 can controller.
... | 8,527 | 27.426667 | 80 | h |
RIOT | RIOT-master/drivers/mcp2515/mcp2515_spi.h | /*
* Copyright (C) 2016 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp2515
* @brief Driver for the Microchip MCP2515 can controller.
... | 4,774 | 27.254438 | 79 | h |
RIOT | RIOT-master/drivers/mcp2515/mcp2515_spi.c | /*
* Copyright (C) 2016 OTA keys
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp2515
* @{
*
* @file
* @brief MCP2515 can spi driver
*
* @author ... | 5,090 | 30.042683 | 79 | c |
RIOT | RIOT-master/drivers/mcp2515/mcp2515.c | /*
* Copyright (C) 2016 OTA keys
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp2515
* @{
*
* @file
* @brief mcp2515 can spi driver
*
* @author ... | 11,953 | 27.127059 | 87 | c |
RIOT | RIOT-master/drivers/mcp2515/mcp2515_defines.h | /*
* Copyright (C) 2016 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp2515
* @brief Driver for the Microchip MCP2515 can controller.
... | 11,324 | 27.383459 | 74 | h |
RIOT | RIOT-master/drivers/mcp2515/candev_mcp2515.c | /*
* Copyright (C) 2016 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp2515
* @{
*
* @file
* @brief Implementation of the CAN contro... | 20,625 | 27.567867 | 89 | c |
RIOT | RIOT-master/drivers/sx1280/sx1280_netdev.c | /*
* Copyright (C) 2022 Inria
* Copyright (C) 2020-2022 Université Grenoble Alpes
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_sx1280
* @{
* @file
* @bri... | 13,369 | 27.87689 | 100 | c |
RIOT | RIOT-master/drivers/sx1280/sx1280.c | /*
* Copyright (C) 2022 Inria
* Copyright (C) 2020-2022 Université Grenoble Alpes
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_sx1280
* @{
* @file
* @bri... | 11,283 | 26.724816 | 99 | c |
RIOT | RIOT-master/drivers/sx1280/include/sx1280_constants.h | /*
* Copyright (C) 2022 Inria
* Copyright (C) 2020-2022 Université Grenoble Alpes
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_sx1280
* @{
*
* @file
* @... | 2,009 | 25.447368 | 131 | h |
RIOT | RIOT-master/drivers/sx1280/include/sx1280_params.h | /*
* Copyright (C) 2022 Inria
* Copyright (C) 2020-2022 Université Grenoble Alpes
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_sx1280
* @{
* @file
* @bri... | 3,128 | 26.447368 | 98 | h |
RIOT | RIOT-master/drivers/mcp47xx/mcp47xx_saul.c | /*
* Copyright (C) 2021 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp47xx
* @brief MCP47xx adaption to the RIOT actuator/sensor inte... | 1,106 | 24.159091 | 81 | c |
RIOT | RIOT-master/drivers/mcp47xx/mcp47xx.c | /*
* Copyright (C) 2021 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp47xx
* @brief Device driver for the Microchip MCP47xx DAC with ... | 8,681 | 28.036789 | 83 | c |
RIOT | RIOT-master/drivers/mcp47xx/include/mcp47xx_params.h | /*
* Copyright (C) 2021 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_mcp47xx
* @brief Default configuration for Microchip MCP47xx DAC w... | 2,793 | 24.4 | 82 | h |
RIOT | RIOT-master/examples/nimble_heart_rate_sensor/main.c | /*
* Copyright (C) 2019 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief (Mock-up) BLE heart rate sen... | 10,275 | 30.045317 | 85 | c |
RIOT | RIOT-master/examples/rust-gcoap/vfs.c | /*
* Copyright (C) 2018 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* This file demonstrates how C code can be mixed with Rust code in an
* application in an ad-hoc... | 1,900 | 25.041096 | 70 | c |
RIOT | RIOT-master/examples/micropython/main.c | /*
* Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief micropython ex... | 1,873 | 23.025641 | 81 | c |
RIOT | RIOT-master/examples/emcute_mqttsn/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demo... | 7,299 | 24.704225 | 94 | c |
RIOT | RIOT-master/examples/spectrum-scanner/main.c | /*
* Copyright (C) 2017 Eistec AB
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup app_spectrum_scanner
* @brief Scanner application to find free channels
* @{
... | 5,397 | 35.721088 | 111 | c |
RIOT | RIOT-master/examples/gnrc_border_router/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demo... | 1,043 | 22.727273 | 76 | c |
RIOT | RIOT-master/examples/asymcute_mqttsn/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demo... | 14,657 | 24.851852 | 79 | c |
RIOT | RIOT-master/examples/dtls-sock/dtls-server.c | /*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief DTLS sock server example
*
* @author ... | 7,563 | 27.014815 | 88 | c |
RIOT | RIOT-master/examples/dtls-sock/main.c | /*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for DTLS sock
*
* @... | 1,019 | 22.181818 | 69 | c |
RIOT | RIOT-master/examples/dtls-sock/tinydtls_keys.h | /*
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief PSK and RPK keys for the dtls-sock example.
*
... | 2,486 | 26.94382 | 69 | h |
RIOT | RIOT-master/examples/dtls-sock/dtls-client.c | /*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief DTLS sock client example
*
* @author ... | 6,718 | 27.961207 | 96 | c |
RIOT | RIOT-master/examples/ipc_pingpong/main.c | /*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief IPC pingpong application
*
... | 1,450 | 21.671875 | 86 | c |
RIOT | RIOT-master/examples/skald_ibeacon/main.c | /*
* Copyright (C) 2017-2018 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Setting up an iBeacon u... | 1,103 | 23 | 78 | c |
RIOT | RIOT-master/examples/gcoap_block_server/gcoap_block.c | /*
* Copyright (c) 2015-2017 Ken Bannister. All rights reserved.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @{
*
* @file
* @brief gcoap block server handler example
*... | 5,070 | 30.302469 | 104 | c |
RIOT | RIOT-master/examples/gcoap_block_server/main.c | /*
* Copyright (c) 2015-2016 Ken Bannister. All rights reserved.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief gcoap exampl... | 1,146 | 20.641509 | 69 | c |
RIOT | RIOT-master/examples/posix_select/main.c | /*
* Copyright (C) 2019 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demo... | 4,465 | 30.450704 | 81 | c |
RIOT | RIOT-master/examples/pio_blink/main.c | /*
* Copyright (C) 2023 Otto-von-Guericke-Universität Magdeburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include "board.h"
#include "periph/pio.h"
/* see blink.c */
pio_program_t ... | 1,229 | 24.625 | 69 | c |
RIOT | RIOT-master/examples/pio_blink/rpx0xx_pio_blink/blink.c | /*
* Copyright (C) 2023 Fabian Hüßler
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <errno.h>
#include "pio/pio.h" /* this is the internal PIO header of the rpx0xx */
#include "... | 3,020 | 29.515152 | 85 | c |
RIOT | RIOT-master/examples/cord_lc/main.c | /*
* Copyright (C) 2018 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief CoRE Resource Directory lookup (cord_lc) ... | 1,119 | 22.333333 | 75 | c |
RIOT | RIOT-master/examples/cord_lc/cord_lc_cli.c | /*
* Copyright (C) 2018 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Shell command for the cord_lc module
*
... | 5,319 | 28.88764 | 85 | c |
RIOT | RIOT-master/examples/wakaama/main.c | /*
* Copyright (C) 2018 Beduino Master Projekt - University of Bremen
* 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
... | 1,186 | 22.27451 | 69 | c |
RIOT | RIOT-master/examples/wakaama/lwm2m_cli.c | /*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Wakaama LwM2M Client CLI support
*
* @a... | 1,716 | 21.893333 | 80 | c |
RIOT | RIOT-master/examples/gnrc_lorawan/main.c | /*
* Copyright (C) 2019 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup tests
* @{
* @file
* @brief Test application for GNRC LoRaWAN
*
* @author... | 1,185 | 21.377358 | 84 | c |
RIOT | RIOT-master/examples/dtls-echo/dtls-server.c | /*
* Copyright (C) 2015 Freie Universität Berlin
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief ... | 12,423 | 27.300683 | 91 | c |
RIOT | RIOT-master/examples/dtls-echo/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief ... | 1,575 | 23.625 | 75 | c |
RIOT | RIOT-master/examples/dtls-echo/tinydtls_keys.h | /*
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief PSK and RPK keys for the dtls-echo example.
*
... | 1,661 | 23.80597 | 69 | h |
RIOT | RIOT-master/examples/dtls-echo/dtls-client.c | /*
* Copyright (C) 2015 Freie Universität Berlin
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief ... | 15,154 | 29.431727 | 84 | c |
RIOT | RIOT-master/examples/gnrc_networking/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demo... | 1,043 | 22.727273 | 76 | c |
RIOT | RIOT-master/examples/dtls-wolfssl/dtls-server.c | /*
* Copyright (C) 2019 Daniele Lacamera
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Demonstrating DTLS 1.2 server using ... | 4,368 | 25.803681 | 84 | c |
RIOT | RIOT-master/examples/dtls-wolfssl/main.c | /*
* Copyright (C) 2019 Daniele Lacamera
*
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for DTLS 1.2... | 1,821 | 23.293333 | 79 | c |
RIOT | RIOT-master/examples/dtls-wolfssl/cert.c | /* Created from wolfssl-examples test certificate+keys, ECC/RSA. 28/08/2019 */
#ifdef MODULE_WOLFCRYPT_ECC
const unsigned char server_cert[] = {
0x30, 0x82, 0x03, 0x50, 0x30, 0x82, 0x02, 0xf5, 0xa0, 0x03, 0x02, 0x01,
0x02, 0x02, 0x02, 0x10, 0x00, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48,
0xce, 0x3d, 0x04, 0x03, ... | 21,257 | 68.019481 | 78 | c |
RIOT | RIOT-master/examples/dtls-wolfssl/dtls-client.c | /*
* Copyright (C) 2019 Daniele Lacamera
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Demonstrating DTLS 1.2 client using ... | 5,563 | 27.680412 | 86 | c |
RIOT | RIOT-master/examples/opendsme/main.c | /*
* Copyright (C) 2021 HAW Hamburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @file
* @brief OpenDSME example
*
* @author José I. Álamos <jose.alamos@haw-hamburg... | 983 | 23 | 84 | c |
RIOT | RIOT-master/examples/javascript/main.c | /*
* Copyright (C) 2017 Inria
* 2017 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
*... | 1,875 | 22.45 | 81 | c |
RIOT | RIOT-master/examples/skald_eddystone/main.c | /*
* Copyright (C) 2018 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief BLE Eddystone beacon example... | 1,514 | 25.578947 | 72 | c |
RIOT | RIOT-master/examples/cord_ep/main.c | /*
* Copyright (C) 2017-2018 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief CoRE Resource Directory... | 3,120 | 26.619469 | 80 | c |
RIOT | RIOT-master/examples/riot_and_cpp/c_functions.c | /*
* Copyright (C) 2014 Ho Chi Minh city University of Technology (HCMUT)
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Som... | 2,438 | 22.911765 | 111 | c |
RIOT | RIOT-master/examples/wasm/wasm-main.c | /*
* Copyright (C) 2020 TU Bergakademie Freiberg Karl Fessel
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>... | 1,312 | 28.177778 | 88 | c |
RIOT | RIOT-master/examples/wasm/iwasmt.c | /*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* Copyright (C) 2020 TU Bergakademie Freiberg Karl Fessel
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "wasm_export.h"
/* e... | 4,177 | 28.216783 | 91 | c |
RIOT | RIOT-master/examples/wasm/wasm_sample/hello.c | /* Copyright (C) World
* a native printf is provided by the builtin libc of wamr */
#ifdef __cplusplus
extern "C" int printf( const char *, ...);
#define WASM_EXPORT __attribute__((visibility("default"))) extern "C"
#else
extern int printf( const char *, ...);
#define WASM_EXPORT __attribute__((visibility("default"))... | 533 | 23.272727 | 69 | c |
RIOT | RIOT-master/examples/nimble_scanner/main.c | /*
* Copyright (C) 2019 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example for using NimBLE as ... | 2,209 | 22.263158 | 73 | c |
RIOT | RIOT-master/examples/default/main.c | /*
* Copyright (C) 2008, 2009, 2010 Kaspar Schleiser <kaspar@schleiser.de>
* Copyright (C) 2013 INRIA
* Copyright (C) 2013 Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* di... | 1,232 | 23.176471 | 84 | c |
RIOT | RIOT-master/examples/blinky/main.c | /*
* Copyright (C) 2021 Otto-von-Guericke-Universität Magdeburg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Blinky applic... | 1,506 | 22.920635 | 79 | c |
RIOT | RIOT-master/examples/sniffer/main.c | /*
* Copyright (C) 2015-18 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @defgroup app_sniffer
* @brief Sniffer application based on the new net... | 3,231 | 22.42029 | 87 | c |
RIOT | RIOT-master/examples/cord_epsim/main.c | /*
* Copyright (C) 2017-2019 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Test application demons... | 4,359 | 28.066667 | 95 | c |
RIOT | RIOT-master/examples/telnet_server/main.c | /*
* Copyright (C) 2021 ML!PA Consulting GmbH
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demonst... | 2,154 | 23.213483 | 78 | c |
RIOT | RIOT-master/examples/gcoap/client.c | /*
* Copyright (c) 2015-2017 Ken Bannister. All rights reserved.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief gcoap CLI su... | 12,146 | 29.908397 | 95 | c |
RIOT | RIOT-master/examples/gcoap/gcoap_example.h | /*
* Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief gcoap example... | 1,409 | 20.363636 | 80 | h |
RIOT | RIOT-master/examples/gcoap/server.c | /*
* Copyright (c) 2015-2017 Ken Bannister. All rights reserved.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief gcoap CLI su... | 6,455 | 30.339806 | 103 | c |
RIOT | RIOT-master/examples/filesystem/main.c | /*
* Copyright (C) 2018 OTA keys S.A.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief File system usage example application
... | 3,556 | 22.872483 | 79 | c |
RIOT | RIOT-master/examples/gcoap_dtls/tinydtls_keys.h | /*
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief PSK and RPK keys for the dtls-sock example.
*
... | 1,608 | 24.140625 | 69 | h |
RIOT | RIOT-master/examples/ccn-lite-relay/main.c | /*
* Copyright (C) 2015 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Basic ccn-lite relay example (produce and consu... | 1,504 | 22.888889 | 84 | c |
RIOT | RIOT-master/examples/posix_sockets/main.c | /*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example a... | 1,257 | 24.16 | 78 | c |
RIOT | RIOT-master/examples/posix_sockets/udp.c | /*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Demonstra... | 5,947 | 26.924883 | 91 | c |
RIOT | RIOT-master/examples/openthread/main.c | /*
* Copyright (C) 2017 Baptiste CLENET
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @file
* @brief OpenThread test application
*
* @author Baptiste Clenet <bapclen... | 1,274 | 23.056604 | 79 | c |
RIOT | RIOT-master/examples/nimble_gatt/main.c | /*
* Copyright (C) 2018 Freie Universität Berlin
* 2018 Codecoup
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief ... | 9,194 | 30.169492 | 84 | c |
RIOT | RIOT-master/examples/lorawan/main.c | /*
* Copyright (C) 2018 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example demonstrating the use of LoRaWAN with R... | 5,577 | 25.561905 | 98 | c |
RIOT | RIOT-master/examples/lua_REPL/main.c | /*
* Copyright (C) 2018 Freie Universität Berlin.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Lua shell in RIOT
*
* @au... | 1,660 | 25.365079 | 98 | c |
RIOT | RIOT-master/examples/gnrc_networking_mac/main.c | /*
* Copyright (C) 2015 Freie Universität Berlin
* 2017 INRIA
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief ... | 1,435 | 25.109091 | 76 | c |
RIOT | RIOT-master/examples/gnrc_networking_mac/udp.c | /*
* Copyright (C) 2015-17 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Demonstrating the sending... | 5,950 | 28.904523 | 90 | c |
RIOT | RIOT-master/examples/nanocoap_server/main.c | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief CoAP example s... | 1,254 | 22.679245 | 80 | c |
RIOT | RIOT-master/examples/nanocoap_server/coap_handler.c | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "fmt.h"
... | 6,865 | 32.656863 | 107 | c |
RIOT | RIOT-master/examples/twr_aloha/main.c | /*
* Copyright (C) 2020 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Two way ranging example
*
* @author Fran... | 995 | 21.636364 | 69 | c |
RIOT | RIOT-master/examples/twr_aloha/control.h | /*
* Copyright (C) 2020 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
*
* @author Francisco Molina <francois-xavier.molina@inr... | 3,170 | 25.425 | 81 | h |
RIOT | RIOT-master/examples/twr_aloha/twr_shell.c | /*
* Copyright (C) 2021 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
*
* @author Francisco Molina <francois-xavier.molina@inr... | 7,360 | 32.307692 | 90 | c |
RIOT | RIOT-master/examples/twr_aloha/control.c | /*
* Copyright (C) 2020 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
*
* @author Francisco Molina <francois-xavier.molina@inr... | 9,630 | 30.269481 | 88 | c |
RIOT | RIOT-master/examples/paho-mqtt/main.c | /*
* Copyright (C) 2019 Javier FILEIV <javier.fileiv@gmail.com>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file main.c
* @brief ... | 8,119 | 24.375 | 80 | c |
RIOT | RIOT-master/examples/gcoap_fileserver/main.c | /*
* Copyright (C) 2022 ML!PA Consulting GmbH
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Example application for demonst... | 2,206 | 25.27381 | 88 | c |
RIOT | RIOT-master/examples/thread_duel/main.c | /*
* Copyright (C) 2020 TUBA Freiberg
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "thread.h"
#include "sched.h"
#i... | 4,385 | 27.480519 | 95 | c |
RIOT | RIOT-master/examples/suit_update/main.c | /*
* Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief SUIT updates o... | 6,375 | 26.482759 | 93 | c |
RIOT | RIOT-master/examples/suit_update/coap_handler.c | /*
* Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "net/nan... | 1,022 | 28.228571 | 77 | c |
RIOT | RIOT-master/boards/stm32f0discovery/include/periph_conf.h | /*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup boards_stm32f0discovery
* @{
*
* @file
* @brief Peripheral MC... | 3,365 | 21.590604 | 80 | h |
RIOT | RIOT-master/boards/slwstk6220a/board.c | /*
* Copyright (C) 2015-2020 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup boards_slwstk6220a
* @{
*
* @file
* @brief Board specifi... | 820 | 20.051282 | 69 | c |
RIOT | RIOT-master/boards/slwstk6220a/include/board.h | /*
* Copyright (C) 2015-2020 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup boards_slwstk6220a
* @{
*
* @file
* @brief Board specifi... | 2,875 | 21.123077 | 74 | h |
RIOT | RIOT-master/boards/cc2650-launchpad/include/board.h | /*
* Copyright (C) 2016 Nicholas Jackson
* 2017 Sebastian Meiling
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup boards_cc2650_launchpad
* @{... | 1,594 | 21.152778 | 80 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.