Z
ZR 发布的帖子
-
RE: FR8008GP-U的MTU最大协商值为247发布在 FR800x
@张艺瀚 /*********************************************************************
- @fn gap_set_mtu
- @brief Set max transfer unit length. default mtu value is 512.
-
typical value: 23 for core 4.0; 247 for core 4.2; - @param mtu - value to be set
- @return None.
*/
void gap_set_mtu(uint16_t mtu);
设置一下,最大512
-
RE: 关于bond存储的问题发布在 FR800x
重启之后是会的,不重启是可以的
如果重启,可以用这个接口去实现
正确流程:重启后用 gap_bond_manager_get_info() 验证 flash 里确有记录 → 重连时在 GAP_EVT_SLAVE_CONNECT 里 gap_security_get_bond_status() 才会返回 true -
RE: 如何与需要PIN码的蓝牙从机通信发布在 FR800x
case GAP_SEC_EVT_PIN_CODE_REQ:
{
uint8_t conidx = p_event->param.pin_code_req.conidx;
uint8_t tk_type = p_event->param.pin_code_req.tk_type;LOG_INFO(app_tag, "PIN requested, conidx=%d, type=%d\r\n", conidx, tk_type); gap_security_send_pairing_password(conidx, 123456);}
break;



