BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
connection_events.hpp
1#ifndef BLUETOE_LINK_LAYER_CONNECTION_EVENT_HPP
2#define BLUETOE_LINK_LAYER_CONNECTION_EVENT_HPP
3
4namespace bluetoe {
5namespace link_layer {
6
14 {
20
26
31
36
41
46
51 : unacknowledged_data( false )
55 , pending_outgoing_data( false )
56 , error_occured( false )
57 {
58 }
59
64 bool unacknowledged_data_present,
65 bool last_received_not_empty_present,
66 bool last_transmitted_not_empty_happend,
67 bool last_received_had_more_data_present,
68 bool pending_outgoing_data_present,
69 bool error_present )
70 : unacknowledged_data( unacknowledged_data_present )
71 , last_received_not_empty( last_received_not_empty_present )
72 , last_transmitted_not_empty( last_transmitted_not_empty_happend )
73 , last_received_had_more_data( last_received_had_more_data_present )
74 , pending_outgoing_data( pending_outgoing_data_present )
75 , error_occured( error_present )
76 {
77 }
78 };
79
80}
81}
82
83#endif