Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_CrownstoneCentralPackets.h
Go to the documentation of this file.
1/*
2 * Author: Crownstone Team
3 * Copyright: Crownstone (https://crownstone.rocks)
4 * Date: Apr 20, 2021
5 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)
6 */
7
8#pragma once
9
12
13#include <cstdint>
14
15// Commands
16
18 stone_id_t stoneId = 0; // If you set stoneId, that will be used instead of address.
20 uint16_t timeoutMs = 3000;
21};
22
26};
27
28// Events
29
41};
Definition: cs_ResultPacketAccessor.h:25
uint16_t cs_control_cmd_t
Definition: cs_Typedefs.h:22
uint8_t stone_id_t
Definition: cs_Typedefs.h:23
uint16_t cs_ret_code_t
Definition: cs_Typedefs.h:21
Definition: cs_CrownstoneCentralPackets.h:17
device_address_t address
Definition: cs_CrownstoneCentralPackets.h:19
stone_id_t stoneId
Definition: cs_CrownstoneCentralPackets.h:18
uint16_t timeoutMs
Definition: cs_CrownstoneCentralPackets.h:20
Result of writing a control command.
Definition: cs_CrownstoneCentralPackets.h:38
ResultPacketAccessor result
Definition: cs_CrownstoneCentralPackets.h:40
cs_ret_code_t writeRetCode
Definition: cs_CrownstoneCentralPackets.h:39
Definition: cs_CrownstoneCentralPackets.h:23
cs_control_cmd_t commandType
Definition: cs_CrownstoneCentralPackets.h:24
cs_data_t data
Definition: cs_CrownstoneCentralPackets.h:25
Packets (structs) that are used internally in the firmware, and can be changed freely.
Definition: cs_PacketsInternal.h:27
Definition: cs_PacketsInternal.h:97