Gateway connected and node unconnected

We cannot tell what the node would be transmitting unless you post some (formatted) code, or tell us which example you used. (As an aside: proper examples should not be sending text.) Also, your debugging should probably start by peeking into the node’s and gateway’s logs.