thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

[HELP] ODBC Connector

Open mica83 opened this issue 1 year ago • 1 comments

Hello guys,

one simple question: Is it possible pass to methods a dynamic value coming from TB - shared attribute?

In the documentation i see some examples but just with fixed values as arguments:

"methods": [ { "name": "rpcProcOne", "args": [ "One", 2, 3.0 ], "query": "CALL procedureOne(?,?,?)" }, { "name": "functionOne", "args": [ false ] } ]

mica83 avatar Nov 15 '23 10:11 mica83

Hi @mica83,

Thank you for your interest in Thingsboard IoT Gateway. Yes, it is possible - just add "overrideRpcConfig": true to serverSideRpc section and send configs in params for RPC method from ThingsBoard. Please let us know about the results.

imbeacon avatar Nov 24 '23 07:11 imbeacon