mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-28 15:09:42 +00:00
Update encodeDownlink code template.
This commit is contained in:
parent
b0e61b50d2
commit
90c5af20df
@ -50,7 +50,7 @@ function decodeUplink(input) {
|
|||||||
// - bytes = Byte array containing the downlink payload.
|
// - bytes = Byte array containing the downlink payload.
|
||||||
function encodeDownlink(input) {
|
function encodeDownlink(input) {
|
||||||
return {
|
return {
|
||||||
data: [225, 230, 255, 0]
|
bytes: [225, 230, 255, 0]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -59,7 +59,7 @@ function decodeUplink(input) {
|
|||||||
// - bytes = Byte array containing the downlink payload.
|
// - bytes = Byte array containing the downlink payload.
|
||||||
function encodeDownlink(input) {
|
function encodeDownlink(input) {
|
||||||
return {
|
return {
|
||||||
data: [225, 230, 255, 0]
|
bytes: [225, 230, 255, 0]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user