• Sign in

李攀 / fangTang · Files

Favicon

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • fangTang
  • ..
  • light
  • ConnectionStatus.java
  • lights lib and basic control
      12ab67e2
    Penley authored
    2017-02-14 14:49:15 +0800  
    Browse Files »
ConnectionStatus.java 375 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/*
 * Copyright (C) 2015 The Telink Bluetooth Light Project
 *
 */
package com.telink.bluetooth.light;

/**
 * 连接状态
 */
public enum ConnectionStatus {
    OFF(0), ON(1), OFFLINE(2);

    private final int value;

    ConnectionStatus(int value) {
        this.value = value;
    }

    public int getValue() {
        return this.value;
    }
}