12 maart 2019 was het weer mogelijk deel te nemen aan een Installfest van T-Mobile. Ik werd hartelijk welkom geheten door Afzal Mangal.
De nadruk lag nu op verbindingen te leggen met het LTE-M netwerk van T-Mobile waarvan de planning is dat deze zomer uit te rollen als dienst.
Met de eerdere test ervaring met LTE-M bij KPN en overleg met Eric Barten, die hier al eerder mee had gestoeid, ging het werken met de T-Mobile LTE-M connectie lekker snel.
Ik gebruik een Sodaq Sara 410M die zowel voor NB-IoT als voor LTE-M ingezet kan worden. Deze is bijgewerkt tot de laatste firmware. Bij eerdere firmware zijn er minder commando’s tot je beschikking. Ook zijn er verschillen waar je quotes moet gebruiken bij je commando’s.

De data laat ik direct via UDP binnenkomen op onze IoT-server, waar node-red de data toonde.
Mission LTE-M connectivity accomplished.

Hierbij de gebruikte commando’s op de pass-through Arduino sketch:
AT+CFUN=15
Set Module Functionality
15:MT silent reset(with detach from network and saving of NVM parameters), without reset of the SIM card
AT+URAT=7
Select Radio Access technology
7: LTE CAT-M1
AT+CEREG=3
EPS network registration status +CEREG
3:network registration, location information and EMM cause value information URC +CEREG:
<stat>[,[<tac>],[<ci>],[<AcT>][,<cause_type>,<reject_cause>]] enabled
AT+CMEE=2
Report mobile termination error +CMEE
2: +CME ERROR: <err> result code enabled and verbose <err> values used
AT+CGDCONT=1,”IP”,”smartsites.t-mobile”
PDP context definition +CGDCONT
AT+COPS=1,2,”20416″
Operator selection +COPS
Mode 1 is manual mode
Format 2 is numeric
Operator Code is 20416 voor T-Mobile
AT+CSQ
(Wait for CSQ; 99,99 means no signal)
+CSQ: 14,99
Signal quality +CSQ
+CSQ: <rssi>,<qual>
Dus de relative signal strength is 14 (highest 31),
Quality is 99 not known or not detectable
AT+CGATT?
(Wait for attach, 1 = attached)
+CGATT: 1
kortom attached
AT+USOCR=17
Create Socket +USOCR=protocol[,local port]
Protocol 17 = udp, 6 is tcp
+USOCR: 0
Verkregen Socket is 0
AT+USOST=0,”YourIPAddress”,55555, 22,”T-Mobile 20190312 Yes!”
+USOST: 0,22