send(Message.obtain(null,DexcomG4Activity.DexcomG4ActivityHandler.MSG_ERROR,"Could not communicate with the 640g. Are you near the pump?"));
if(radioChannel==0){
Log.e(TAG,"Could not communicate with the 640g. Are you near the pump?");
send(Message.obtain(null,DexcomG4Activity.DexcomG4ActivityHandler.MSG_ERROR,"Could not communicate with the 640g. Are you near the pump?"));
}else{
Log.i(TAG,"Could not communicate with the 640g. Are you near the pump?");
send(Message.obtain(null,DexcomG4Activity.DexcomG4ActivityHandler.MSG_STATUS,String.format("Connected to Contour Next Link on channel %d.",(int)radioChannel)));
}else{
Log.d(TAG,String.format("Connected to Contour Next Link on channel %d.",(int)radioChannel));
send(Message.obtain(null,DexcomG4Activity.DexcomG4ActivityHandler.MSG_STATUS,String.format("Connected to Contour Next Link on channel %d.",(int)radioChannel)));
cnlReader.beginEHSMSession();
Log.d(TAG,String.format("Connected to Contour Next Link on channel %d.",(int)radioChannel));