mirror of
https://github.com/emqx/neuron.git
synced 2026-10-25 03:10:21 +08:00
Merge pull request #811 from lixiumei123/main
add(modbus tcp):add the address regularity of modbus tcp
This commit is contained in:
@@ -12,7 +12,7 @@ $ cd zlog
|
||||
$ make && sudo make install
|
||||
```
|
||||
|
||||
[jansson](https://github.com/akheron/jansson)
|
||||
[jansson](https://github.com/neugates/jansson.git)
|
||||
```shell
|
||||
$ git clone https://github.com/neugates/jansson.git
|
||||
$ cd jansson && mkdir build && cd build
|
||||
|
||||
@@ -2,27 +2,27 @@
|
||||
"tag_regex": [
|
||||
{
|
||||
"type": 3,
|
||||
"regex": "[0-9]+![3-4][0-9]+(#B|#L|)$"
|
||||
"regex": "^[0-9]+![3-4][0-9]+(#B|#L|)$"
|
||||
},
|
||||
{
|
||||
"type": 4,
|
||||
"regex": "[0-9]+![3-4][0-9]+(#B|#L|)$"
|
||||
"regex": "^[0-9]+![3-4][0-9]+(#B|#L|)$"
|
||||
},
|
||||
{
|
||||
"type": 5,
|
||||
"regex": "[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
|
||||
"regex": "^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
|
||||
},
|
||||
{
|
||||
"type": 6,
|
||||
"regex": "[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
|
||||
"regex": "^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
|
||||
},
|
||||
{
|
||||
"type": 9,
|
||||
"regex": "[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
|
||||
"regex": "^[0-9]+![3-4][0-9]+(#BB|#BL|#LL|#LB|)$"
|
||||
},
|
||||
{
|
||||
"type": 11,
|
||||
"regex": "[0-9]+!([0-1][0-9]+|[3-4][0-9]+.([0-9]|[0-1][0-5]))$"
|
||||
"regex": "^[0-9]+!([0-1][0-9]+|[3-4][0-9]+\\.([0-9]|[0-1][0-5]))$"
|
||||
}
|
||||
],
|
||||
"host": {
|
||||
|
||||
Reference in New Issue
Block a user