hi everybody, i'm still newbie here. i want to ask:
1. what is the main file in the ble example in SDK so that i can learn how the algorithm's go?
2. why the bluetooth can't be detected in ios? i debug the ble_peripheral on sdk. i can detect the da14580 BT with android, but i can't with ios. anybody have the answer?
thank you.
Device:
Hi Kavleo94,
The main file of ble example in SDK is arch_main.c. Regarding your second question, DA14580 can be detected both from Android and IOS devices. Please reset your device and switch off/on bluetooth of your IOS device.
Thanks STS_Dialog.
thank you, STS_dialog. that really help me. :) but for the second problem, i used iphone 5, and still don't found the da14580 device bluetooth
Hi
Thank you for the main file. I am facing the same problem for the android. DA14580 not detected from my android mobile. I tried to all the solution u have mentioned still I am getting same problem. I am using DSPS app, and I tired this three examples ble_app_peripheral, ble_app_all_in_one, prox_reporter. In any example this app fails to detect device and also not showing in mobile bluetooth device.
Thank you.
Hi Kevleo94,
Please try another generic application, it worked for my(for IOS) in my testing scenario.
BR,
STS_Dialog.
Hi,
一个选项,以防套装将是检查的device through the Power Profiler of Smart Snippets Tools and check if the device advertises. Another option in case of Basic Kit, is to check the procedure through the Debug mode. What's is the generic application that you use?
BR,
STS_Dialog.
Hi
I have tried to burn the program over UART using Smart Snippet Studio and it working and showing the device on other applications of bluetooth connectivity but not on dialog application. I am using DSPS app on android mobile. Even I tried it on IOS mobile, facing same problem with the dialog's application.
Same here, I compiled ble_app_all_in_one, executed, it always stops in nmi_handler.c
if ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP)
__asm("BKPT #0\n"); <-- stops here
else
I press to continue but android system finds nothing, light blue finds nothing, ble scanner also nothing.
I did run tutorial 2 without problems.
So something is amiss here.
This is on SDK 5.0.4(default no changes here)
Hi bruce_loco,
The ble_app_all_in_one uses an external flash in order to store bonding info, if you dont have an external SPI flash the device will be "stuck" in order to access a non-existing memory and thus the watchdog will occur (if you have enabled it, by default is enabled in the project). So you can either undefine the USER_CFG_APP_BOND_DB_USE_SPI_FLASH or use an external flash that is attached on the motherboard of the pro and the basic kit.
Thanks MT_dialog