Re-added sim status to XBee, though unsupported
This commit is contained in:
		@@ -344,7 +344,9 @@ public:
 | 
				
			|||||||
   * SIM card functions
 | 
					   * SIM card functions
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bool simUnlock(const char *pin) TINY_GSM_ATTR_NOT_AVAILABLE; // Not supported
 | 
					  bool simUnlock(const char *pin) {  // Not supported
 | 
				
			||||||
 | 
					    return false;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  String getSimCCID() {
 | 
					  String getSimCCID() {
 | 
				
			||||||
    if (!commandMode()) return "";  // Return immediately
 | 
					    if (!commandMode()) return "";  // Return immediately
 | 
				
			||||||
@@ -362,7 +364,9 @@ public:
 | 
				
			|||||||
    return res;
 | 
					    return res;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  SimStatus getSimStatus(unsigned long timeout) TINY_GSM_ATTR_NOT_AVAILABLE; // Not supported
 | 
					  SimStatus getSimStatus(unsigned long timeout = 10000L) {
 | 
				
			||||||
 | 
					    return SIM_READY;  // unsupported
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  RegStatus getRegistrationStatus() {
 | 
					  RegStatus getRegistrationStatus() {
 | 
				
			||||||
    if (!commandMode()) return REG_UNREGISTERED;  // Return immediately
 | 
					    if (!commandMode()) return REG_UNREGISTERED;  // Return immediately
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user