关于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文件夹里一样,这是为什么呢?
-
- 你提供一个邮箱, 我发给你ble_multi_connection
- 烧录方式是一样的.
- 同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);
}
- ble_simple_muti_salve是从ble_simple_central 改的, 同事忘记改工程名称了, 他们实现的功能是不一样的哦
-
@刘流鎏 你好,能不能也发一份给我一份这个例程?谢谢, hwei_26@163.com
-
@刘流鎏 你好,能不能也发我一份ble_multi_connection,我邮箱aaronfinchfinch859@gmail.com
-
@刘流鎏 你好,能不能也发我一份ble_multi_connection,我邮箱1712382002@qq.com
-
你好,请问网上的视频在哪可以看
-
@刘流鎏 你好,能不能也发我一份ble_multi_connection,我邮箱1695627698@QQ.COM
-
@刘流鎏 你好!能不能也发给我一份ble_multi_connection,我邮箱596810951@qq.com
-
@刘流鎏 你好!能不能也发给我一份ble_multi_connection,我邮箱1129934636@qq.com,感谢
-
@刘流鎏 你好!能不能也发给我一份ble_multi_connection,我邮箱504572847@qq.com,感谢
-
你好!有没有多连接的工程代码分享一下呗!
-
ble_multi_connection
链接:https://pan.baidu.com/s/1q52OKZpr-2oCW_DkKBcHlQ?pwd=4ay4
提取码:4ay4
-
用了这个工程 还是连接不上
-
@jimfar 我也是连不上啊大哥,可以交流一下吗?qq2433572250
-
gap_start_conn(&mac_addr,GAP_ADDR_TYPE_PRIVATE,6, 6, 9, 500); 改成私有地址就可以了
-
@刘流鎏 你好能不能发我一份完整的ble_multi_connection,网盘下载的与SDK例程中driver缺少部分文件
-
@刘流鎏 我邮箱2546751953@qq.com谢谢
-
@富芮坤官方 driver_flash_ssp.c缺少这个文件,还有对应的.h文件