Skip to content

Commit

Permalink
Updates to reflect new network setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
zarusz committed Sep 21, 2016
1 parent 68a92c9 commit 50c064d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 06_JSON_2Relay_App/TrainingIoT.RemoteControl.App/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-TrainingIoT.RemoteControl.App-20160827032010.mdf;Initial Catalog=aspnet-TrainingIoT.RemoteControl.App-20160827032010;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="MqttBrokerHost" value="192.168.1.120"/>
<add key="MqttBrokerHost" value="192.168.2.120"/>
<add key="MqttBrokerPort" value="1883"/>
<!-- MQTT or HTTP -->
<add key="TransportMode" value="MQTT"/>
Expand Down Expand Up @@ -145,4 +145,4 @@
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
</compilers>
</system.codedom>
</configuration>
</configuration>
2 changes: 1 addition & 1 deletion 10_MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ When run locally it will use the MQTT transport - see the `Web.config`:

```xml
<appSettings>
<add key="MqttBrokerHost" value="192.168.1.120"/>
<add key="MqttBrokerHost" value="192.168.2.120"/>
<add key="MqttBrokerPort" value="1883"/>
<!-- MQTT or HTTP -->
<add key="TransportMode" value="MQTT"/>
Expand Down
2 changes: 1 addition & 1 deletion 10_MQTT/src/MainApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define NETWORK_PASSWORD "IoT_Password"

// update with the host for the 06_RemoteControl_App ASP.NET Web App
#define SERVER_HOST "192.168.1.120"
#define SERVER_HOST "192.168.2.120"
#define SERVER_PORT 1883

#define TOPIC_REGISTER "register"
Expand Down
2 changes: 1 addition & 1 deletion 11_MQTT_Exercise/src/MainApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define NETWORK_PASSWORD "IoT_Password"

// update with the host for the 06_RemoteControl_App ASP.NET Web App
#define SERVER_HOST "192.168.1.120"
#define SERVER_HOST "192.168.2.120"
#define SERVER_PORT 1883

#define TOPIC_REGISTER "register"
Expand Down
2 changes: 1 addition & 1 deletion 12_IR_Exercise/src/MainApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define NETWORK_PASSWORD "IoT_Password"

// update with the host for the 06_RemoteControl_App ASP.NET Web App
#define SERVER_HOST "192.168.1.120"
#define SERVER_HOST "192.168.2.120"
#define SERVER_PORT 1883

#define TOPIC_REGISTER "register"
Expand Down
Binary file added assets/ESP8266_Adapter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/esp_12E.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 50c064d

Please sign in to comment.