Stream Data with CODELESS

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
gert186
Offline
Last seen:1 year 4 months ago
加入:2016-04-21 12:59
Stream Data with CODELESS

Hi,

I'm on a Project may somebody can help me.
Based on the Codeless Project I create a new function called Stream:

in this function I would like to read two analog values P0.0 and P0.1 pack the data and send it as stream to another DA14580. (for about 1000 samples)

So my questions:
How can I stream data from 1 DA14850 to another based on codeless Project as fast as possible?

How can I trigger if a message was recieved and buffer the values in an array?

Thanks
Gert

Device:
PM_Dialog
Offline
Last seen:2 days 12 hours ago
Staff
加入:2018-02-08 11:03
Hi gert186,

Hi gert186,

The CodeLess project has specific functionality, and it is allow you to quickly get started with wireless IoT applications with a set of AT Commands and enabling control of hardware interfaces as well as Bluetooth Smart via simple AT command interface. This project does not support stream data functionary, so could you please clarify how you want to stream data and why you want to use the CodeLess? Your second question is quite generic, so I am not able to understand what you mean. Do you want to send a message to a characteristic from master to slave or from slave to master?

Thanks, PM_Dialog

gert186
Offline
Last seen:1 year 4 months ago
加入:2016-04-21 12:59
First thanks for your message

首先感谢你的信息。
I would like to send from Master to Slave a Command like ATr+Stream: (That works already)
Then I would like that the slave reads the analog values and transmit them to the Master as fast as possible (Reading Values works, sending as fast as possible not)
This should be done for at least 10 seconds. or a defined time like ATr+Stream=10 or ATr+Stream20 and so on. (not working because of sending data fast not working)

To Sencond Question:

主衰退ives values from Slave.

I would like to send like:
Master: ATr+Stream10 //(10 seconds)
Slave: Reads two Analog Values P00 and P01 and send Data like: 512,200\n (512 and 200 are values from reading the analog Input on P00 and P01) for 10 seconds
主衰退ives the values with \n and should as fast as possible write this two values to an I2C device or should store the data in an Array.

Hopefully clear I would like to do ?

gert186
Offline
Last seen:1 year 4 months ago
加入:2016-04-21 12:59
no help?

no help?

PM_Dialog
Offline
Last seen:2 days 12 hours ago
Staff
加入:2018-02-08 11:03
Hi gert186,

Hi gert186,

The current version of the CodeLess doesn’t support any kind of scripting capabilities. The scripting capabilities will be available in the next version of the CodeLess application. So, until the next version, I recommend you to do the parsing value by value from the host side.

Thanks, PM_Dialog