I'm Having problems getting new water meter installation working. Getting indication gateway mote is listening but serial output on terminal. Sending Mote appears to be sending data when monitoring with serial terminal. Not sure Node & Network values are correct for just two node network.
The following are copies of the "Includes" for both Nodes as follows:
SENDING NODE
#define NODEID 5
#define GATEWAYID 1
#define NETWORKID 250
#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF69_433MHZ, RF69_868MHZ)
#define ENCRYPTKEY "sampleEncryptKey" //has to be same 16 characters/bytes on all nodes, not more not less!
//#define IS_RFM69HW //uncomment only for RFM69HW! Leave out if you have RFM69W!
#define PULSESPERGALLON 45 //how many pulses from sensor equal 1 gallon
#define GPMTHRESHOLD 8000 // GPM will reset after this many MS if no pulses are registered
#define XMITPERIOD 5000 // GPMthreshold should be less than 2*XMITPERIOD. XMIT RATE BECOMES 5 SECONDS
RECEIVING GATEWAY NODE
define NODEID 1
#define NETWORKID 250
#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF69_433MHZ, RF69_868MHZ)
#define ENCRYPTKEY "SampleEncryptKey" //has to be same 16 characters/bytes on all nodes, not more not less!
#define IS_RFM69HW //uncomment only for RFM69HW! Leave out if you have RFM69W!
#define LED 9
#define FLASH_CS 8
#define SERIAL_BAUD 115200
#define SERIAL_EN //comment out if you don't want any serial verbose output
#define ACK_TIME 30 // # of ms to wait for an ack
Anybody have suggestions on how to diagnlse?
Problem solved. The Gateway Pi sample sketch I used did not have an Include statement for Gateway ID. I added a "#include gatewayID 1" to the Sketch and like magic I'm getting receive terminal serial data now.
Now on to load the Gateway Image and see what happens next.
L
Quote from: wheato22 on May 22, 2015, 08:45:23 PM
I'm Having problems getting new water meter installation working. Getting indication gateway mote is listening but serial output on terminal. Sending Mote appears to be sending data when monitoring with serial terminal. Not sure Node & Network values are correct for just two node network.
The following are copies of the "Includes" for both Nodes as follows:
SENDING NODE
#define NODEID 5
#define GATEWAYID 1
#define NETWORKID 250
#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF69_433MHZ, RF69_868MHZ)
#define ENCRYPTKEY "sampleEncryptKey" //has to be same 16 characters/bytes on all nodes, not more not less!
//#define IS_RFM69HW //uncomment only for RFM69HW! Leave out if you have RFM69W!
#define PULSESPERGALLON 45 //how many pulses from sensor equal 1 gallon
#define GPMTHRESHOLD 8000 // GPM will reset after this many MS if no pulses are registered
#define XMITPERIOD 5000 // GPMthreshold should be less than 2*XMITPERIOD. XMIT RATE BECOMES 5 SECONDS
RECEIVING GATEWAY NODE
define NODEID 1
#define NETWORKID 250
#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF69_433MHZ, RF69_868MHZ)
#define ENCRYPTKEY "SampleEncryptKey" //has to be same 16 characters/bytes on all nodes, not more not less!
#define IS_RFM69HW //uncomment only for RFM69HW! Leave out if you have RFM69W!
#define LED 9
#define FLASH_CS 8
#define SERIAL_BAUD 115200
#define SERIAL_EN //comment out if you don't want any serial verbose output
#define ACK_TIME 30 // # of ms to wait for an ack
Anybody have suggestions on how to diagnlse?