Product Info
NTXEmbeddedWM18xAPI
1
ThankyouforpurchasinganNTXEmbeddedWi‐FimoduleforCustomerConnectNetworkCloud.This
APIguidewillhelpyouunderstandhow ourmoduleworksandwhatyoucandowithit.
AbouttheWM18x
ThereareseveralmodelsoftheWM18xfromNTXEmbedded.APIcallsbelowworkonallWM18x
modelsunlessotherwisenoted.
ThefirmwareonyourWM18xis custommadeforyou.ThisdocumentisthegeneralAPIdocumentation
fortheWM18x.Yourfirmwaremayhavespecialrestrictionsoradditionalcalls.These
differenceswillbe
providedtoyoubyNTXEmbeddedasaseparatedocument.
TheWM18Xhasitsownprocessorandisprogrammedforyourapplication.Itisdesignedtodoasmuch
oftheworkofcommunicatingtotheInternetorcloudservicesanddoingWi‐Fistuffasit
cansoyour
processorcandomoreimportantthings.ItisnotageneralpurposeWi‐Fimodule.AssuchtheAPI
allowsonlythemostbasicfeaturesneededtoestablishaconnection toanaccesspointandtosendand
receivethedata.Everythingelseishandledforyouby
theNTXEmbeddedWM18xmodule.Thisisdone
bothforsecurityreasonsandtominimizetheworkyoursystemhasto do.
CustomerConnectNetworkCloud
ThisversionoftheAPIisdesignedtoconnecttotheCustomerConnectNetworkcloudservicesasan
MQTTclient.ItimplementssomeoftheAPIasdescribedintheHounödocuments:
MQTTMessages(OvenEvents.docx),VersionP16A,Dated06‐26‐2018
OvenActivation,Version1.04,Dated02‐07‐2018
FirmwareUpdateandWIFIParameters,Version1.03,Dated06‐26‐2018
TheHounöhostedCustomerConnectNetworkcloudservicesallowyourdevicetosecurelyconnectto
anMQTTbrokerandsendperiodicandlivedatafromyourdevicetothecloudforstorageand/ordisplay.
ItalsohasamechanismtoinformthedevicethroughtheWM18xWi‐Fimodulethatfilesareavailablefor
downloadandtheWM18xcanretrievethosefilesandgivethemtothedevice.Allofthehardworkof
connectingandmaintainingtheconnectiontotheMQTTbrokeraswellaspacketizingthedataproperly
is
donebytheWM18xmodule.TheAPIcallsbelowinthe
NetworkAPIsectionofthisdocumentare
usedtosendandretrievedatafromthesecloudservices.
ConnectionMethods
TheWM18xcomesinseveralcommunicationconfigurationsincludingRS232,RS485,RS422.
ItisalsocapableofcommunicatingatvariousBaudrates.Inordertopreventaccidentalchangestothe
serialsettings,noAPIexistsatthistimetomodifytheserialsettingsonthefly.Yourcustomfirmware
fortheWM18xwillhavetheserialsettingsyouspecifythatwillcommunicateto
yourdevice.
Thedefaultserialsettingsare:
Baud:115200;DataBits:8;Parity:None;StopBits:1;FlowControl:None