extern int multi_spp_send_data(u8 local_cid, u8 rfcomm_cid, u8 *buf, u16 len);
//调用方法
int user_spp_send_data(u8 *data, u16 len)
{
return multi_spp_send_data(0x0A, 0, data, len);
}
杰理之SPP发送函数【篇】
最新推荐文章于 2024-10-30 16:29:21 发布
extern int multi_spp_send_data(u8 local_cid, u8 rfcomm_cid, u8 *buf, u16 len);
//调用方法
int user_spp_send_data(u8 *data, u16 len)
{
return multi_spp_send_data(0x0A, 0, data, len);
}