Skip to content

Commit

Permalink
Update mqtt_basic.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Jun 3, 2023
1 parent 0ee831b commit 79f372b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/RF24Ethernet/mqtt_basic/mqtt_basic.ino
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
#include <MQTT.h>

nrf_to_nrf radio;
ESB_Network<nrf_to_nrf> network(radio);
ESB_Mesh <ESB_Network<nrf_to_nrf>, nrf_to_nrf> mesh(radio, network);
RF24EthernetClass RF24Ethernet(radio, network, mesh);
RF52Network network(radio);
RF52Mesh mesh(radio, network);
RF52EthernetClass RF24Ethernet(radio, network, mesh);

IPAddress ip(10, 1, 3, 244);
IPAddress gateway(10, 1, 3, 33); //Specify the gateway in case different from the server
Expand Down

0 comments on commit 79f372b

Please sign in to comment.