Hello everyone,
I’m trying to set the AppKey of a device using gRPC, but after making the request, when I retrieve the device information, the AppKey field is filled with zeros (00000000000000000000000000000000
). There is no error response, only {}
as the output.
gRPC request (CreateKeys)
This is the request I’m sending:
grpcurl -H "Authorization: Bearer $(cat .token)" \
-d '{
"deviceKeys": {
"devEui": "string",
"nwkKey": "string",
"appKey": "string"
}
}' \
-plaintext \
example.com:8080 \
api.DeviceService/CreateKeys