Initial content

FredericLeroy
2017-01-25 13:30:51 +01:00
parent d36de9df63
commit 75332cb9d3

@@ -165,12 +165,13 @@ NAS_UE_AUTOSTART to 0 in nas_ue_task.c
So for example you can detach the first UE with these command:
# first enter pin code on the modem
echo -en "AT+CPIN=0000\r" | nc -u -w 1 127.0.0.1 10000
echo -en "AT+CPIN=0000\r" | nc -u -w 1 localhost 10000
# second send the detach command
echo -en "AT+CGATT=0\r" | nc -u -w 1 127.0.0.1 10000
echo -en "AT+CGATT=0\r" | nc -u -w 1 localhost 10000
Then if you wan't to attach again the ue:
echo -en "AT+CGATT=1\r" | nc -u -w 1 127.0.0.1 10000
echo -en "AT+CGATT=1\r" | nc -u -w 1 localhost 10000
Note: you need a shell that supports the -en option of echo like bash
Note2: you need to use localhost instead 127.0.0.1 due to a weird bug