Meshblu is a cross-protocol IoT machine-to-machine messaging system.
816
stars
182
forks
source link
Different ipAddress when register a device by HTTP or by Socket.io, and (meshblu.identity or meshblu.identify)? #120
Closed
eternaltao closed 8 years ago
I use the HTTP API to register a Device, the ipAddress is 115.236.14.185 curl -X POST -d "type=ga_connector" https://meshblu.octoblu.com/devices
When I used the socket.io, the ipAddress is 172.17.0.1
My client code in socket.io (I didn't require('meshblu'), because I must implement it by C++)
And I tried the sample of socket.io to register: ipAddress: '172.17.0.1'
The nodejs code: (meshblu.identify is right but not meshblu.identity)