Lines Matching refs:snprintf
601 cur += snprintf(cur, static_cast<size_t>(end - cur), "%s ", aArgs[index]); in otPlatDiagProcess()
626 snprintf(cmd, sizeof(cmd), "power %d", aTxPower); in otPlatDiagTxPowerSet()
637 snprintf(cmd, sizeof(cmd), "channel %d", aChannel); in otPlatDiagChannelSet()
649 snprintf(cmd, sizeof(cmd), "gpio set %d %d", aGpio, aValue); in otPlatDiagGpioSet()
665 snprintf(cmd, sizeof(cmd), "gpio get %d", aGpio); in otPlatDiagGpioGet()
681 … snprintf(cmd, sizeof(cmd), "gpio mode %d %s", aGpio, aMode == OT_GPIO_MODE_INPUT ? "in" : "out"); in otPlatDiagGpioSetMode()
697 snprintf(cmd, sizeof(cmd), "gpio mode %d", aGpio); in otPlatDiagGpioGetMode()
744 snprintf(cmd, sizeof(cmd), "powersettings %d", aChannel); in otPlatDiagRadioGetPowerSettings()
746 …snprintf(fmt, sizeof(fmt), "TargetPower(0.01dBm): %%d\r\nActualPower(0.01dBm): %%d\r\nRawPowerSett… in otPlatDiagRadioGetPowerSettings()
772 nbytes = snprintf(cmd, sizeof(cmd), "rawpowersetting "); in otPlatDiagRadioSetRawPowerSetting()
776 …nbytes += snprintf(cmd + nbytes, sizeof(cmd) - static_cast<size_t>(nbytes), "%02x", aRawPowerSetti… in otPlatDiagRadioSetRawPowerSetting()
800 snprintf(cmd, sizeof(cmd), "rawpowersetting"); in otPlatDiagRadioGetRawPowerSetting()
818 snprintf(cmd, sizeof(cmd), "rawpowersetting %s", aEnable ? "enable" : "disable"); in otPlatDiagRadioRawPowerSettingEnable()
832 snprintf(cmd, sizeof(cmd), "cw %s", aEnable ? "start" : "stop"); in otPlatDiagRadioTransmitCarrier()
845 snprintf(cmd, sizeof(cmd), "stream %s", aEnable ? "start" : "stop"); in otPlatDiagRadioTransmitStream()