Your comments

Hello.

This model has not been tested for iRidium compatibility. Supported model 3B with Jessie. You can try, there is a chance that will work normally.

Thank you, we will try to implement the import of the submitted file in the new Studio.

Check on the attached build.

Attention! These builds are for tests only! Not for production use!

iRidiumServer32.zip

iRidiumServer64.zip

Thank you for the information provided. Error reproduced. We will inform you when the solution is ready.

Hello.

For SQLite, the code should be something like this:

var mybase = new SQL();
var info_chamada = "P2A_215_ATENDIDO_4";
var query_head = "INSERT INTO chamada_enfermagem(Posto, Leito, Tipo, Tempo, Data) VALUES(";
var now = "";
var query = "";

function writeDB(info_chamada)
{
var posto = info_chamada.split("_")[0];
var leito = info_chamada.split("_")[1];
var tipo = info_chamada.split("_")[2];
var tempo = info_chamada.split("_")[3];
query = query_head + '"'+posto+'"' + "," + '"'+leito+'"' + "," + '"'+tipo+'"' + "," + '"'+"00"+'"' + "," + '"' + now + '"' + ");";
IR.Log(query);
}

IR.AddListener(IR.EVENT_START,0,function()
{
mybase.Open("MyBase.db");
mybase.Execute("BEGIN");
now_query = mybase.Request("SELECT date('now');");
now = now_query.GetRowValue(0,0);
IR.Log("now: " + now);
writeDB(info_chamada);
mybase.Execute("CREATE TABLE IF NOT EXISTS chamada_enfermagem(Posto TEXT, Leito TEXT, Tipo TEXT, Tempo TEXT, Data TEXT)");
mybase.Execute(query);
mybase.Execute("COMMIT");
mybase.Close();
now_query.Free();
});

In MySQL should work similarly, only getting the date differently.

Добрый день.

Для решения нужно знать, значение какого типа пытаетесь получить в драйвер.

Сильно ускорит решение, если сделаете дамп Wireshark отправки/получения на Windows, такой же дамп на Android. Обязательно приложите проекты.

Добрый день.

В Android первые 1024 портов зарезервированы операционной системой для других задач. Укажите в драйвере порт, на котором открывается сокет, выше 1024 и убедитесь, что это порт не занят другим процессом.

Hello.

Show the full text of your query in MySQL.