maybe your keil licensed error
刘
刘流鎏
@刘流鎏
0
声望
96
帖子
2630
资料浏览
4
粉丝
0
关注
刘流鎏 发布的帖子
-
RE: Keil v5.38 how to setup it to compile the ble_simple_peripheral ?
-
RE: 关于FR8016H芯片的一个主机多个从机的问题。
- 你提供一个邮箱, 我发给你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 改的, 同事忘记改工程名称了, 他们实现的功能是不一样的哦