device_set_keys
Create or replace OTAA root keys for LoRaWAN devices. For 1.0.x devices, set the AppKey as the network key.
Instructions
Create or replace the OTAA root keys. LoRaWAN 1.0.x devices use nwk_key only (their AppKey goes in nwk_key).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dev_eui": "<dev_eui>",
"nwk_key": "<nwk_key>"
},
"name": "device_set_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_key | No | ||
| dev_eui | Yes | ||
| nwk_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||