Product Info

NTXEmbeddedWM18xAPI
4
NTX_SEND_CNTThismessagepromptsthedevicetosendthecountersusingNTX_LC_SVC_CNT.This
isinitiatedfromtheNetworkcloudportalbyauser.Thismessageissentonlyonce.Ifitismissedor
disregarded,theuserwillhavetomaketherequestagainbeforeNTX_SEND_CNTisresentto
the
device.
NTX_SEND_FCNT‐ThismessagepromptsthedevicetosendthefaultcountsusingNTX_LC_FSTAT .This
isinitiatedfromtheNetworkcloudportalbyauser.Thismessageissentonlyonce.Ifitismissedor
disregarded,theuserwillhavetomaketherequestagainbeforeNTX_SEND_FCNTis
resenttothe
device.
NTX_FILEindicatesthatafileiswaitingtobesentfromthemoduletothedevice.Thismessageis
repeatedeveryfewsecondsuntilitishandled.SeeNTX_FILE,1below.
StoringDataWhenOffline
Sometimesinthefield,routersgodown,theinternetserviceisinterruptedorotherfactorscausea
disruptionintheabilityofadevicetosenddatatothecloudservices.Yourdataisveryimportant.Both
theWM18xmoduleandtheNetworkcloudhavemechanismsfordetectingadisconnection,attempting
toautomaticallyreconnectandinformingtheuserthatadisconnectionhashappened.
Itisimportantthatyoutakeadvantageofthesemethodstominimizedowntime.Howeverthereare
circumstanceswheresometimewillelapsebeforetheconnectivityissueisresolved.Inthesecases,if
datacontinuityisimportant
you,itisrecommendedthat,ifyourdeviceiscapable,youbuildinthe
optiontostoredataonyourdeviceifthemoduleisoffline.Afterthemodulecomesbackonline,youcan
sendhistoricaldatawithadateandtimestampwhentheactionactuallyhappenedthroughthemodule
sothatthedataisshownintheproperorderinthecloudportal.SeeNTX_LC_ACTIVITYformoredetails.
GENERALAPICALLS
GeneralAPICallSummary:
NTX_APsettheaccesspointnameandpassword
NTX_CONFIGshowthecurrentconfiguration
NTX_DISABLETurnWiFiOff
NTX_ENABLETurnWiFiOn
NTX_FORCE_RESETforcethemoduletoreset
NTX_GET_TIMEgetthe time
NTX_GET_TIMEgetthe date
NTX_LISTAPreturnalistofaccesspoints
NTX_ONLINEchecktheonlinestatus
NTX_RSSIgettheWiFisignalstrength
NTX_SET_DEVICESERIALsetthedeviceserialnumber
NTX_WIFI_VERSIONgettheWiFiversion