I am trying to connect my particle to a third party APN (AT&T) with an AT&T sim that works. I have it installed properly and can run diagnostics on it from the AT&T side so no issues with any of that. When I run the simple
#include "cellular_hal.h"
STARTUP(cellular_credentials_set("m2m.com.attz", "", "", NULL));
and flash it in DFU mode, that works great and I can run AT&T diagnostics to the device and then run my usercode and it works. However once I power it off, it will no longer connect until I flash DFU mode again. I am sure I am missing somthing.