unable to Bonded proximity

15 posts / 0 new
Last post
sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
unable to Bonded proximity

Hi,
I am writing proximity external processor host application with UART interface, while dialog development kit contain proximity_monitor_fe firmware. The DA14580 starts advertise and connect with host proximity monitor. But I could not bond reporter with monitor. The host application of monitor does not receive any event after GAPM_ADV_UNDIRECT (0x0E) .
Event sequence receiving host application is given below:

GAPM_DEVICE_READY_IND
GAPM_CMP_EVT
msgid 3400, status 00, operation 01
DISS_CREATE_DB_CFM
PROXR_CREATE_DB_CFM
SPOTAR_CREATE_DB_CFM
GAPM_CMP_EVT
msgid 3400, status 00, operation 03
Advertising...
GAPC_CONNECTION_REQ_IND
Connected to Device

BDA: 80:ea:ca:00:00:01 Bonded: NO
GAPM_CMP_EVT
msgid 3400, status 00, operation 0E
GAPM_ADV_UNDIRECT

after GAPM_ADV_UNDIRECT, I should receive LLC_RD_TX_PW_LVL_CMP_EVT and GAPC_BOND_REQ_IND but DA14580 is not sending any event more.
Please tell me how can I solve this problem. I following window proximity reporter application as reference but unable to get help at this point.

Thanks,
Basit

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
could you please answer my

could you please answer my question

JE_Dialog
Offline
Last seen:1 week 6 days ago
Staff
Joined:2013-12-05 14:02
Hello Sabasit, we have a

Hello Sabasit, we have a backlog we are working through right now, it will take a couple of days until i can get someone on to this . BR JE_Dialog

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
BR JE_Dialog,

BR JE_Dialog,

I am waiting for answer. Please provide as soon as possible.

Thanks,
Basit

wt_dialog(未经验证)
Hi Sabasit,

Hi Sabasit,

Which device is the monitor? Your mobile or another DA14580?

Best regards

WT

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
Hi Wei,

Hi Wei,

USB dongle is monitor and I am using Window monitor application as external host application.

regards,
Basit

wt_dialog(未经验证)
Hi Sabasit,

Hi Sabasit,

The central device needs to send out a paring and bonding request to the periperhal device.

More details can be found on page 82 athttp://support.dialog-semiconductor.com/system/files/resources/RW-BLE-GA...

Best regards

WT

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
Hi WT,

Hi WT,

My Peripheral is DA14580 development kit. It contains firmware "proximity reporter_fe". When I use proximity reporter host window application, it works fine with central device and when i use my external processor application it does not receive "LLC_RD_TX_PW_LVL_CMP_EVT" event after receiving event "GAPM_ADV_UNDIRECT". In both cases the central device is same USB dongle with proximity_monitor_fe_usb firmware and windows monitor host application.

should my external processor application send some message after receiving "GAPM_ADV_UNDIRECT" to DA14580 (contains proximity_reporter_fe firmware)?

Thanks,
Basit

wt_dialog(未经验证)
Hi Basit,

Hi Basit,

I dont think we useLLC_RD_TX_PW_LVL_CMP_EVT message. It is in the code but not being use in any case.

A message sequence chart can surely help you. Do you have a chance to read some documents, e.g.http://support.dialog-semicondiondiondum/system/files/restricted/um-b-010 ...? expecailly figure 11.

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
Hi WT,

Hi WT,

I have studied UM-B-010 document. I debugged my host application of fe_proximity reporter. My external application does not receive "GAPC_BOND_REQ_IND" when central device sends paring command GAPC_BOND_CMD to proximity peripheral . It looks some time synchronization issue. I think DA14580 goes in sleep mode and does not wake up. what is your opinion about it?

我想再次清除FE_Proximity Reporter应用程序在DA14580开发套件和中央设备上运行,监视器正在USB加密狗上运行窗口主机显示器。

Is there some android application for proximity application?

Thanks,
Basit

wt_dialog(未经验证)
Hi Basit

Hi Basit

I do not think the issue is caused by the sleep mode on DA14580.

How do you know the bonding request has been sent to DA14580? By an Air sniffer?

BRs

WT

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
Hi WT,

Hi WT,

I have checked by debugging the monitor window application. Application is calling function "app_security_enable(int con_id)" in file app.c at line #247. This function sends command " GAPC_BOND_CMD" at UART virtual COM port to USB dongle. Is there some way to diagnose that peripheral DA14580 has received this command successfully?

Thanks,
Basit

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
Hi WT,

Hi WT,

Have you got reason of missing event GAPC_BOND_REQ_IND?

Basit

sabasit
Offline
Last seen:12 months 3 days ago
Expert
Joined:2014-10-14 14:20
Hi WT,

Hi WT,

I am facing same problem as Miyamoto-san reported in following post:

http://support.dialog-semiconductor.com/connect-failure#comment-1584

can you provide me his email address?

thanks,
Basit

JE_Dialog
Offline
Last seen:1 week 6 days ago
Staff
Joined:2013-12-05 14:02
Hello Basit, we are not

Hello Basit, we are not allowed to give out the email address of other users due to confidentiality.

BR JE_Dialog