2 months ago
Advertising data on DA14531 tiny module
Posted byLudovicA20 points 5 repliesHi,
How to changed the advertising data with the DA14431 Tiny Module used as companion chip?
I need to share in live the value of a sensor, each 500ms.
On thisdoc, I found the AT+ADVDATA command , but with two weakness:
I need to stop advertising, change data and restart advertising at each changed of the sensor value,
The doc said : " Please note that commands AT+ADVDATA and AT+ADVRESP are not available in DA14531 due to memory constraints." is it true with the module?
Thank you.
2 months ago
Hi,
I do not have yet the board, but interrested by the faisability.
I understand that the module support the AT+ADVDATA command.
The next question is: what is the maximum rate to exectute the following commands?
AT+ADVSTOP
AT+ADVDATA=sensor value
AT+ADVSTART
If i do this every 100ms, that is the maximum rate of the advertisment, will it work?
Thanks
1 month ago
Hi LudovicA,
According to the user guide (section 9), the min advertising interval can be set is 100ms. Please check AT+ADVSTART
Additionally, if you probe the UART lines, you will see that the latency when the codeless responds OK is about 0.32ms. This value can be measured by sending and receiving the "AT" command and getting the time via the logic analyzer.
I believe 100ms might be too fast. There isn’t any maximum rate, so this is something that you should test when you have the DK and you can run the CodeLess.
Thanks, PM_Dialog
1 month ago
Hi,
May be the Dialog External Processor interface is faster than the ASCII protocol?
I found the GAPM_START_ADVERTISE_CMD command in :
//www.xmece.com/sites/default/files/2020-12/UM-B-1…
Thank you.
1 month ago
Hi LudovicA,
This is a completely different concept from the CodeLess. This document provides all necessary information to create GTL based applications. It is for external processor applications. Please see section 1.4.2. External Processor in the following document :
The SDk6 includes the prox_monitor_ext project for External Processor application.
My recommendation would be to use the CodeLess and test this when you have the DK on your hands!
Thanks, PM_Dialog
2 months ago
Hi LudovicA,
Thanks for your question online and for your interest in our TINY module solution.
Please try to define the ADVDATA/ADVRESP commands in user_at_commands.h file as follow :
Re-build the project and program the TINY module.
Open a Serial terminal and execute the following AT commands :
I have tested this with codeless_531_datapump project and CodeLess v6.380.12.6.
Please let us know if this is working.
Thanks, PM_Dialog