Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

On-chain patch to PoC spreading factor choice #1499

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 40 additions & 40 deletions test/blockchain_region_test.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -287,56 +287,56 @@
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 923400000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 923600000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 923800000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 924000000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 924200000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 924400000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 924600000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
]
]).

Expand All @@ -346,56 +346,56 @@
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922200000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922400000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922600000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922800000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 923000000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 923200000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 923400000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
]
]).

Expand All @@ -405,56 +405,56 @@
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 921600000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 921800000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922000000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922200000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922400000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922600000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 922800000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
]
]).

Expand All @@ -464,56 +464,56 @@
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 916800000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917000000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917200000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917400000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917600000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917800000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 918000000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
]
]).

Expand All @@ -523,56 +523,56 @@
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917500000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917700000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 917900000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 918100000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 918300000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 918500000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
],
[
{<<"channel_frequency">>, 918700000},
{<<"bandwidth">>, 125000},
{<<"max_eirp">>, 160},
{<<"spreading">>,
[{25, 'SF12'}, {25, 'SF11'}, {25, 'SF10'}, {67, 'SF9'}, {139, 'SF8'}, {256, 'SF7'}]}
[{59, 'SF12'}, {59, 'SF11'}, {59, 'SF10'}, {123, 'SF9'}, {250, 'SF8'}, {250, 'SF7'}]}
]
]).

Expand Down