repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
amoylel/NCUI | third_party/amo/amo/logger/console_sinks.h | <reponame>amoylel/NCUI
// Created by amoylel on 30/08/2018.
// Copyright (c) 2018 amoylel All rights reserved.
#ifndef AMO_CONSOLE_SINKS_D2328EDB_0E61_46AA_95AF_A14D6917552A_H__
#define AMO_CONSOLE_SINKS_D2328EDB_0E61_46AA_95AF_A14D6917552A_H__
#include <spdlog/details/null_mutex.h>
#include <spdlog/sinks/base_si... |
amoylel/NCUI | third_party/amo/amo/asio/st_asio_wrapper/tcp/ssl/ssl.h | /*
* ssl.h
*
* Created on: 2012-3-2
* Author: youngwolf
* email: <EMAIL>
* QQ: 676218192
* Community on QQ: 198941541
*
* make st_asio_wrapper support boost::asio::ssl
*/
#ifndef ST_ASIO_SSL_H_
#define ST_ASIO_SSL_H_
#include <boost/asio/ssl.hpp>
#include "../client.h"
#include "../server.h"
#inc... |
amoylel/NCUI | third_party/amo/spdlog/fmt/bundled/printf.h | /*
Formatting library for C++
Copyright (c) 2012 - 2016, <NAME>
All rights reserved.
For the license information refer to format.h.
*/
#ifndef FMT_PRINTF_H_
#define FMT_PRINTF_H_
#include <algorithm> // std::fill_n
#include <limits> // std::numeric_limits
#include "fmt/format.h"
namespace fmt
{
namespac... |
amoylel/NCUI | third_party/amo/amo/asio/st_asio_wrapper/container.h | /*
* container.h
*
* Created on: 2016-10-12
* Author: youngwolf
* email: <EMAIL>
* QQ: 676218192
* Community on QQ: 198941541
*
* containers.
*/
#ifndef ST_ASIO_CONTAINER_H_
#define ST_ASIO_CONTAINER_H_
#include "base.h"
namespace st_asio_wrapper
{
//st_asio_wrapper requires that container must ... |
amoylel/NCUI | third_party/amo/amo/asio/st_asio_wrapper/socket.h | /*
* socket.h
*
* Created on: 2013-8-4
* Author: youngwolf
* email: <EMAIL>
* QQ: 676218192
* Community on QQ: 198941541
*
* this class used at both client and server endpoint, and in both TCP and UDP socket
*/
#ifndef ST_ASIO_SOCKET_H_
#define ST_ASIO_SOCKET_H_
#include "timer.h"
namespace st_as... |
amoylel/NCUI | third_party/amo/amo/logger/notify_sink_sinks.h | // Created by amoylel on 01/15/2018.
// Copyright (c) 2018 amoylel All rights reserved.
#ifndef AMO_NOTIFY_SINK_SINKS_H__
#define AMO_NOTIFY_SINK_SINKS_H__
#pragma once
#include <spdlog/sinks/base_sink.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/details/file_helper.h>
#include <spdlog/fmt/fmt.h>
#... |
amoylel/NCUI | third_party/amo/amo/asio/st_asio_wrapper/udp/socket.h | <filename>third_party/amo/amo/asio/st_asio_wrapper/udp/socket.h
/*
* socket.h
*
* Created on: 2012-3-2
* Author: youngwolf
* email: <EMAIL>
* QQ: 676218192
* Community on QQ: 198941541
*
* UDP socket
*/
#ifndef ST_ASIO_UDP_SOCKET_H_
#define ST_ASIO_UDP_SOCKET_H_
#include "../socket.h"
#include "..... |
amoylel/NCUI | third_party/amo/amo/asio/st_asio_wrapper/base.h | <gh_stars>10-100
/*
* base.h
*
* Created on: 2012-3-2
* Author: youngwolf
* email: <EMAIL>
* QQ: 676218192
* Community on QQ: 198941541
*
* interfaces, free functions, convenience and logs etc.
*/
#ifndef ST_ASIO_BASE_H_
#define ST_ASIO_BASE_H_
#include <stdio.h>
#include <stdarg.h>
#include <vec... |
amoylel/NCUI | third_party/amo/amo/asio/st_asio_wrapper/timer.h | /*
* timer.h
*
* Created on: 2012-3-2
* Author: youngwolf
* email: <EMAIL>
* QQ: 676218192
* Community on QQ: 198941541
*
* timer base class
*/
#ifndef ST_ASIO_TIMER_H_
#define ST_ASIO_TIMER_H_
#ifdef ST_ASIO_USE_STEADY_TIMER
#include <boost/asio/steady_timer.hpp>
#elif defined(ST_ASIO_USE_SYSTEM_... |
mario21ic/abstract-data-structures | c/linkedlist/simple.c | #include <stdio.h>
struct node
{
int value;
int *next;
};
int main()
{
struct node nodos[4];
//struct node nodos[4] = {2, 3, 4, 5};
int array_len = sizeof(nodos)/sizeof(nodos[0]);
printf("Size of array: %d\n", array_len);
printf("Assing values\n");
for(int i = 0; i < array_len; ++i) {... |
mario21ic/abstract-data-structures | c/linkedlist/main.c | <filename>c/linkedlist/main.c
#include <stdio.h>
struct node
{
int value;
int *next;
};
int main()
{
struct node nodo1, nodo2, nodo3, nodo4;
nodo1.value = 2;
nodo2.value = 5;
nodo3.value = 7;
nodo4.value = 9;
printf("nodo1.value: %d\n", nodo1.value);
printf("nodo2.value: %d\n", no... |
dad98253/userlist | userlist.c | <filename>userlist.c
/*
* userlist.c
*
* Created on: Mar 13, 2018
* Author: dad
*
* This program reads a set of passwd, shadow, and group files plus a special input
* file that contains a mapping of the user's passwords and samba share names. The
* the files are parsed and a set of scripts are produced th... |
chochain/nanoFORTH | src/nanoforth.h | /**
* @file nanoforth.h
* @brief nanoForth main controller
*
* ####Memory Map
*
* |paddr |forth |objects |rom|
* |-----:|-----:|:----------------:|:-:|
* |0x0000| |Interrupt Vectors | |
* |0x0100| |Arduino libraries | |
* | |0x0000|Dictionary==> |x |
* | ... |
chochain/nanoFORTH | src/nanoforth_vm.h | /**
* @file nanoforth_vm.h
* @brief nanoForth Virtual Machine class
*
*/
#ifndef __SRC_NANOFORTH_VM_H
#define __SRC_NANOFORTH_VM_H
#include "nanoforth_core.h"
class N4Asm; // forward declaration
///
/// nanoForth Virtual Machine class
///
class N4VM : N4Core
{ // (12-... |
chochain/nanoFORTH | src/nanoforth_asm.h | <gh_stars>1-10
/**
* @file nanoforth_asm.h
* @brief nanoForth Assembler class
*
* ####nanoForth Opcode formats
*
* @code
* branching : 11BB oooo oooo oooo (12-bit absolute address)
* primitive : 10cc cccc (64 primitives)
* 3-byte lit: 1011 1111 nnnn nnnn nnnn nnnn bf x... |
chochain/nanoFORTH | src/nanoforth_core.h | /**
* @file nanoforth_core.h
* @brief nanoForth Core Utility abstract class
*/
#ifndef __SRC_NANOFORTH_CORE_H
#define __SRC_NANOFORTH_CORE_H
#include "nanoforth.h"
constexpr U16 TIB_SZ = 0x40; /**< console(terminal) input buffer size */
constexpr U8 TIB_CLR = 0x1;
#if ARDUINO
#define flash(s) ... |
duplexsystem/UE4GitPlugin | Source/GitSourceControl/Private/GitSourceControlUtils.h | // Copyright (c) 2014-2020 <NAME> (<EMAIL>)
//
// Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
// or copy at http://opensource.org/licenses/MIT)
#pragma once
#include "CoreMinimal.h"
#include "GitSourceControlState.h"
class FGitSourceControlCommand;
/**
* Helper struct for maintaining... |
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Models/JKIB2FAPinVerifyResult.h | <gh_stars>1-10
//
// JKIB2FAPinVerifyResult.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/24/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum : NSUInteger {
PinErrorUnknown = -1,
PinErrorWrongPin = 1,
PinErrorTtlExpired = 2,
PinErrorNoMorePinAttem... |
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Models/JKIB2FAApplicationConfig.h | //
// JKIB2FApplicationConfig.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/22/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface JKIB2FAApplicationConfig : NSObject
@property (nonatomic, strong) NSNumber *pintimeToLive;
@property (nonatomic, strong) NSNumb... |
kakashysen/JKInfoBip2FAKi | Example/Pods/Target Support Files/Pods-JKInfoBip2FAKit_Tests/Pods-JKInfoBip2FAKit_Tests-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_JKInfoBip2FAKit_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_JKInfoBip2FAKit_TestsVersionString[];
|
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Classes/JKIB2FARequest.h | //
// JKInfoBip2FARequest.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/22/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JKIB2FAPinBody.h"
#import "JKIB2FAPinResult.h"
#import "JKIB2FAResponseError.h"
#import "JKIB2FAPinVerifyResult.h"
#import <AFNetworking... |
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Models/JKIB2FAApplication.h | //
// JKIB2FApplication.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/22/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JKIB2FAApplicationConfig.h"
@interface JKIB2FAApplication : NSObject
@property (nonatomic, strong) NSString *applicationId;
@property (n... |
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Models/JKIB2FAResponseError.h | <reponame>kakashysen/JKInfoBip2FAKi<filename>JKInfoBip2FAKit/Models/JKIB2FAResponseError.h<gh_stars>1-10
//
// JKIB2FAPinFail.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/22/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface JKIB2FAResponseError : NSObject
... |
kakashysen/JKInfoBip2FAKi | Example/JKInfoBip2FAKit/JKIB2FAViewController.h | //
// JKIB2FAViewController.h
// JKInfoBip2FAKit
//
// Created by <EMAIL> on 04/01/2017.
// Copyright (c) 2017 <EMAIL>. All rights reserved.
//
@import UIKit;
#import <JKInfoBip2FAKit/JKIB2FARequest.h>
@interface JKIB2FAViewController : UIViewController<JKIB2FARequestDelegate>
@end
|
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Models/JKIB2FAPinBody.h | <reponame>kakashysen/JKInfoBip2FAKi
//
// JKIB2FAPinBody.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/22/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface JKIB2FAPinBody : NSObject
/// Phone number to which 2FA message will be sent. Must be in internation... |
kakashysen/JKInfoBip2FAKi | Example/Pods/Target Support Files/JKInfoBip2FAKit/JKInfoBip2FAKit-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "JKIB2FARequest.h"
#import "JKIB2FAApplication.h"
#import "JKIB2FAApplicationConfig.h"
#import "JKIB2FAPinBody.h"
#import "JKIB2FAPinResult.h"
#import "JKIB2FAPinVerifyResult.h"
#import "JKIB2FAResponseError.h"
FOUNDATION_EXPORT double JKInfoBip2FAKitVersionNumbe... |
kakashysen/JKInfoBip2FAKi | Example/Pods/Target Support Files/Pods-JKInfoBip2FAKit_Example/Pods-JKInfoBip2FAKit_Example-umbrella.h | <reponame>kakashysen/JKInfoBip2FAKi
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_JKInfoBip2FAKit_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_JKInfoBip2FAKit_ExampleVersionString[];
|
kakashysen/JKInfoBip2FAKi | JKInfoBip2FAKit/Models/JKIB2FAPinResult.h | <filename>JKInfoBip2FAKit/Models/JKIB2FAPinResult.h
//
// JKIB2FAPinResult.h
// JKInfoBip2FAKit
//
// Created by <NAME> on 3/22/17.
// Copyright © 2017 jappsku. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum : NSUInteger {
SmsStatusMessageSent = 1,
SmsStatusMessageNotSent = 2,
} Sm... |
Mewlan/FileWriteBinary | fwb.c | <gh_stars>0
//
// fwb.c
// FileWriteBinary
//
// Created by <NAME> on 10/29/17.
// Copyright (c) 2017 <NAME>. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#define DICT_LEN sizeof(struct Dictionary)
#define COUNT 3
unsigned int L;
struct Dictionary
{
char errorViewString[52];
char dataInsertIn... |
ja8eer/Algorithems-in-C- | linked_list/list.h | <filename>linked_list/list.h
#ifndef LIST_H_
#define LIST_H_
struct node{
int data;
node *next;
};
class linked{
int size=0;
node *head;
public:
linked(){
head = NULL;
}
void insert_beg(int);
void delete_beg();
void insert_mid(int,int);
void delete_mid(int);
void insert_end(int);
void delete_end();
vo... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/oneValueCell.h | // oneValueCell.h
#import "displayTile.h"
@interface oneValueCell : displayTile
@property autoSizeLabel *value;
@end
|
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/siOleAlertView.h | <reponame>cincoutprabu/safe-home-drone<filename>Source/SafeHomeDrone/siOleAlertView.h
// siOleAlertView.h
#import <UIKit/UIKit.h>
#import "displayTile.h"
///@brief The siOleAlertView class shows a custom full screen alert.
@interface siOleAlertView : UIView
@property autoSizeLabel *message;
@property UIVisualEffect... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorTagHumidityService.h | // sensorTagHumidityService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The sensorTagHumidityService class receives data from the HDC1000 sensor on the SensorTag 2.0 and represents it on the GUI.
@interface sensorTagHumidityService : bleGenericService
@property CGFloat humidity;
@property... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorTagKeyService.h | <gh_stars>1-10
// sensorTagKeyService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The sensorTagKeyService class handles the SensorTag Simple Keys service, it shows the current key data on the gui
@interface sensorTagKeyService : bleGenericService
@property BOOL key1;
@property BOOL key2;... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorTagMovementService.h | // sensorTagMovementService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The sensorTagMovementService class receives data from the MPU-9250 sensor on the SensorTag 2.0 and represents it on the GUI.
@interface sensorTagMovementService : bleGenericService
@property Point3D acc;
@property Poi... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/DeviceSelectTableViewController.h | // DeviceSelectTableViewController.h
#import <UIKit/UIKit.h>
#import <CoreBluetooth/CoreBluetooth.h>
///@brief The deviceSelectTableViewControllerDelegate class is a simple Bluetooth Smart device scanner that presents a list of devices
/// detected by iOS and lets the user select one of these.
@protocol deviceSelect... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorTagAirPressureService.h | // sensorTagAirPressureService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The sensorTagAirPressureService class receives data from the BMP280 sensor on the SensorTag 2.0 and represents it on the GUI.
@interface sensorTagAirPressureService : bleGenericService
@property CGFloat airPressure... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/displayTile.h | // displayTile.h
#import <UIKit/UIKit.h>
#define TILE_SIZE 50
@interface autoSizeLabel : UILabel
+(CGFloat) getSizeOfFontFromFrame:(CGRect) frame andString:(NSString *) string;
@end
@interface displayTile : UIView
@property CGPoint origin;
@property CGSize size;
@property CGFloat tileSize;
@property CGFloat til... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorTagLightService.h | <filename>Source/SafeHomeDrone/sensorTagLightService.h
// sensorTagLightService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The sensorTagLightService class handles the data from the optical light sensor on the SensorTag 2.0 and
///presents it on the GUI
@interface sensorTagLightService : b... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/ViewController.h | // ViewController.h
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "DeviceSelectTableViewController.h"
#import "bleGenericService.h"
#import "siOleAlertView.h"
#import "MiniDrone.h"
@interface ViewController : UIViewController <
bluetoothHandlerDelegate,
deviceSelectTableViewControllerD... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorTagAmbientTemperatureService.h | // sensorTagAmbientTemperatureService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The sensorTagAmbientTemperatureService class receives data from the TMP007 sensor on the SensorTag 2.0 and represents it on the GUI.
@interface sensorTagAmbientTemperatureService : bleGenericService
@propert... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/bluetoothHandler.h | <reponame>cincoutprabu/safe-home-drone
// bluetoothHandler.h
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreBluetooth/CoreBluetooth.h>
///@brief The bluetoothHandlerDelegate is a protocol for communicating bluetooth events to the main viewcontroller
@protocol bluetoothHandlerDelegate <NSObjec... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/deviceInformationService.h | <reponame>cincoutprabu/safe-home-drone
// deviceInformationService.h
#import "bleGenericService.h"
#import "bluetoothHandler.h"
///@brief The deviceInformationService class handles the Bluetooth SIG Device information service
/// It presents the device informaiton on the GUI
@interface deviceInformationService : ble... |
cincoutprabu/safe-home-drone | Source/SafeHomeDrone/sensorFunctions.h | // sensorFunctions.h
#import <Foundation/Foundation.h>
#define PERIOD_MIN 100
#define PERIOD_MAX 2550
///@brief The sensorFunctions class is a utility class that helps out with configuration data and period data calculations
@interface sensorFunctions : NSObject
///Generate data for period register on the services... |
RadioOperator/STM32_HAL_retarget_printf | STM32F407VET6printf/Core/Src/main.c | <reponame>RadioOperator/STM32_HAL_retarget_printf<filename>STM32F407VET6printf/Core/Src/main.c
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
****************************************... |
DamarXCV/ICM-20948-Arduino | src/ICM20948.h | /******************************************************************************
*
* This is a library for the 9-axis gyroscope, accelerometer and magnetometer ICM20948.
*
* You'll find several example sketches which should enable you to use the library.
*
* You are free to use it, change it or build on it. In cas... |
Commutyble/thingmagic-client | c/src/api/tmr_types.h | <filename>c/src/api/tmr_types.h
/* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_TYPES_H
#define _TMR_TYPES_H
/**
* @file tmr_types.h
* @brief Mercury API - General data type definitions
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is he... |
Commutyble/thingmagic-client | c/src/api/tmr_serial_transport.h | #ifndef _TMR_SERIAL_TRANSPORT_H
#define _TMR_SERIAL_TRANSPORT_H
/**
* @file tmr_serial_transport.h
* @brief Mercury API - Serial Transport Interface
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... |
Commutyble/thingmagic-client | c/src/samples/autonomousmode.c | <gh_stars>0
/**
* Sample program that demonstrates enable/disable AutonomousMode.
* @file autonomousmode.c
*/
#include <tm_reader.h>
#include <serial_reader_imp.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifndef WIN32
#include <unistd.h>
#endif
#ifdef TMR_... |
Commutyble/thingmagic-client | c/src/samples/licensekey.c | <gh_stars>0
/**
* Sample program that reads tags for a fixed period of time (500ms)
* and prints the tags found.
* @file LicenseKey.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include "serial_reader_imp.h"
#include <inttypes.h>
/* Enable this to use ... |
Commutyble/thingmagic-client | c/src/samples/RegulatoryTesting.c | /**
* Sample program that demonstrates how to execute
* CW/PRBS in TIMED or CONTINUOUS mode
* @file RegulatoryTesting.c
*/
#include <tm_reader.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifndef WIN32
#include <unistd.h>
#endif
#ifnde... |
Commutyble/thingmagic-client | c/src/samples/savedconfig.c | /**
* Sample program that reads tags for a fixed period of time (500ms)
* @file SavedConfig.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
/* Enable this to use transportListener */
#ifndef USE_TRANSPORT_LISTENER
#define USE_TRANSPORT_LISTENER 0
... |
Commutyble/thingmagic-client | c/src/samples/EM4325CustomTagOps.c | <filename>c/src/samples/EM4325CustomTagOps.c
/**
* Sample program that demonstrates EM4325 Custom tag operations.
* @file EM4325CustomTagOps.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#include <tmr_utils.h>
#if WIN32
#define snpr... |
Commutyble/thingmagic-client | c/src/samples/onreader-tagdir.c | /** Sample program that reads tags in the background
* and calculates direction of travel.
* Assumes antennas 1 and 2 are connected and facing in opposing directions.
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#ifndef WIN32
#include <signal.h>
#include <unistd.h>
#include <... |
Commutyble/thingmagic-client | c/src/api/tm_config.h | /* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TM_CONFIG_H
#define _TM_CONFIG_H
/**
* @file tm_config.h
* @brief Mercury API - Build Configuration
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any pers... |
Commutyble/thingmagic-client | c/src/samples/denatranIAVcustomtagoperations.c | <filename>c/src/samples/denatranIAVcustomtagoperations.c
/**
* Sample program that used for DenatronIAVCustomTagOpearations
* @file denatranIAVcustomtagoperations.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#if WIN32
#define snpri... |
Commutyble/thingmagic-client | c/src/api/serial_transport_dummy.c | /**
* @file serial_transport_dummy.c
* @brief Mercury API - Sample serial transport that does nothing
* @author <NAME>
* @date 2/24/2010
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documenta... |
Commutyble/thingmagic-client | c/src/api/tm_reader_async.c | <gh_stars>0
/**
* @file tm_reader_async.c
* @brief Mercury API - background reading implementation
* @author <NAME>
* @date 11/18/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentati... |
Commutyble/thingmagic-client | c/src/api/serial_transport_win32_nonOverlapped.c | /**
* @file serial_transport_win32.c
* @brief Mercury API - Serial transport over local serial port on Win32
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated d... |
Commutyble/thingmagic-client | c/src/samples/writetag.c | <reponame>Commutyble/thingmagic-client
/**
* Sample program that writes an EPC to a tag
* and also demonstrates read after write functionality.
* @file writetag.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <inttypes.h>
#ifndef WIN32
#include <string.h>... |
Commutyble/thingmagic-client | c/src/api/tmr_iso14443b.h | <filename>c/src/api/tmr_iso14443b.h
/* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_ISO14443B_H
#define _TMR_ISO14443B_H
/**
* @file tmr_iso14443b.h
* @brief Mercury API - ISO14443B tag information and interfaces
* @author <NAME>
* @date 3/30/2020
*/
/*
* Copyright (c) 2020 ThingMagic... |
Commutyble/thingmagic-client | c/src/samples/blockwrite.c | <gh_stars>0
/**
* Sample program that perform BlockWrite
* @file BlockWrite.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <inttypes.h>
#include <string.h>
#include "serial_reader_imp.h"
/* Enable this to use transportListener */
#ifndef USE_TRANSPORT_LIS... |
Commutyble/thingmagic-client | c/src/api/osdep_arduino.c | <gh_stars>0
/**
* @file osdep_arduino.c
* @brief Mercury API - Arduino platform implementation of OS dependencies
* @author <NAME>
* @date 11/16/2010
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... |
Commutyble/thingmagic-client | c/src/api/osdep_win32.c | <gh_stars>0
/**
* @file osdep_win32.c
* @brief Mercury API - Windows platform implementation of OS dependencies
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to... |
Commutyble/thingmagic-client | c/src/samples/authenticate.c | /**
* Sample program that to demonstrate the usage of Gen2v2 Authenticate.
* @file authenticate.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#if WIN32
#define snprintf sprintf_s
#endif
/* Enable this to use transportListener */
#if... |
Commutyble/thingmagic-client | c/src/api/tm_reader.c | /**
* @file tm_reader.c
* @brief Mercury API - top level implementation
* @author <NAME>
* @date 10/28/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "S... |
Commutyble/thingmagic-client | c/src/api/serial_transport_tcp_posix.c | <reponame>Commutyble/thingmagic-client
/**
* @file serial_transport_tcp_posix.c
* @brief Mercury API - TCP serial transport implementation for POSIX
* @author Lingaraj
* @date 04/16/2014
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a... |
Commutyble/thingmagic-client | c/src/api/tmr_tag_auth.h | <filename>c/src/api/tmr_tag_auth.h
/* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_TAG_AUTH_H
#define _TMR_TAG_AUTH_H
/**
* @file tmr_tag_auth.h
* @brief Mercury API - Tag Authentication Interface
* @author <NAME>
* @date 4/18/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permis... |
Commutyble/thingmagic-client | c/src/api/osdep.h | #ifndef _OSDEP_H
#define _OSDEP_H
/**
* @file osdep.h
* @brief Mercury API - OS dependencies
* @author <NAME>
* @date 2/24/2010
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation file... |
Commutyble/thingmagic-client | c/src/api/llrp_reader_l3.c | <gh_stars>0
/**
* @file llrp_reader_l3.c
* @brief Mercury API - LLRP reader low level implementation
* @author Somu
* @date 05/25/2011
*/
/*
* Copyright (c) 2011 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentatio... |
Commutyble/thingmagic-client | c/src/samples/readallmembanks-GEN2.c | <gh_stars>0
/**
* Sample program that reads all memory bank data of GEN2 tags
* and prints the data.
* @file readallmembank-GEN2.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#if WIN32
#define snprintf sprintf_s
#endif
/* Enable t... |
Commutyble/thingmagic-client | c/src/api/serial_transport_stm32F103RB.c | /**
* @file serial_transport_stm32F103RB.c
* @brief Mercury API - Serial transport functions for STM32F103RB board
* @author <NAME>
* @date 5/16/2016
*/
/*
* Copyright (c) 2016 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associa... |
Commutyble/thingmagic-client | c/src/api/tmr_utils.h | <reponame>Commutyble/thingmagic-client<filename>c/src/api/tmr_utils.h
#ifndef _TMR_UTILS_H
#define _TMR_UTILS_H
/**
* @file tmr_utils.h
* @brief Mercury API - generic utilities
* @author <NAME>
* @date 12/1/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, ... |
Commutyble/thingmagic-client | c/src/api/hex_bytes.c | <filename>c/src/api/hex_bytes.c
/**
* @file hex_bytes.c
* @brief Routines for converting between byte arrays and hex strings
* @author <NAME>
* @date 10/23/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software ... |
Commutyble/thingmagic-client | c/src/samples/filter.c | /**
* Sample program that demonstrates different types and uses of TagFilter objects.
* @file filter.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <tmr_utils.h>
#include <string.h>
#include <inttypes.h>
/* Enable this to use transportListener */
#ifndef USE_TRANSPO... |
Commutyble/thingmagic-client | c/src/api/tmr_llrp_reader.h | #ifndef _TMR_LLRP_READER_H
#define _TMR_LLRP_READER_H
/**
* @file tmr_llrp_reader.h
* @brief Mercury API - LLRP Reader interface
* @author Somu
* @date 05/23/2011
*/
/*
* Copyright (c) 2011 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software... |
Commutyble/thingmagic-client | c/src/api/serial_transport_arduino.c | <gh_stars>0
/**
* @file serial_transport_arduino.c
* @brief Mercury API - Sample serial transport that does nothing
* @author <NAME>
* @date 11/16/2010
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
Commutyble/thingmagic-client | c/src/api/tmr_tag_data.h | /* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_TAG_DATA_H
#define _TMR_TAG_DATA_H
/**
* @file tmr_tag_data.h
* @brief Mercury API - Tag and tag read data structures
* @author <NAME>
* @date 5/7/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free o... |
Commutyble/thingmagic-client | c/src/samples/thingmagic_read.c | <gh_stars>0
/**
* Sample program that reads tags for a fixed period of time (500ms)
* and prints the tags found.
* @file read.c
*/
#include <tm_reader.h>
#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifdef TMR_ENABLE_HF_L... |
Commutyble/thingmagic-client | c/src/api/serial_transport_win32.c | /**
* @file serial_transport_win32.c
* @brief Mercury API - Serial transport over local serial port on Win32
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2010 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated d... |
Commutyble/thingmagic-client | c/src/samples/passThrough.c | /**
* Sample program that demonstrate the passThrough functionality
* @file passThrough.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
/* Enable this to use transportListener */
#ifndef USE_TRANSPORT_LISTENER
#define USE_TRANSPORT_LISTENER 0
#endif
#define OP... |
Commutyble/thingmagic-client | c/src/samples/savedreadplanconfig.c | <gh_stars>0
/**
* Sample program that demonstrates SaveReadPlan config along with Autonomous read.
* @file Savedreadplanconfig.c
*/
#include <tm_reader.h>
#include <serial_reader_imp.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifdef TMR_ENABLE_H... |
Commutyble/thingmagic-client | c/src/api/tmr_tag_lock_action.h | /* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_TAG_LOCK_ACTION_H
#define _TMR_TAG_LOCK_ACTION_H
/**
* @file tmr_tag_lock_action.h
* @brief Mercury API - Tag Lock Action Interface
* @author <NAME>
* @date 4/18/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby gr... |
Commutyble/thingmagic-client | c/src/api/tmr_params.h | <reponame>Commutyble/thingmagic-client
/* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_PARAMS_H
#define _TMR_PARAMS_H
/**
* @file tmr_params.h
* @brief Mercury API - Reader parameter interface
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permissi... |
Commutyble/thingmagic-client | c/src/samples/rebootReader.c | <filename>c/src/samples/rebootReader.c
/**
* Sample program that power cycles the reader
* and connects back once the reader is power cycled successfully.
* @file rebootReader.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#ifndef WIN32
#include <unistd.h... |
Commutyble/thingmagic-client | c/src/samples/readasync.c | <reponame>Commutyble/thingmagic-client
/**
* Sample program that reads tags in the background
* @file readasync.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifndef WIN32
#include <unistd.h>
#endif
/* Enable this to ... |
Commutyble/thingmagic-client | c/src/samples/readstopTrigger.c | <filename>c/src/samples/readstopTrigger.c<gh_stars>0
/**
* Sample program that reads the number of tags requested
* and prints the tags. It is currently not supporting streaming.
* stop trigger.
* @file readstopTrigger.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.... |
Commutyble/thingmagic-client | c/src/api/tmr_utils.c | <filename>c/src/api/tmr_utils.c
/**
* @file tmr_utils.c
* @brief Mercury API - utility functions
* @author <NAME>
* @date 12/10/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation... |
Commutyble/thingmagic-client | c/src/samples/deviceDetection.c | /**
* Sample program that detects the serial devices connected
* and prints the information of the readers found.
* @file devicedetection.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifdef WIN32
#include <windows.h>
... |
Commutyble/thingmagic-client | c/projVS2019/MercuryAPICE/print-symbols/print-symbols.c | <gh_stars>0
printf("%s %s\n",
#ifdef __cplusplus
"D"
#else
"u"
#endif
, "__cplusplus"
);
printf("%s %s\n",
#ifdef _TM_READER_H
"D"
#else
"u"
#endif
, "_TM_READER_H"
);
printf("%s %s\n",
#ifdef DOXYGEN_IGNORE
... |
Commutyble/thingmagic-client | c/src/api/serial_reader_imp.h | <filename>c/src/api/serial_reader_imp.h
#ifndef _SERIAL_READER_IMP_H
#define _SERIAL_READER_IMP_H
/**
* @file serial_reader_imp.h
* @brief Serial reader internal implementation header
* @author <NAME>
* @date 10/28/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby gran... |
Commutyble/thingmagic-client | c/src/api/tmr_loadsave_configuration.c | <filename>c/src/api/tmr_loadsave_configuration.c<gh_stars>0
/**
* @file tmr_loadsave_configuration.c
* @brief Mercury API - load save configuration implementation
* @author <NAME>
* @date 11/3/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is hereby granted, free of charge, to any person o... |
Commutyble/thingmagic-client | c/src/samples/readasynctrack.c | <reponame>Commutyble/thingmagic-client
/**
* Sample program that reads tags in the background and track tags
* that have been seen;
* @file readasynctrack.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <inttypes.h>
#ifndef WIN32
#include <string.h>
#include <unistd.... |
Commutyble/thingmagic-client | c/src/arch/ARM/ixp42x/include/HostTypes.h | /** \file include/host_types.h
*
* Typedefs for types of definite bit length.
* Conditionalized for GNU and TMS320C55xx compilers
*
* \author <NAME> <<EMAIL>>
* \date 20031024
* Copyright (C) 2003 ThingMagic, LLC
*/
#ifndef __HOSTTYPES_H__
#define __HOSTTYPES_H__
/****************************************/
/* ... |
Commutyble/thingmagic-client | c/src/samples/readerstats.c | /**
* Sample programme that gets and prints the reader stats
* It shows both the sync and async way of getting the reader stats.
* @file readerstats.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifndef WIN32
#include <unistd.h>
#en... |
Commutyble/thingmagic-client | c/src/samples/readcustomtransport.c | /**
* Sample program that uses custom transport scheme.
* It shows the usage of tcp serial transport scheme.
* @file readcustomtransport.c
*/
#include <tm_reader.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <inttypes.h>
#ifndef WIN32
#include <unistd.h>
#e... |
Commutyble/thingmagic-client | c/src/api/tmr_serial_reader.h | <gh_stars>0
/* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
#ifndef _TMR_SERIAL_READER_H
#define _TMR_SERIAL_READER_H
/**
* @file tmr_serial_reader.h
* @brief Mercury API - Serial Reader interface
* @author <NAME>
* @date 10/20/2009
*/
/*
* Copyright (c) 2009 ThingMagic, Inc.
*
* Permission is here... |
AKQADC/Merlin | MerlinTests/StringTests.h | //
// StringTests.h
// Merlin
//
// Created by <NAME> on 3/14/11.
// Copyright 2011 AKQA, Inc. All rights reserved.
//
// See Also: http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html
#import <SenTestingKit/SenTes... |
AKQADC/Merlin | Merlin/MLDatabase.h | <filename>Merlin/MLDatabase.h
//
// MLDatabase.h
// Merlin
//
// Created by <NAME> on 3/11/11.
// Copyright 2011-2012 AKQA, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <sqlite3.h>
@interface MLDatabase : NSObject
@property (nonatomic, readonly) sqlite3 *database;
+ (MLDatabase *)data... |
AKQADC/Merlin | Merlin/MLColumn.h | //
// MLColumn.h
// Merlin
//
// Created by <NAME> on 3/10/11.
// Copyright 2011-2012 AKQA, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum {
kSQLiteColumnTypeInteger = 1,
kSQLiteColumnTypeFloat,
kSQLiteColumnTypeText,
kSQLiteColumnTypeBlob,
kSQLiteColumnTypeNull
} ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.