-
Notifications
You must be signed in to change notification settings - Fork 3k
LoRaWAN: Fixing Hard fault in CN470 PHY layer #7806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@AnttiKauppila @kivaisan @kjbracey-arm Please review. |
Issue: ARMmbed/mbed-os-example-lorawan#93 |
@imi415 the fsb-mask is there exactly for this reason. If the base station have 8 channel support, and all 96 channels are enabled in the spec, you will have 1/12 chance of hitting the right channel. Network acquisition can become very tedious. You can can use fsb-mask to mask out any unused channels. |
features/lorawan/FSB_Usage.txt
Outdated
@@ -0,0 +1,52 @@ | |||
Frequency sub-bands in US915/US915Hybrid/AU915: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AnotherButler Can you review this file addition (is .txt the right file prefix) and also location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a helper txt file. There are many such files in other locations like LWIP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hasnainvirk Do you think any of this information should be added to the Handbook, or do you think it's too component-specific and should stay only in the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AnotherButler Yeah. This applies to only three PHYs. Maybe we could have a little section in Handbook too. It's not general enough so I thought a .txt would do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AnotherButler Oh, I lost your commit !. Sorry, I was reworking some stuff and had a force push in. Could you please be kind enough to send the Copy-edit patch again ?
@kjbracey-arm Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if you should be a bit more specific than -china
, and the need for this immediately suggests the other fsb-mask
should have some sort of corresponding suffix. But no firm objections.
269a1a7
to
abb0206
Compare
@hasnainvirk Did you just rebase or what has changed (when you update PR, please leave a comment with the status) - helps us to be aware of changes (if this needs rereview or not). |
abb0206
to
6f5610b
Compare
@0xc0170 Preceding PR merged. This PR updated and ready to go. It's already reviewed. |
Please review travis event failure (cant compile the changes) |
set_next_channel() is the base function provided by LoRaPHY class and should be overridden by the PHYs who behave differently as compared to EU868 like PHY layers. CN470 PHY had been missing such an override. In addition to that we have provided a parameter "fsb-mask-china" that can be used to enforce a custom frequency sub-band of operation as most of the base stations in the market may not support all 96 channels. Such a strategy will help in rapid network acquisition.
6f5610b
to
5cca2f2
Compare
@0xc0170 Updated the PR. An internal API was simplified in some prior PR which didn't reflect in this PR. |
Copy edit for active voice, consistent tense and precise language.
@AnotherButler Thank you Amanda. @0xc0170 This PR is ready to go after editorial commit. |
@0xc0170 This is ready to go. Please entertain. |
Is this for 5.10? We are now close to freeze so only 5.10 as there are still few left |
@0xc0170 This is 5.10. This is a necessary patch as Chinese region is broken at the moment. |
/morph build |
Build : SUCCESSBuild number : 2954 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2570 |
Reshuffling the Integration Test queue. Will restart shortly. |
/morph test |
Test : SUCCESSBuild number : 2742 |
Description
CN470 PHY layer has been missing an override for the selecting next TX channel and the default functionality was kicking in which was not suitable for CN470 PHY layer.
In addition to that fix, we have also introduced the concept of FSBs just like US915 and AU915.
Pull request type
Dependency:
#7802