device_activate
Activate a LoRaWAN device via ABP or reset an OTAA session by supplying session keys and device address.
Instructions
ABP-activate a device (or reset an OTAA session). For LoRaWAN 1.0.x pass nwk_s_enc_key only; the other two network keys default to it.
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>",
"dev_addr": "<dev_addr>",
"app_s_key": "<app_s_key>",
"nwk_s_enc_key": "<nwk_s_enc_key>"
},
"name": "device_activate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dev_eui | Yes | ||
| dev_addr | Yes | ||
| f_cnt_up | No | ||
| app_s_key | Yes | ||
| a_f_cnt_down | No | ||
| n_f_cnt_down | No | ||
| nwk_s_enc_key | Yes | ||
| f_nwk_s_int_key | No | ||
| s_nwk_s_int_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||