Back to project page BLEMeshChat.
The source code is released under:
GNU General Public License
If you think the Android project BLEMeshChat listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package pro.dbro.ble.transport.ble; /* www . j a v a 2 s . c o m*/ import android.bluetooth.BluetoothGatt; import pro.dbro.ble.data.model.Peer; /** * Describes a connection to a peripheral device * * Created by davidbrodsky on 10/18/14. */ public class BLECentralConnection { /** The sequence of actions that a central must initiate * for a full pairing */ public enum CentralConnectionState { READ_ID, READ_MESSAGES, WRITE_MESSAGES } public BluetoothGatt gattServer; public CentralConnectionState connectionState; public Peer peer; }