Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_Typedefs.h File Reference
#include <stdint.h>
Include dependency graph for cs_Typedefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cs_uuid128_t
 

Macros

#define TRACKED_DEVICE_TOKEN_SIZE   3
 

Typedefs

typedef uint8_t * buffer_ptr_t
 Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: 10 May., 2019 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) More...
 
typedef uint16_t cs_buffer_size_t
 
typedef uint16_t cs_ret_code_t
 
typedef uint16_t cs_control_cmd_t
 
typedef uint8_t stone_id_t
 
typedef uint16_t device_id_t
 
typedef uint16_t size16_t
 
typedef uint8_t BOOL
 Boolean with fixed size. More...
 
typedef uint8_t cs_state_id_t
 
typedef uint8_t adc_buffer_id_t
 
typedef uint8_t adc_channel_id_t
 
typedef uint8_t adc_pin_id_t
 
typedef uint16_t adc_sample_value_id_t
 
typedef int16_t adc_sample_value_t
 
typedef uint8_t adc_buffer_seq_nr_t
 

Variables

static const uint8_t MAC_ADDRESS_LEN = 6
 Length of a MAC address. More...
 

Macro Definition Documentation

◆ TRACKED_DEVICE_TOKEN_SIZE

#define TRACKED_DEVICE_TOKEN_SIZE   3

Typedef Documentation

◆ adc_buffer_id_t

typedef uint8_t adc_buffer_id_t

◆ adc_buffer_seq_nr_t

typedef uint8_t adc_buffer_seq_nr_t

◆ adc_channel_id_t

typedef uint8_t adc_channel_id_t

◆ adc_pin_id_t

typedef uint8_t adc_pin_id_t

◆ adc_sample_value_id_t

typedef uint16_t adc_sample_value_id_t

◆ adc_sample_value_t

typedef int16_t adc_sample_value_t

◆ BOOL

typedef uint8_t BOOL

Boolean with fixed size.

◆ buffer_ptr_t

typedef uint8_t* buffer_ptr_t

Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: 10 May., 2019 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)

Simple typedefs with few dependencies, that we can use in both C and C++ code.

◆ cs_buffer_size_t

typedef uint16_t cs_buffer_size_t

◆ cs_control_cmd_t

typedef uint16_t cs_control_cmd_t

◆ cs_ret_code_t

typedef uint16_t cs_ret_code_t

◆ cs_state_id_t

typedef uint8_t cs_state_id_t

◆ device_id_t

typedef uint16_t device_id_t

◆ size16_t

typedef uint16_t size16_t

◆ stone_id_t

typedef uint8_t stone_id_t

Variable Documentation

◆ MAC_ADDRESS_LEN

const uint8_t MAC_ADDRESS_LEN = 6
static

Length of a MAC address.