lincoln

Results 14 comments of lincoln

防止sql注入攻击,就是要防止各类方式啊。#{}称之为合法规则,但是需要防止违法使用啊。 javamxd ***@***.***> 于2022年1月23日周日 11:53写道: > 只要sql中使用#{}的参数都不会有注入风险,使用${}的或者拼接字符串的才有可能注入。具体的要看你自己。 > > — > Reply to this email directly, view it on GitHub > , > or unsubscribe > > . > Triage...

@devaskim What is the difference in data trans between Edge and Gateway? I think Gateway is more suitable here. Thanks for your suggestion. And i need to process some costom...

> Honestly, I am using Gateway and its MQTT connector, but at the moment it supports only JSON format. On last week I suggested core team the PR to pass...

@devaskim You're right. I just asked at gateway. So i think add custom topic subscription and data passthrough would be easier way, then process data in rule-chain. But add ota...

Should the "sel.close()" be invoked before return? And i meet a error with self._sock is None at ```python if self._sockpairR is None: sel.register(self._sock, eventmask) else: sel.register(self._sock, eventmask) sel.register(self._sockpairR, selectors.EVENT_READ) ```

@samson0v Thanks! But what i want is : my device connect to tb-gateway, and get firmware from it. So the tb-gateway should work with ota message as other attribute message....

> @lincoln310, Gateway doesn't support OTA API for now. Indeed, so what should i do to add it? Any suggestion? I can send a pull request when i finish.

@imbeacon I need 2 function: 1 ota for my device. This should connect to tb or tb-edge 2 custom binary data process on custom topic from device. This should use...

@imbeacon Can you give me some suggestion if i want to add it by myself? Maybe i should look into attribute as reference?

> @lincoln310 , > > 1. There is no API on ThenigsBoard for the gateway to get firmware for devices connected through it, so there is no way at the...