WS63 帧格式的问题

Viewed 99

一、描述你遇到的问题

请教大家一个问题,关于 WS63 SLE 的帧格式

在小熊派的社区搜索没有找到相关文章,于是全网搜索,在B站上看利尔达的视频,说帧类型 1、2、3、4, 其中,【帧类型2 低延迟,帧类型 3 高速率, 帧类型 4 高稳定】。但是测试发现,帧类型 2 的传输速率最快,测试和理论不否。

https://www.bilibili.com/video/BV1ZH4y1A7zK?t=119.8

于是想请教大家关于帧类型比较确切的定义,依次在不同的场景更好的使用它(星闪联盟个人也不给下载相关文档)

拉锯测试的参数是多少呢:【msc、帧类型、phy、PILOT_DENSITY】

二、你具体做的所有步骤结果截图

/**
 * @brief 星闪无线帧类型,bitmap表示
 */
typedef enum {
    SLE_RADIO_FRAME_1    = 0,      /*!< @if Eng Radio frame type 1.
                                             @else 无线帧类型1。 @endif */
    SLE_RADIO_FRAME_2    = 1,      /*!< @if Eng Eng Radio frame type 2.
                                             @else 无线帧类型2。 @endif */
    SLE_RADIO_FRAME_3_M0 = 2,      /*!< @if Eng Radio frame type 3 and m sequence 0.
                                             @else 无线帧类型3,m序列0。 @endif */
    SLE_RADIO_FRAME_3_M1 = 3,      /*!< @if Eng Radio frame type 3 and m sequence 1.
                                             @else 无线帧类型3,m序列1。 @endif */
    SLE_RADIO_FRAME_3_M2 = 4,      /*!< @if Eng Radio frame type 3 and m sequence 2.
                                             @else 无线帧类型3,m序列2。 @endif */
    SLE_RADIO_FRAME_3_M3 = 5,      /*!< @if Eng Radio frame type 3 and m sequence 3.
                                             @else 无线帧类型3,m序列3。 @endif */
    SLE_RADIO_FRAME_3_M4 = 6,      /*!< @if Eng Radio frame type 3 and m sequence 4.
                                             @else 无线帧类型3,m序列4。 @endif */
    SLE_RADIO_FRAME_3_M5 = 7,      /*!< @if Eng Radio frame type 3 and m sequence 5.
                                             @else 无线帧类型3,m序列5。 @endif */
    SLE_RADIO_FRAME_4_M0 = 8,      /*!< @if Eng Radio frame type 4 and m sequence 0.
                                             @else 无线帧类型4,m序列0 @endif */
    SLE_RADIO_FRAME_4_M1 = 9,      /*!< @if Eng Radio frame type 4 and m sequence 1.
                                             @else 无线帧类型4,m序列1 @endif */
    SLE_RADIO_FRAME_4_M2 = 10,     /*!< @if Eng Radio frame type 4 and m sequence 2.
                                             @else 无线帧类型4,m序列2。 @endif */
    SLE_RADIO_FRAME_4_M3 = 11,     /*!< @if Eng Radio frame type 4 and m sequence 3.
                                             @else 无线帧类型4,m序列3。 @endif */
    SLE_RADIO_FRAME_4_M4 = 12,     /*!< @if Eng Radio frame type 4 and m sequence 4.
                                             @else 无线帧类型4,m序列4。 @endif */
    SLE_RADIO_FRAME_4_M5 = 13,     /*!< @if Eng Radio frame type 4 and m sequence 5.
                                             @else 无线帧类型4,m序列5。 @endif */
    SLE_RADIO_FRAME_END
} sle_radio_frame_t;
#define DEFAULT_SLE_SPEED_MCS 12
sle_set_phy_t phy_parm = {
    .tx_format = SLE_RADIO_FRAME_4_M0,
    .rx_format = SLE_RADIO_FRAME_4_M0,
    .tx_phy = SLE_PHY_4M,
    .rx_phy = SLE_PHY_4M,
    .tx_pilot_density = SLE_PHY_PILOT_DENSITY_16_TO_1,
    .rx_pilot_density = SLE_PHY_PILOT_DENSITY_16_TO_1,
    .g_feedback = 0,
    .t_feedback = 0,
};
sle_set_phy_param(g_sle_conn_hdl, &phy_parm);
sle_set_mcs(g_sle_conn_hdl, DEFAULT_SLE_SPEED_MCS);
osal_printk("code: ploar MCS10, PHY 4MHZ, power: 20dbm \r\n");

三、当前开发板状态全景照片

1 Answers

测距的时候选择的是 GFSK,无线PHY是1M,功率是20dBm,其他都是默认的,可以用官方提供的固件来测