예제 #1
0
 protected void printStatus() {
   StringBuffer buf = new StringBuffer(100);
   buf.append("CC1000[LOCK]: lock select: ");
   buf.append(LOCK_SELECT[lockSelect]);
   buf.append(", set thr: ");
   buf.append(setsLockThreshold);
   buf.append(", reset thr: ");
   buf.append(resetLockThreshold);
   buf.append(", inst: ");
   buf.append(StringUtil.toBit(lockInstant));
   buf.append(", contin: ");
   buf.append(StringUtil.toBit(lockContinuous));
   radioPrinter.println(buf.toString());
 }
예제 #2
0
 protected void printStatus() {
   StringBuffer buf = new StringBuffer(100);
   buf.append("CC1000[CAL]: cal start: ");
   buf.append(StringUtil.toBit(calStart));
   buf.append(", dual: ");
   buf.append(StringUtil.toBit(calDual));
   buf.append(", wait: ");
   buf.append(StringUtil.toBit(calWait));
   buf.append(", current: ");
   buf.append(StringUtil.toBit(calCurrent));
   buf.append(", complete: ");
   buf.append(StringUtil.toBit(calComplete));
   buf.append(", iterate: ");
   buf.append(calIterate);
   radioPrinter.println(buf.toString());
 }
예제 #3
0
    protected void printStatus() {
      String rxtxS = rxtx ? "TX" : "RX";
      String fRegS = fReg ? "B" : "A";
      StringBuffer buf = new StringBuffer(100);

      buf.append("CC1000[MAIN]: ");
      buf.append(rxtxS);
      buf.append(", freg: ");
      buf.append(fRegS);
      buf.append(", rx pd: ");
      buf.append(StringUtil.toBit(rxPd));
      buf.append(", tx pd: ");
      buf.append(StringUtil.toBit(txPd));
      buf.append(", fs pd: ");
      buf.append(StringUtil.toBit(fsPd));
      buf.append(", core pd: ");
      buf.append(StringUtil.toBit(corePd));
      buf.append(", bias pd: ");
      buf.append(StringUtil.toBit(biasPd));
      buf.append(", reset: ");
      buf.append(StringUtil.toBit(resetN));
      radioPrinter.println(buf.toString());
    }