pkg/semtech-loramac: fix tx_power get/set functions#8835
pkg/semtech-loramac: fix tx_power get/set functions#8835aabadie wants to merge 1 commit intoRIOT-OS:masterfrom
Conversation
|
@aabadie This PR doesn't solved the issue or maybe I'm doing something wrong... |
Weird, I tested it and it was working. I'll give another try. |
|
Just tested it again and I think I understand your problem: in EU868 all tx power modes cannot be used see this enum => only tx power indexes from 0 to 7 are supported. |
|
Oh so index 0 stand for 20 dB if supported and 1 -> 14 dB right ? |
|
I re test with and without, it works and it was working before |
no problem, this shows that the documentation is not perfect. |
Just understood this. And rechecked the loramac-node code: this PR is useless IMHO. I think we can close it. Do you agree @dylad ? |
|
@aabadie yes we can close this. Sorry about that... |
Contribution description
This PR fixes the issue reported in this comment
Using
MIB_CHANNELS_TX_POWERhas no effect on the MAC. The fix simply consists in usingMIB_CHANNELS_DEFAULT_TX_POWERinstead.Issues/PRs references
comment raised while reviewing #8798