难道没有人解答吗?
CL_DM_INQUIRE_RESULT这个消息中有eir_data成员,但是这个成员中通过查看协议说这个eir data包含的有设备名,tx power level, uuid.....但是不知道这个名字是怎么定义的.source中eir_data结构体也没有提供名字的定义
The EIR data shall always be sent during inquiry response state. EIR data cancontain device name, Tx power level, service class UUIDs, as well as manufacturers data, as defined in Section 8.1 . In selecting the packet type to be used,FEC (DM1 or DM3) should be considered to maximize the range.
那就没得玩了 ,,,,
static void connection_msg_remote_name_complete(const CL_DM_REMOTE_NAME_COMPLETE_T *cfm)
{
if (cfm->status == hci_success)
{
/* store the local friendly name of the device with this address */
ps_write_device_name(&cfm->bd_addr, cfm->size_remote_name, cfm->remote_name);
}
}