Websocket UART Connection

Hi,

I am trying to connect mDash device through websocket and it gives undefined error.

Web socket : wss://mdash.net/api/v2/devices/device_id/uart?token=API_KEY

ERROR: undefined

wss://mdash.net/api/v2/devices/DEVICE_ID/uart?token=API_KEY

Make sure both device DEVICE_ID and API_KEY in the URL are set correctly.

Hi,
Here the link i am trying to test.

wss://mdash.net/api/v2/devices/device1/uart?token=fwTzAm************OKq1NA

Response:
Error : Undefined
disconnected

I think it should be access_token=..., not token=...

Hi,

Please find the attached image

more info.

Please try MQTT first - you could do with any public broker.
Does your device work fine via MQTT bridge?