15 struct __attribute__((packed)) {
25 struct __attribute__((packed)) {
81 struct __attribute__((packed)) {
#define CS_ADC_NUM_SAMPLES_PER_CHANNEL
Definition: cs_Config.h:148
#define SESSION_NONCE_LENGTH
Definition: cs_Packets.h:25
#define SERVICE_DATA_HUB_DATA_SIZE
Definition: cs_ServiceDataPackets.h:29
uint8_t stone_id_t
Definition: cs_Typedefs.h:23
uint16_t cs_ret_code_t
Definition: cs_Typedefs.h:21
uint8_t adc_channel_id_t
Definition: cs_Typedefs.h:31
ElementType
Definition: cs_UartMsgTypes.h:98
@ ELEMENT_TYPE_UNSIGNED_INTEGER
Definition: cs_UartMsgTypes.h:100
@ ELEMENT_TYPE_FLOAT
Definition: cs_UartMsgTypes.h:101
@ ELEMENT_TYPE_SIGNED_INTEGER
Definition: cs_UartMsgTypes.h:99
@ ELEMENT_TYPE_FROM_FORMAT
Definition: cs_UartMsgTypes.h:102
UartHubDataType
Definition: cs_UartMsgTypes.h:34
@ UART_HUB_DATA_TYPE_NONE
Definition: cs_UartMsgTypes.h:35
@ UART_HUB_DATA_TYPE_CROWNSTONE_HUB
Definition: cs_UartMsgTypes.h:36
Struct to configure an ADC channel.
Definition: cs_PacketsInternal.h:293
Definition: cs_UartMsgTypes.h:135
adc_channel_config_t config
Definition: cs_UartMsgTypes.h:137
adc_channel_id_t channel
Definition: cs_UartMsgTypes.h:136
Definition: cs_UartMsgTypes.h:125
uint32_t timestamp
Definition: cs_UartMsgTypes.h:126
Definition: cs_UartMsgTypes.h:54
uint16_t timeoutSeconds
Definition: cs_UartMsgTypes.h:55
Definition: cs_UartMsgTypes.h:49
uint8_t sphereId
Definition: cs_UartMsgTypes.h:50
uart_msg_status_reply_t status
Definition: cs_UartMsgTypes.h:51
Definition: cs_UartMsgTypes.h:112
int32_t filteredCurrentRmsMA
Definition: cs_UartMsgTypes.h:116
int32_t avgZeroVoltage
Definition: cs_UartMsgTypes.h:118
int32_t filteredCurrentRmsMedianMA
Definition: cs_UartMsgTypes.h:117
int32_t avgZeroCurrent
Definition: cs_UartMsgTypes.h:119
int32_t powerMilliWattReal
Definition: cs_UartMsgTypes.h:121
int32_t avgPowerMilliWattReal
Definition: cs_UartMsgTypes.h:122
int32_t currentRmsMA
Definition: cs_UartMsgTypes.h:114
int32_t currentRmsMedianMA
Definition: cs_UartMsgTypes.h:115
int32_t powerMilliWattApparent
Definition: cs_UartMsgTypes.h:120
uint32_t timestamp
Definition: cs_UartMsgTypes.h:113
Definition: cs_UartMsgTypes.h:63
Definition: cs_UartMsgTypes.h:58
uint8_t timeoutMinutes
Definition: cs_UartMsgTypes.h:59
Definition: cs_UartMsgTypes.h:45
uart_msg_status_reply_flags_t flags
Definition: cs_UartMsgTypes.h:46
Definition: cs_UartMsgTypes.h:39
uint8_t type
Definition: cs_UartMsgTypes.h:40
uart_msg_status_user_flags_t flags
Definition: cs_UartMsgTypes.h:41
Definition: cs_UartMsgTypes.h:130
uint32_t timestamp
Definition: cs_UartMsgTypes.h:131
Definition: cs_UartMsgTypes.h:24
bool hasBeenSetUp
Definition: cs_UartMsgTypes.h:27
bool hubMode
Definition: cs_UartMsgTypes.h:28
bool hasError
Definition: cs_UartMsgTypes.h:29
uint8_t asInt
Definition: cs_UartMsgTypes.h:31
bool encryptionRequired
Definition: cs_UartMsgTypes.h:26
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Jan 17,...
Definition: cs_UartMsgTypes.h:14
bool hasInternet
Definition: cs_UartMsgTypes.h:18
bool encryptionRequired
Definition: cs_UartMsgTypes.h:16
uint8_t asInt
Definition: cs_UartMsgTypes.h:21
bool hasBeenSetUp
Definition: cs_UartMsgTypes.h:17
bool hasError
Definition: cs_UartMsgTypes.h:19