Other Parts Discussed in Thread: AM3352, , TI-BT-STACK-LINUX-ADDON, CC2564
Hi,
My customers are checking the operation of HDPM with the following configuration.
・CPU : AM3352
・BT : CC2564MODA
・BT STACK : TI-BT-STACK-LINUX-ADDON v4.0.3.0.1.0
In operating HDPM,
The customer refers to the following wiki.
・WL18xx AM335x TI Bluetooth Stack
Health Device Profile (HDPM) - Source / Sink Role
processors.wiki.ti.com/.../WL18xx_AM335x_TI_Bluetooth_Stack
Q1)
I think that it is necessary to operate the following command from the above wiki.
①Initialize 1
②SetDevicePower 1
③SetDiscoverable 1
④SetConnectable 1
⑤SetPairable 1
⑥RegisterAuthentication
⑦StartDeviceDiscovery 10
⑧QueryRemoteDeviceServices <AND_BP_Device_Address> 1
⑨QueryRemoteDeviceServices <AND_BP_Device_Address> 0 5000
⑩HDPQueryRemoteDeviceInstances <AND_BP_Device_Address>
⑪HDPConnectRemoteDevice <AND_BP_Device_Address> <Device_Instance_ID, ex: 0x10011003>
⑫UserConfirmationResponse 1 (Execute this on the First Connection Only to Pair)
⑬HDPQueryRemoteDeviceInstanceEndpoints <AND_BP_Device_Address> <Device_Instance_ID>
Is there a problem with recognition?
Q2)
In front of ⑦,
By setting "nSHUTD" PIN of CC2564 to (H -> L, L -> H)
I got the Bluetooth device list.
Best Regards,
hamada