mirror of
https://github.com/espressif/openthread.git
synced 2026-08-01 00:27:47 +00:00
[phy] add support for OQPSK modulation in 915MHz band (#3378)
This commit is contained in:
committed by
Jonathan Hui
parent
4610811781
commit
96725a985e
+3
-2
@@ -559,7 +559,8 @@ void Interpreter::ProcessChannel(int argc, char *argv[])
|
||||
mServer->OutputFormat("count: %lu\r\n", otChannelMonitorGetSampleCount(mInstance));
|
||||
|
||||
mServer->OutputFormat("occupancies:\r\n");
|
||||
for (uint8_t channel = OT_RADIO_CHANNEL_MIN; channel <= OT_RADIO_CHANNEL_MAX; channel++)
|
||||
for (uint8_t channel = otLinkGetPhyChannelMin(mInstance); channel <= otLinkGetPhyChannelMax(mInstance);
|
||||
channel++)
|
||||
{
|
||||
uint32_t occupancy = otChannelMonitorGetChannelOccupancy(mInstance, channel);
|
||||
|
||||
@@ -3404,7 +3405,7 @@ void Interpreter::HandleEnergyReport(uint32_t aChannelMask, const uint8_t *aEner
|
||||
|
||||
for (uint8_t i = 0; i < aEnergyListLength; i++)
|
||||
{
|
||||
mServer->OutputFormat("%d ", aEnergyList[i]);
|
||||
mServer->OutputFormat("%d ", static_cast<int8_t>(aEnergyList[i]));
|
||||
}
|
||||
|
||||
mServer->OutputFormat("\r\n");
|
||||
|
||||
Reference in New Issue
Block a user