File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,17 @@ class Gap
40
40
ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE
41
41
} addr_type_t ;
42
42
43
+ /* *
44
+ * enumeration for disconnection reasons. The values for these reasons are
45
+ * derived from Nordic's implementation; but the reasons are meant to be
46
+ * independent of the transport. If you are returned a reason which is not
47
+ * covered by this enumeration, then please refer to the underlying
48
+ * transport library.
49
+ */
43
50
enum DisconnectionReason_t {
44
- REMOTE_USER_TERMINATED_CONNECTION,
45
- CONN_INTERVAL_UNACCEPTABLE ,
46
- LOCAL_HOST_TERMINATED_CONNECTION ,
51
+ REMOTE_USER_TERMINATED_CONNECTION = 0x13 ,
52
+ LOCAL_HOST_TERMINATED_CONNECTION = 0x16 ,
53
+ CONN_INTERVAL_UNACCEPTABLE = 0x3B ,
47
54
};
48
55
49
56
/* Describes the current state of the device (more than one bit can be set) */
You can’t perform that action at this time.
0 commit comments