Hi Kristen,
+#define SIM_STATUS_READY 1
+#define SIM_STATUS_WAITING_FOR_PIN (1 << 1)
+
as a general rule, I prefer if you also do (1 << 0) instead of 1. Sounds
maybe a bit silly a first, but it make it easier to read and more
consistent. And we let the compiler do the actual optimization ;)
Regards
Marcel