简体   繁体   English

同一设备可以连接到不同的IoTF组织吗?

[英]Can the same device be connected to different IoTF organizations?

I've been able to register and connect a device to my IoTF organization using similar steps as this recipe. 我已经能够使用与此食谱类似的步骤注册设备并将其连接到IoTF组织 .

Now, if I try to follow the same steps to register the same device to a different (colleague's) IoTF organization, it does not connect. 现在,如果我尝试按照相同的步骤将同一设备注册到另一个(同事的)IoTF组织,则它不会连接。 For this second organization, I created the same Device Type, but I used a different device ID and token. 对于第二个组织,我创建了相同的设备类型,但是使用了不同的设备ID和令牌。

I'm wondering if the MAC address of the device is used behind the scenes by IoTF/Bluemix. 我想知道IoTF / Bluemix是否在后台使用了设备的MAC地址。 If so, then it might be preventing the connection to the second org. 如果是这样,则可能是阻止与第二个组织的连接。 I've gone as far as deleting the device from the first org, but still no luck. 我已经尽力从第一个组织中删除该设备,但还是没有运气。

Any advice is appreciated. 任何建议表示赞赏。 Thanks. 谢谢。

The MAC address does not affect the ability to connect. MAC地址不影响连接能力。 The clientID is made up of the organization, device type and device ID. clientID由组织,设备类型和设备ID组成。 If you use a device ID that is too long it may be truncated if the combination is too long for the buffer. 如果您使用的设备ID太长,如果组合对于缓冲区来说太长,则可能会被截断。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM