ember_slim field values and going to idle state.

85 views
Skip to first unread message

ash

unread,
Dec 17, 2014, 11:26:42 AM12/17/14
to ember-plus-...@googlegroups.com
Hi Guys ,

I have successfully implemented the ember plus protocol on a microcontroller. But there are a few issues which i need some assistance for.I am currently using Ember+Viewerv1.6.2.0-GlowDTD v2.31 to view the ember plus streams. I am listing out the problems I am facing currently.
  1. every third directory command i request from the consumer (i.e. Ember+Viewer) is skipped or is not actually sending the directory command to my provider which i can see from the command line windown which opens along with the ember+ viewer.
  2. Every time i try to change the value under the ask Lawo node the ports automatically sets itself into idle mode Though i I have set the keep-alive signal active.

This is a general question say from the example tree lets consider the power in db node under the ask Lawo, so if i make any change in the power in db value field where will the changed value be stored or sent to in the microcontroller so that i can pass it as a parameter to a function. say if i have volume control if i have to set a volume in the microcontroller and i want to read what is the value field  which is set in the value field and pass it into a function volume(int decibels); if i have to directly pass the volume(c-2 value); how do i do it?


Regards

-Ash

nullable.type

unread,
Dec 19, 2014, 4:51:08 AM12/19/14
to ember-plus-...@googlegroups.com
Hi Ash

1. I recommend to use the GlowLoggerProxy to see the full communication. The Ember+ viewer unfortunately displays only the messages sent from the provider to the consumer.
2. In which direction are you trying to send the value change? From consumer to provider or from provider to consumer? The Ember+ Viewer enters the IDLE state after a few seconds if the provider doesn't answer the KeepAliveRequests. I recommend to switch of Keep-Alive in the Ember+ viewer for the first time. If everything else is working well, you can switch it on again.

Unfortuntely I don't understand the genral question, please clarify (including the term ask Lawo).

Regards
Simon

ash

unread,
Dec 19, 2014, 5:18:51 AM12/19/14
to ember-plus-...@googlegroups.com
Hi Simon,

When I try to use the glow logger proxy it says the connection count is zero for both consumer connection status and provider connection status.
I am trying to send the value change from the consumer(i.e. the ember plus viewer) to the provider (this is an arm 9 microcontroller).
the ask lawo is a example node (if you refer the sample provider example which comes with the ember_slim you will find a function within the sample tree to illustrate the usage of various fields and how to set the values within the min and max fields)
if you can refer the image you will understand. I am changing the value in the consumer and I am trying to print the hanged value in the provider's command line output.

Regards
-Ash
Untitled.png
Reply all
Reply to author
Forward
0 new messages