Update encodeDownlink code template.

This commit is contained in:
Orne Brocaar 2022-09-12 11:52:51 +01:00
parent b0e61b50d2
commit 90c5af20df
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ function decodeUplink(input) {
// - bytes = Byte array containing the downlink payload.
function encodeDownlink(input) {
return {
data: [225, 230, 255, 0]
bytes: [225, 230, 255, 0]
};
}
`;

View File

@ -59,7 +59,7 @@ function decodeUplink(input) {
// - bytes = Byte array containing the downlink payload.
function encodeDownlink(input) {
return {
data: [225, 230, 255, 0]
bytes: [225, 230, 255, 0]
};
}
`;