@@ -224,11 +224,11 @@ bool commandAT(const char * commandString)
224224 systemPrintln (" ATI8 - Display system unique ID" );
225225 systemPrintln (" ATI9 - Display the maximum datagram size" );
226226 systemPrintln (" ATI10 - Display radio metrics" );
227- systemPrintln ( " ATI11 - Return myVc value " );
228- systemPrintln ( " ATI12 - Display the VC details " );
229- systemPrintln (" ATI13 - Display the SX1276 registers " );
230- systemPrintln (" ATI14 - Dump the radioTxBuffer " );
231- systemPrintln (" ATI15 - Dump the NVM unique ID table" );
227+
228+ // Virtual circuit information commands
229+ systemPrintln (" ATI30 - Return myVc value " );
230+ systemPrintln (" ATI31 - Display the VC details " );
231+ systemPrintln (" ATI32 - Dump the NVM unique ID table" );
232232 return true ;
233233
234234 case (' 0' ): // ATI0 - Show user settable parameters
@@ -601,14 +601,22 @@ bool commandAT(const char * commandString)
601601 systemPrintln (" State History" );
602602 displayRadioStateHistory ();
603603 return true ;
604+ }
605+ }
606+ if ((commandString[2 ] == ' I' ) && (commandString[3 ] == ' 3' ) && (commandLength == 5 ))
607+ {
608+ switch (commandString[4 ])
609+ {
610+ default :
611+ return false ;
604612
605- case (' 1 ' ): // ATI11 - Return myVc value
613+ case (' 0 ' ): // ATI30 - Return myVc value
606614 systemPrintln ();
607615 systemPrint (" myVc: " );
608616 systemPrintln (myVc);
609617 return true ;
610618
611- case (' 2 ' ): // ATI12 - Display the VC details
619+ case (' 1 ' ): // ATI31 - Display the VC details
612620 systemPrintTimestamp ();
613621 systemPrint (" VC " );
614622 systemPrint (cmdVc);
@@ -706,16 +714,7 @@ bool commandAT(const char * commandString)
706714 }
707715 return true ;
708716
709- case (' 3' ): // ATI13 - Display the SX1276 registers
710- printSX1276Registers ();
711- return true ;
712-
713- case (' 4' ): // ATI14 - Dump the radioTxBuffer
714- systemPrintln (" radioTxBuffer:" );
715- dumpCircularBuffer (radioTxBuffer, radioTxTail, sizeof (radioTxBuffer), availableRadioTXBytes ());
716- return true ;
717-
718- case (' 5' ): // ATI15 - Dump the NVM unique ID table
717+ case (' 2' ): // ATI32 - Dump the NVM unique ID table
719718 systemPrintln (" NVM Unique ID Table" );
720719 for (vcIndex = 0 ; vcIndex < MAX_VC; vcIndex++)
721720 {
@@ -757,6 +756,10 @@ bool commandAT(const char * commandString)
757756 systemPrintln (text);
758757 }
759758 return true ;
759+
760+ case (' 1' ): // ATI51 - Display the SX1276 registers
761+ printSX1276Registers ();
762+ return true ;
760763 }
761764 }
762765
0 commit comments