Product Info
NTXEmbeddedWM18xAPI
4
NTX_SEND_CNT–ThismessagepromptsthedevicetosendthecountersusingNTX_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_FILE–indicatesthatafileiswaitingtobesentfromthemoduletothedevice.Thismessageis
repeatedeveryfewsecondsuntilitishandled.SeeNTX_FILE,1below.
StoringDataWhenOffline
Sometimesinthefield,routersgodown,theinternetserviceisinterruptedorotherfactorscausea
disruptionintheabilityofadevicetosenddatatothecloudservices.Yourdataisveryimportant.Both
theWM18xmoduleandtheNetworkcloudhavemechanismsfordetectingadisconnection,attempting
toautomaticallyre‐connectandinformingtheuserthatadisconnectionhashappened.
Itisimportantthatyoutakeadvantageofthesemethodstominimizedowntime.Howeverthereare
circumstanceswheresometimewillelapsebeforetheconnectivityissueisresolved.Inthesecases,if
datacontinuityisimportant
you,itisrecommendedthat,ifyourdeviceiscapable,youbuildinthe
optiontostoredataonyourdeviceifthemoduleisoffline.Afterthemodulecomesbackonline,youcan
sendhistoricaldatawithadateandtimestampwhentheactionactuallyhappenedthroughthemodule
sothatthedataisshownintheproperorderinthecloudportal.SeeNTX_LC_ACTIVITYformoredetails.
GENERALAPICALLS
GeneralAPICallSummary:
NTX_AP–settheaccesspointnameandpassword
NTX_CONFIG–showthecurrentconfiguration
NTX_DISABLE–TurnWi‐FiOff
NTX_ENABLE–TurnWi‐FiOn
NTX_FORCE_RESET–forcethemoduletoreset
NTX_GET_TIME–getthe time
NTX_GET_TIME–getthe date
NTX_LISTAP–returnalistofaccesspoints
NTX_ONLINE–checktheonlinestatus
NTX_RSSI–gettheWi‐Fisignalstrength
NTX_SET_DEVICESERIAL–setthedeviceserialnumber
NTX_WIFI_VERSION–gettheWi‐Fiversion