您好,我在drivers钟运行rfPacketTx例程,通过smartRF Studio 7可以修改广播频道,我选择的是蓝牙模式,频道是37:
// CMD_FS
// Frequency Synthesizer Programming Command
rfc_CMD_FS_t RF_cmdFs =
{
.commandNo = 0x0803,
.status = 0x0000,
.pNextOp = 0, // INSERT APPLICABLE POINTER: (uint8_t*)&xxx
.startTime = 0x00000000,
.startTrigger.triggerType = 0x0,
.startTrigger.bEnaCmd = 0x0,
.startTrigger.triggerNo = 0x0,
.startTrigger.pastTrig = 0x0,
.condition.rule = 0x1,
.condition.nSkip = 0x0,
.frequency = 0x0962, //37频道
.fractFreq = 0x0000,
.synthConf.bTxMode = 0x0,
.synthConf.refFreq = 0x0,
.__dummy0 = 0x00,
.__dummy1 = 0x00,
.__dummy2 = 0x00,
.__dummy3 = 0x0000
};
请问可以同时设置两个频道吗?
在上面设置的.frequency = 0x0962, //37频道 加一个38频道
user6172527:
好的,谢谢您,我这个是不基于协议栈的,drivers文件见里面的例程,请问也可以吗?
user6172527:
回复 Viki Shi:
好的,谢谢您
Viki Shi:
回复 user6172527:
不客气