Hi all,
I am working on DA14585 Basic Kit.
For the application I am building I would be needing to implement both Central and Peripheral appication on DA14585 (individually).
Before I implement that, I want to implement BLE Central on one kit and BLE peripheral on another and test the working. I will make some modification to those code for the custom profile (I have tested custom profile with peripheral and smartphone on other end).
Note: SDK version: 6.0.14.114 & DA14585 Basic Kit
I found from one discussion (https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/central-sample-app) that Active Scanner and BLE Security project can be helpful.
I sarted with the scanner example.
First it had issues with python script that got resolved with :https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/python-link-script-trouble
Then as I was following through it, I found certain issues: sdk_boot, sdk_arch and sdk_driver. (pdf attached) --> I can manually change the path to one available in sdk but that doesn't really solve the problem as it is primarilly incompatible.
Also, in UART, it cannot recognize
uart2_init(UART_BAUDRATE_1152, UART_FRAC_BAUDRATE_115K2, UART_CHARFORMAT_8);
So, please point me towards the right example that is compatible with my SDK version or kindly help me with the work around solution for this incompatibilty.
Thanks
Hi shah.jayd,
Thanks for your question. The “Active Scanner” was based on SDK6.0.10 – please see the Readme file. Sop, can you please try it with SDk6.0.10? I’ll escalate it internally to check if we plan to update it for SDK6.0.14.
Since you are planning to implement both Central and Peripheral appication on DA14585 (individually), I would recommend also checking the DSPS example.
The DSPS emulates a serial cable communication. It provides a simple substitute for RS-232 connections, including the familiar software flow control logic via Bluetooth low energy. The SPS software distribution includes the application and profile source codes and supports GAP Central/Peripheral roles.
//www.wsdof.com/products/dialog-serial-port-service-dsps
Thanks, PM_Dialog
Hi PM_Dialog,
Thanks for replying.
I did realize that earlier about the SDK version.
I then also tried with 6.0.10. Here the project compiled properly, but it doesn't work as required.
I am not able to read things on terminal screen. I have cross checked baudrate, port-pin etc.
Same port-pin works with blinky program, but when I use with Active Scanner, Proximity Reporter-Monitor Pair, or ble_central_implementation projects, it (UART Terminal printing) doesn't.
DSPS looks complex to me at this stage. I am really looking for a very simple project to start with.
-Thanks
JD
Hi shah.jayd,
Glad that you are able to run it. Can you please check the jumper configuration on the Basic DK? Are the jumpers configured in UART position?
The CodeLes project can be also used…
The CodeLess allows you to quickly get started with wireless IoT applications with a set of AT Commands. The CodeLess AT commands platform allows control over a local UART connected device as well as a remote device via BLE. You can create simple demos / applications / proof of concepts without any code development or build you own application on top!
//www.wsdof.com/products/smartbondtm-codeless-commands
Thanks, PM_Dialog