关于FR8016H芯片的一个主机多个从机的问题。



  • 1.你好,请问实现FR8016H芯片的1主20从的工程在富芮坤提供的官方SDK里有吗?是哪一个工程呢?
    2.我买的是第三方(海凌科)模组,其上面焊有FR8016H芯片,这个模组的代码烧录和SDK里提供的烧录方法一样吗?
    3.我看网上的视频里,基于FR8016HA建立多主多从的蓝牙通信工程叫ble_multi_connection,但官方SDK里没找到这个工程。
    4.官方指导书——“基于 FR801xH 的多连接组网”里说ble_multi_role例程里有“void user_init_static_memory(void)”函数,但实际例程里没有。
    5.SDK例程里的ble_simple_muti_salve工程文件夹打开后仍然是ble_simple_central文件,和ble_simple_central文件夹里一样,这是为什么呢?



    1. 你提供一个邮箱, 我发给你ble_multi_connection
    2. 烧录方式是一样的.
    3. 同1
      4.user_init_static_memory 是个虚函数, 使用方法如下;/*
    • Re-configure connection num, ble tx/rx buff num & length, stack_size.
    • Function define as follow,
    • void initial_static_memory(uint8_t act_num,
      uint8_t adv_act_num,
      uint8_t con_num,
      uint8_t rx_buf_num,
      uint16_t rx_buf_size,
      uint8_t tx_buf_num,
      uint16_t tx_buf_size,
      uint16_t max_adv_size,
      uint16_t stack_size_)
    • @act_num, should be con num + 2
    • @adv_act_num, If mesh is enalbed, value is 2. else value is 1.
    • @con_num, max connection num, max value is 20
    • @rx_buf_num, ble ll layer rx buf num
    • @rx_buf_size, ble ll layer rx buf length
    • @tx_buf_num, ble ll layer tx buf num
    • @tx_buf_size, ble ll layer tx buf length
    • @max_adv_size, ble ll layer max adv_size.
      For legacy adv, value can be 0x1F. For Extended adv, value can be 254*4
    • @stack_size_, stack size, normally value is 0x800
    • default setting is initial_static_memory(9, 2, 6, 8, 251, 8, 251, 254, 0x800);
      */
      void user_init_static_memory(void)
      {
      initial_static_memory(22, 1, 20, 6, 27, 6, 27, 254, 0x800);
      }
    1. ble_simple_muti_salve是从ble_simple_central 改的, 同事忘记改工程名称了, 他们实现的功能是不一样的哦