File tree Expand file tree Collapse file tree
ShimmerDriver/src/main/java/com/shimmerresearch/driver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,8 +207,36 @@ public abstract class ShimmerDevice extends BasicProcessWithCallBack implements
207207 public transient CommsProtocolRadio mCommsProtocolRadio = null ;
208208 public BT_STATE mBluetoothRadioState = BT_STATE .DISCONNECTED ;
209209 public DOCK_STATE mDockState = DOCK_STATE .UNDOCKED ;
210-
210+ public BTRADIO_STATE mRadioState = BTRADIO_STATE . UNKNOWN ;
211211 private boolean mUpdateOnlyWhenStateChanges =false ;
212+ public static int EXP_BOARD_MEMORY_LOCATION_FOR_BTRADIO_STATE = 2018 ;
213+ public enum BTRADIO_STATE {
214+
215+ BT_CLASSIC_BLE_ENABLED ("BT Classic and BLE Enabled" ),
216+ BT_CLASSIC_ENABLED ("BT Classic Enabled" ),
217+ BLE_ENABLED ("BLE Enabled" ),
218+ NONE_ENABLED ("None Enabled" ),
219+ UNKNOWN ("Unknown" );
220+ // RECORDING("Recording");
221+
222+ private final String text ;
223+
224+ /**
225+ * @param text
226+ */
227+ private BTRADIO_STATE (final String text ) {
228+ this .text = text ;
229+ }
230+
231+ /* (non-Javadoc)
232+ * @see java.lang.Enum#toString()
233+ */
234+ @ Override
235+ public String toString () {
236+ return text ;
237+ }
238+
239+ }
212240
213241 //TODO:
214242 public enum DOCK_STATE {
You can’t perform that action at this time.
0 commit comments