-
Notifications
You must be signed in to change notification settings - Fork 7
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
CW mode support? #15
Comments
Hi @Miceuz honestly, I don't know. Will try to get answer internally. |
@fpistm never mind, I have hacked it: bool STM32LoRaWAN::continuousWave() {
MlmeReq_t mlmeReq;
mlmeReq.Type = MLME_TXCW_1;
mlmeReq.Req.TxCw.Frequency = 868100000;
mlmeReq.Req.TxCw.Power = 15;
mlmeReq.Req.TxCw.Timeout = 65535;
LoRaMacStatus_t res = LoRaMacMlmeRequest(&mlmeReq);
if (res != LORAMAC_STATUS_OK)
return failure("Failed to enable CW mode: %s\r\n", toString(res));
return true;
} Would you be interested in adding it to |
@Miceuz How does CW work after you enabled it? Does it just receive packets continuously? E.g. something like class C operation? Or is it a lower level of operation somehow? |
@matthijskooijman No, it just outputs a continuous wave - necessary for antenna testing and for compliance testing in a lab. It's a special use case necessary when you are releasing a product, but not related to a normal use in any way. |
Ah, it's output, not input. I see. Sounds like a useful and very well-contained addition, so a pull request would be welcome (with, as you mentioned, proper parameters and of course a bit of documentation in doxygen comments). |
PR #16 |
Is there a possibility to enter into continuous wave mode for testing purposes?
The text was updated successfully, but these errors were encountered: