You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For getting attibutes from a thingsboard server, I want to pass the following CoAP URL:
_COAP_GET_URL = f"/api/v1/{ACCESS_TOKEN}/attributes?sharedKeys={_SHARED_KEYS}"
However, every time I include sharedKeys={_SHARED_KEYS}, I receive the following response:
Message received: type: ACK, method: 4.00, messageid: 14309, payload: bytearray(b''), from: ('MY_IP', 5683)
But when I use:
_COAP_GET_URL = f"/api/v1/{ACCESS_TOKEN}/attributes"
I receive the message correctly.
Could someone please confirm whether the CoAP library supports query parameters in the GET request URL? If so, could you provide guidance or examples on the correct way to include them? Alternatively, if query parameters are not supported, what is the recommended approach to retrieve specific shared attributes?
The text was updated successfully, but these errors were encountered:
For getting attibutes from a thingsboard server, I want to pass the following CoAP URL:
_COAP_GET_URL = f"/api/v1/{ACCESS_TOKEN}/attributes?sharedKeys={_SHARED_KEYS}"
However, every time I include sharedKeys={_SHARED_KEYS}, I receive the following response:
Message received: type: ACK, method: 4.00, messageid: 14309, payload: bytearray(b''), from: ('MY_IP', 5683)
But when I use:
_COAP_GET_URL = f"/api/v1/{ACCESS_TOKEN}/attributes"
I receive the message correctly.
Could someone please confirm whether the CoAP library supports query parameters in the GET request URL? If so, could you provide guidance or examples on the correct way to include them? Alternatively, if query parameters are not supported, what is the recommended approach to retrieve specific shared attributes?
The text was updated successfully, but these errors were encountered: