High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 523:950ccac4d7f8, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:06 2015 +0100
- Parent:
- 522:6bc4662d4e30
- Child:
- 524:6e97ab392e2a
- Commit message:
- Synchronized with git rev bfc54803
Author: Rohit Grover
fixes #43. Added a few items to DisconnectionReason_t
Changed in this revision
public/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/Gap.h Fri Jun 19 15:52:06 2015 +0100 +++ b/public/Gap.h Fri Jun 19 15:52:06 2015 +0100 @@ -56,9 +56,12 @@ * transport library. */ enum DisconnectionReason_t { - REMOTE_USER_TERMINATED_CONNECTION = 0x13, - LOCAL_HOST_TERMINATED_CONNECTION = 0x16, - CONN_INTERVAL_UNACCEPTABLE = 0x3B, + CONNECTION_TIMEOUT = 0x08, + REMOTE_USER_TERMINATED_CONNECTION = 0x13, + REMOTE_DEV_TERMINATION_DUE_TO_LOW_RESOURCES = 0x14, /**< Remote Device Terminated Connection due to low resources.*/ + REMOTE_DEV_TERMINATION_DUE_TO_POWER_OFF = 0x15, /**< Remote Device Terminated Connection due to power off. */ + LOCAL_HOST_TERMINATED_CONNECTION = 0x16, + CONN_INTERVAL_UNACCEPTABLE = 0x3B, }; /* Describes the current state of the device (more than one bit can be set) */