devicehive / IoT-framework

* DEPRECATED * DeviceHive GO Framework for IoT and M2M
http://devicehive.com
MIT License
40 stars 17 forks source link

Can't send notifications through devicehive-cloud in WS mode #11

Closed turistua closed 8 years ago

turistua commented 8 years ago

While trying to start cpu-stats.go example, it works only with cloud in REST mode.

demon-xxi commented 8 years ago

@Pilatuz, I double this request. The issue here not with notifications but with the fact that device is not created in WS mode as you probably know. I saw commit 33837b011b1e13c57363bc1f09ffe0c49f15045f that should fix this by passing AccessKey for WS. But as I know server side is not accepting it yet. Let's keep this open until server is updated. Related to devicehive/devicehive-java-server#116

Pilatuz commented 8 years ago

As a temporary workaround you can provide a DeviceKey along with the AccessKey. DeviceKey is still required for websocket.

demon-xxi commented 8 years ago

@Pilatuz, as I understand we can close this issue now, right?

Pilatuz commented 8 years ago

no device key will be required in coming new version of java server