Hello,
I'm trying to run the
距离标记DA14580AT上运行示例DB-P Smart Developement Pro Kit compiled with Keil 5.
I use an I-Phone 5 with the "Dialog SmartTags" App installed.
The SmartTag on the I-Phone can detect the the BLE-Module and shows
DA1458x
and if I touch the DA1458x the control screen appears.
But the connection is very unstable and if I use a BLE-sniffer the packets come very "sporadic".
What can be wrong in the setup? Are there any defines in the software which have to be adapted to Develpment-Pro Kit?
Device:
Further investigation shows that a pairing request is not successful. It seems to stuck in the SMP
If I understand right the SMP Security Request on the I-Phone side is not responded.
Is there any configuration on the slave side? Any "#defines" to be adjusted?
Hi ChrisHab,
When the connection is performed the smart tag issues a security request to the host. normally a indication should appear on the phone that the device requires pairing in order to function, if the pairing is unsuccessful the tag will disconnect from the host. Check if the CFG_APP_SEC to be defined in order for the device to issue a security request, if this is set then there should be a window on the phone which will request the initiate the pairing procedure. The security request is issued in the the app_connection_func function.
Thansk MT_dialog
Thank you for your response.
Meanwhile I found the document
UM-B-10
which describes the setup of the proximity reporter on the Devlepement-Pro Kit.
This example works reliably, so I use this. one.
I could not get the proximity monitor running which is also described in UM-B-10. But I have an external bluetooth sniffer so I can skip it.