aboutsummaryrefslogtreecommitdiff
path: root/simplemotion.h
diff options
context:
space:
mode:
authorTero Kontkanen <tero.k@granitedevices.fi>2017-05-12 16:38:52 +0300
committerTero Kontkanen <tero.k@granitedevices.fi>2017-05-12 16:38:52 +0300
commitf096c464c7063b1405b9aa1ac26d36236f997225 (patch)
tree647acecf5fead04913fca513aff549a664299a88 /simplemotion.h
parent998a39044725968bcf4aad37de5891bb4cbaa2fb (diff)
downloadSimpleMotionV2-f096c464c7063b1405b9aa1ac26d36236f997225.tar.gz
SimpleMotionV2-f096c464c7063b1405b9aa1ac26d36236f997225.zip
Add info about valid IP address format
Diffstat (limited to 'simplemotion.h')
-rw-r--r--simplemotion.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/simplemotion.h b/simplemotion.h
index 725d3dc..da9a26f 100644
--- a/simplemotion.h
+++ b/simplemotion.h
@@ -65,7 +65,8 @@ typedef enum _smVerbosityLevel {Off,Low,Mid,High,Trace} smVerbosityLevel;
///////////////////////////////////////////////////////////////////////////////////////
/** Open SM RS485 communication bus. Parameters:
- -devicename: "USB2VSD" or com port as "COMx" where x=1-16
+ -devicename: "USB2VSD" or com port as "COMx" where x=1-n
+ -devicename for TCP/IP connection format is nnn.nnn.nnn.nnn:pppp where n is IP address numbers and p is port number for TCP/IP connection
-return value: handle to be used with all other commands, -1 if fails
*/
LIB smbus smOpenBus( const char * devicename );