Proximity_Monitor_scanning

9 posts / 0 new
Last post
prasanth.velliy...
Offline
Last seen:1 year 11 months ago
加入:2016-02-18 12:18
Proximity_Monitor_scanning

Hi Dialog
Q1: What are the functions related to scanning and connecting to Proximity reporter using the proximity monitor project ??
Q2: where i can see the advertising data received by Proximity monior peoject while debugging ??

Thank you Dialog

Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi prasanth.velliyangiri,

Hi prasanth.velliyangiri,

The function that starts the scanning procedure is the app_inq(), that sends the scanning command over GTL and the device starts the scanning, every time that an advertising message is scanned the gapm_adv_report_ind_handler() is triggered and reports the advertising message info to your application (this one place you can check the advertising data of the received message) if the device isn't recorded the received data info are stored in the app_env.devices structure (so this is an other place that you can check the received data).

Regarding the connection, the function responsible is the app_connect() in the app.c file.

Thanks MT_dialog

prasanth.velliy...
Offline
Last seen:1 year 11 months ago
加入:2016-02-18 12:18
Hi Dialog

Hi Dialog
Thank you for your reply,
But i am not seeing any of the fucntions you have mentioned in proximity_monitor project ?? (This is the project i am using => SDK 5.0.4\SDK 5.0.4\DA1458x_SDK_5.0.4\DA1458x_SDK\5.0.4\projects\target_apps\ble_examples\prox_monitor_ext\Keil_5)

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi prasanth.velliyangiri,

Hi prasanth.velliyangiri,

Thats because those function exist on the windows monitor application at the \DA1458x_SDK\5.0.4\projects\host_apps\windows\proximity\monitor directory, the proximity monitor is an external application (the 580 operates in fully embedded mode, no application on the 580, the application is located on an external MCU that communicates via UART and sends commands to the 580). You will have to download the code from the directory you mention into the 580 and run the windows application (mentioned above) in order to see things happening. You can find info about this is the UM-B-010 User Manual : Proximity Example in integrated and external Processor Solution.pdf.

Thanks MT_dialog

prasanth.velliy...
Offline
Last seen:1 year 11 months ago
加入:2016-02-18 12:18
Hi Dialog

Hi Dialog
Thank you for your reply.
Q1:我想对debugg Proximity_monitor_project我怎么知道在调试模式下,如果app.c /app.h和相关文件中不存在的目录中的程序顺序?我必须在Visual Studio C ++中运行Host_proxm_sdk.vcxproj来knoe序列吗?
Q2 : In Proximity_monitor_project , use of ble_dev devices[MAX_SCAN_DEVICES]; => structure for scanning multible devices and proxr_dev proxr_device[MAX_CONN_NUMBER]; => structure for connecting to multible devices , am i right ??
谢谢你的对话框茶m

prasanth.velliy...
Offline
Last seen:1 year 11 months ago
加入:2016-02-18 12:18
Hi Dialog

Hi Dialog
Thank you for your reply.
Q1 : i want to to debug Proximity_monitor_project how will i know the program sequence in debugging mode if app.c /app.h and related files are not present in the directory ?? do i have to run the host_proxm_sdk.vcxproj in VISUAL STUDIO C++ to know the sequence ??
Q2 : In Proximity_monitor_project , use of ble_dev devices[MAX_SCAN_DEVICES]; => structure for scanning multible devices and proxr_dev proxr_device[MAX_CONN_NUMBER]; => structure for connecting to multible devices , am i right ??
谢谢你的对话框茶m

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi prasanth velliyangiri,

Hi prasanth velliyangiri,

Q1: I dont get what you mean, the proximity monitor project sends commands over UART as i ve mentioned in my previous post, what do you mean "how will i know the program sequence in bedugging mode". The way an external application runs is quite similar to an embedded solution, for example you send GAPM_SET_DEV_CONFIG_CMD from the app_set_mode, the command goes through UART and to the GTL interface and executes. What do you mean by the term "sequence" ? Can you please be more descriptive ?

Q2: The MAX_SCAN_DEVICES is the maximum amount of devices the monitor is going to report on its output, if the number of devices that appear simultaneously on the air is more that this define the extra device isn't listed in the output, the MAX_CONN_NUMBER is the maximum number of devices that the monitor will be able to establish connection.

Thanks MT_dialog

prasanth.velliy...
Offline
Last seen:1 year 11 months ago
加入:2016-02-18 12:18
Hi Dialog Team

Hi Dialog Team
Thank you for your reply.
(pls see the attachment)
Q1 : i want to see how proximity monitor making the connection with multible device , how will i check if app.c /app.h and associated files are not present in the project folder (SDK 5.0.4\SDK 5.0.4\DA1458x_SDK_5.0.4\DA1458x_SDK\5.0.4\projects\target_apps\ble_examples\prox_monitor_ext\Keil_5 ).

MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
Hi prasanth_velliyangiri,

Hi prasanth_velliyangiri,

即使附加图像也没有看到你的意思,我可以看到你在prox_monitor_ext示例中放置了一个app.c文件,并且您正在尝试从外部处理器解决方案中的580内发出连接命令,以便我假设您还没有完全理解外部处理器的康塞。在外部解决方案中,所有应用程序相关命令都是从外部处理器发出的,然后通过UART转到580,这就是为什么Prox_Monitor_ext应用程序中没有App_文件。如果您想工作近距离监视器,您必须使用它以及Windows Monitor应用程序。如果您想通过580中执行的命令来捕获通孔断点,只有在配置文件应用程序中只能在SDK_Profiles文件夹disc_task.c proxm_task.c等上的文件中执行此操作。雷竞技安卓下载

Thanks MT_dialog