Welcome!
On this forum you can discuss iRidium with other users.
iRidium consist of 2 main components - i3 pro app and iRidium Server. Please post here your questions, ideas or errors you find.
Please send your questions to support team as a private messages.
Please subscribe to the Change Log to know our news
We have moved our support service to a new technical support system. Since 17.01.2022, we have disabled the ability to create appeals through the userecho personal account. Now all requests are processed via mail to support@iridi.com .
Thank you for your understanding and have a nice day.
String.fromCharCode(0) problem
Hello
I'm use yours function from dev portal, see below. When 0 appears in array sending string don't have any characters and stop sending.
In my case I use next procedure. I will need transform length string to 4 byte present and send it to device.
var value = "0"; //This not working when coming 0 var elementLength = String.fromCharCode(value.length >> 24 & 0xFF)+ String.fromCharCode(value.length >> 16 & 0xFF)+ String.fromCharCode(value.length >> 8 & 0xFF)+ String.fromCharCode(value.length & 0xFF);
// This working fine witch concat var elementLength = [ value.length >> 24 & 0xFF, value.length >> 16 & 0xFF, value.length >> 08 & 0xFF, value.length >> 00 & 0xFF ];
<em>// process an array of HEX bytes from Data field of Command or Feedback</em> <strong>function</strong> HexArrayToAsciiString<span class="br0">(</span>in_aArray<span class="br0">)</span> <span class="br0">{</span> <em>// init string</em> <strong>var</strong> l_sStr <span class="sy0">=</span> <span class="st0">''</span><span class="sy0">;</span> <em>// aray bypass</em> <strong>for</strong><span class="br0">(</span><strong>var</strong> i <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span> i <span class="sy0"><</span> in_aArray.<span class="me1">length</span><span class="sy0">;</span> i<span class="sy0">++</span><span class="br0">)</span> l_sStr <span class="sy0">+=</span> <span class="kw4">String</span>.<span class="me1">fromCharCode</span><span class="br0">(</span>parseInt<span class="br0">(</span>in_aArray<span class="br0">[</span>i<span class="br0">]</span><span class="sy0">,</span> <span class="nu0">16</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">;</span> <em>// return string in ASCII format</em> <strong>return</strong> l_sStr<span class="sy0">;</span> <span class="br0">}</span>
Help! Sip Video Iridium v3 IOS to SIP Video Iridium v3 Windows
Hello,
I would like to add SIP video to my project.
such as below example project iridium.
The methods I use in my project as Iridium project above
{
IR.GetItem("Talking + Video").GetItem("my_camera").GetState(0).Image = "ir_camera://";
IR.GetItem("Outgoing + Video").GetItem("my_camera").GetState(0).Image = "ir_camera://";
IR.GetItem("Outgoing + Video").GetItem("Incoming_stream").GetState(0).Image = "sip_image://";
IR.GetItem("Talking + Video").GetItem("Incoming_stream").GetState(0).Image = "sip_image://";
})
{
IR.Camera(IR.CAMERA_RECORD, IR.CAMERA_FRONT, IR.CAMERA_RESOLUTION_MEDIUM);
IR.Camera(IR.CAMERA_FLIP_VERTICAL, 1);
}
Sip Video Iridium v3 IOS to SIP Video Iridium v3 Windows
Hello,
I would like to add SIP video to my project.
such as below example project iridium.
The methods I use in my project as Iridium project above
{
IR.GetItem("Talking + Video").GetItem("my_camera").GetState(0).Image = "ir_camera://";
IR.GetItem("Outgoing + Video").GetItem("my_camera").GetState(0).Image = "ir_camera://";
IR.GetItem("Outgoing + Video").GetItem("Incoming_stream").GetState(0).Image = "sip_image://";
IR.GetItem("Talking + Video").GetItem("Incoming_stream").GetState(0).Image = "sip_image://";
})
{
IR.Camera(IR.CAMERA_RECORD, IR.CAMERA_FRONT, IR.CAMERA_RESOLUTION_MEDIUM);
IR.Camera(IR.CAMERA_FLIP_VERTICAL, 1);
}
IR.EVENT_RECEIVE_DAAP
Здравствуйте, в драйвере iTunes для 2-ки нашел листенер IR.EVENT_RECEIVE_DAAP. Работает ли он в i3 Pro и можно ли получить на него описание?
Script learning suggestion
Hi All,
AM planning to learn JS for do designs in IR. But AS per my knowledge JS means, With include CSS and HTML. But i couldn't see those files in your IR Studio. Kindly suggest me for this.
Вызвать функцию на странице
в наличии био камин, planika с веб панелью. на каждой кнопке веб панели висит вызов своего скрипта (start, stop и тд). Как с iridiummobile его вызвать?
RemoveListener?
Hi,
Can anyone help me find a solution to this scenario:
var object = {}; IR.AddListener(EVENT_RECEIVE_TEXT, 0, function(data) { // this is called only once }, object);
object is now referenced within the event loop and can't be garbage collected.
Assuming multiple cases like that, what is the best approach to deal with it?
I guess there must be a way to unbind the handler aka RemoveListener...
Any ideas?
Regards
Osram Lightify
Hi everybody..
Has somebody tried to control Osram Lightify throug API and Iridium Script?
Its like Philips Hue but more used in the private homes..
Set HDL device parameter from iRidium Script
Set relay chanel HDL module state - how it realise? Give some example please.
Customer support service by UserEcho