This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:wiki3:api_migration_guide [2019/07/19 17:34] tda |
wiki:wiki3:api_migration_guide [2020/12/21 17:54] (current) tda |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Push API ===== | ===== Push API ===== | ||
- | In WMC v3.0, the push API changed and more relevant details are provided, such as the cluster ID or the device address. | + | From WMC v3.0 Software release, the push API changed and more relevant details are provided, such as the cluster ID, device address or gwRecvTime for Message buffering (implemented for release 3.2.7). |
In this page, the data is presented as a sample and with a mapping table, to ease the migration between the API versions. | In this page, the data is presented as a sample and with a mapping table, to ease the migration between the API versions. | ||
- | The GMS API documentation has not been generated correctly for push information. | ||
Please, refer to the following screenshots to get information about PushDataUP method: | Please, refer to the following screenshots to get information about PushDataUP method: | ||
- | |||
{{:wiki3:gms_api_pushdataup.png|}} | {{:wiki3:gms_api_pushdataup.png|}} | ||
- | {{:wiki3:gms_api_pushdataupdto.png|}} | + | {{:wiki3:gms_api_pushdataupdto2.png|}} |
{{:wiki3:gms_api_enddevicedto_1.png|}} | {{:wiki3:gms_api_enddevicedto_1.png|}} | ||
{{:wiki3:gms_api_enddevicedto_2.png|}} | {{:wiki3:gms_api_enddevicedto_2.png|}} | ||
Line 66: | Line 64: | ||
"encrypted": false, | "encrypted": false, | ||
"payload": "00266d0985067200000000000000ffff", | "payload": "00266d0985067200000000000000ffff", | ||
- | "recvTime": 1548769153024 | + | "encodingType": "HEXA", |
+ | "recvTime": 1548769153024, | ||
+ | "gwRecvTime": 1548769153024, | ||
+ | "classB": false, | ||
+ | "delayed": false | ||
} | } | ||
</code> | </code> | ||
Line 132: | Line 134: | ||
"encrypted": false, | "encrypted": false, | ||
"payload": "0027ff096cfc8218000000000000ffff", | "payload": "0027ff096cfc8218000000000000ffff", | ||
+ | "encodingType": "HEXA", | ||
"recvTime": 1545650300180, | "recvTime": 1545650300180, | ||
+ | "gwRecvTime": 1545650300180, | ||
+ | "classB": false, | ||
+ | "delayed": false, | ||
"ulFrequency": 868.5, | "ulFrequency": 868.5, | ||
"modulation": "LORA", | "modulation": "LORA", | ||
Line 170: | Line 176: | ||
| Payload | ''.payload'' | ''.userdata.payload'' | | | Payload | ''.payload'' | ''.userdata.payload'' | | ||
| Receive time (ms) | ''.recvTime'' | | | | Receive time (ms) | ''.recvTime'' | | | ||
+ | | Gateway Receive time (ms) | ''.gwRecvTime'' | | | ||
| Uplink frequency | ''.ulFrequency'' | ''.moteTx.freq'' | | | Uplink frequency | ''.ulFrequency'' | ''.moteTx.freq'' | | ||
| Uplink modulation | ''.modulation'' | ''.moteTx.modu'' | | | Uplink modulation | ''.modulation'' | ''.moteTx.modu'' | |