Massimo Cristofolini / Settimino
Revision:
1:2f8bf824ec67
Parent:
0:90ad5ee1ff15
Child:
2:f9537de477ee
--- a/Settimino.cpp	Wed Nov 16 08:49:51 2016 +0000
+++ b/Settimino.cpp	Thu Nov 17 08:29:05 2016 +0000
@@ -1,7 +1,8 @@
 /*=============================================================================|
-|  PROJECT SETTIMINO                                                     1.0.0 |
+|  PROJECT SETTIMINO 4 MBED                                              0.1.0 |
 |==============================================================================|
 |  Copyright (C) 2013, Davide Nardella                                         |
+|  MBED porting by Massimo Cristofolini                                        |
 |  All rights reserved.                                                        |
 |==============================================================================|
 |  SETTIMINO is free software: you can redistribute it and/or modify           |
@@ -239,12 +240,12 @@
 //-----------------------------------------------------------------------------
 S7Client::S7Client()
 {
-	// Default TSAP values for connectiong as S7_Basic to a S7300 (Rack 0, Slot 2)
+	// Default TSAP values for connectiong as PG to a S7300 (Rack 0, Slot 2)
 	LocalTSAP_HI = 0x01;
 	LocalTSAP_LO = 0x00;
 	RemoteTSAP_HI= 0x01;
 	RemoteTSAP_LO= 0x02;
-	ConnType = S7_Basic;
+	ConnType = PG;
 	Connected = false;
 	LastError = 0;
 	PDULength = 0;