8 years, 1 month ago.

How do you set output power and frequency from chat window?

After typing ? in the chat_sx127x chat window it lists some parameters that can be read and written to. Two of the settings are output power and frequency.

op [%d]     get/set output power
frf[%f]     get/set frequency (Mhz)

What is the format needed to change the output power since I tried these commands without success. None of these commands changed the output power from 15 to 14.

Read value

>op
OutputPower:15

Write attempts

  • op=14
  • op = 14
  • op[14]
  • op(14)
  • op[%14]
  • op=14db
  • op = 14.0

Question relating to:

UART console application for testing SX1272/SX1276

1 Answer

8 years, 1 month ago.

To set output power, its op14

see line 1691 of main.cpp, it takes 3rd character for value: sscanf(pcbuf+2, "%d", &i);

To set frequency its frf915.0, at line 1905 of main.cpp

Accepted Answer