Users Manual
NPort W2150A/W2250A Series  Android API Instructions 
12-2 
Overview
If you want to remote control your serial devices on an Android platform, then the MxNPortAPI is a simple 
application programming tool that you can use. The MxNPortAPI helps programmers develop an Android 
application to access the device server by TCP/IP. 
The MxNPortAPI provides frequently used serial command sets like port control, input/output, etc., and the 
style of developed Android application is similar to MOXA Driver Manager. For more details about the 
provided functions, please refer to the “MxNPortAPI Function Groups” section. 
This MxNPortAPI is layered between the Android application and Android network manager framework. This 
Android library is compatible with Java 1.7, Android 3.1 (Honeycomb - API version 12), and later versions.  
How to Start MxNPortAPI  
You can download the MxNPortAPI from Moxa’s website at http://www.moxa.com, and develop the 
application program in popular OSs, such as Windows, Linux, or Mac.  
(You can refer the Android studio website to see the system requirements for development environment: 
https://developer.android.com/studio/index.html?hl=zh-tw#Requirements
). 
To start your application program, please unzip the MxNPortAPI file and refer to the index (.html) under the 
Help directory.  










