Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_TestCentral.h
Go to the documentation of this file.
1/*
2 * Author: Crownstone Team
3 * Copyright: Crownstone (https://crownstone.rocks)
4 * Date: Apr 14, 2021
5 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)
6 */
7
8#pragma once
9
11
19public:
21 void init();
22
23 void connect();
24 void discover();
26 void read();
27 void write();
28 void disconnect();
29
30 void handleEvent(event_t& event);
31
32private:
35};
Event listener.
Definition: cs_EventListener.h:17
Class to test the BleCentral class.
Definition: cs_TestCentral.h:18
void handleEvent(event_t &event)
Handle events.
void onDiscovery(ble_central_discovery_t &packet)
void write()
void disconnect()
uint16_t _controlHandle
Definition: cs_TestCentral.h:34
void discover()
uint16_t _fwVersionHandle
Definition: cs_TestCentral.h:33
void connect()
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Oct 9,...
Definition: cs_Event.h:26
Describes a service or characteristic that has been discovered.
Definition: cs_BleCentralPackets.h:41