gateway connector bridge
v2.3.4
64 비트 Linux, 32 비트 Linux, Arm Linux, MacOS, 64 비트 창, 32 비트 Wind
다른 요구 사항은 다음과 같습니다.
Usage:
gateway-connector-bridge [flags]
Flags:
--account-server string Use an account server for exchanging access keys and fetching gateway information (default "https://account.thethingsnetwork.org")
--amqp stringSlice AMQP Broker to connect to (user:pass@host:port; disable with "disable")
--debug Print debug logs
--http-debug-addr string The address of the HTTP debug server to start
--id string ID of this bridge
--info-expire duration Gateway Information expiration time (default 1h0m0s)
--inject-frequency-plan string Inject a frequency plan field into status message that don't have one
--log-file string Location of the log file
--mqtt stringSlice MQTT Broker to connect to (user:pass@host:port; disable with "disable") (default [guest:guest@localhost:1883])
--ratelimit Rate-limit messages
--ratelimit-downlink uint Downlink rate limit (per gateway per minute)
--ratelimit-status uint Status rate limit (per gateway per minute) (default 20)
--ratelimit-uplink uint Uplink rate limit (per gateway per minute) (default 600)
--redis Use Redis auth backend (default true)
--redis-address string Redis host and port (default "localhost:6379")
--redis-db int Redis database
--redis-password string Redis password
--root-ca-file string Location of the file containing Root CA certificates
--route-unknown-gateways Route traffic for unknown gateways
--status-addr string Address of the gRPC status server to start
--status-key stringSlice Access key for the gRPC status server
--ttn-router stringSlice TTN Router to connect to (default [discover.thethingsnetwork.org:1900/ttn-router-eu])
--udp string UDP address to listen on for Semtech Packet Forwarder gateways
--udp-lock-ip Lock gateways to IP addresses for the session duration (default true)
--udp-lock-port Additional to udp-lock-ip, also lock gateways to ports for the session duration
--udp-session duration Duration of gateway sessions (default 1m0s)
--workers int Number of parallel workers (default 1)
Docker에서 실행하려면 docker-compose.yml 을 참조하십시오.
Things Network의 gateway-connector 프로토콜은 MQTT를 통해 프로토콜 버퍼를 보냅니다.
connect 에서 types.ConnectMessage 보내십시오.types.DisconnectMessage 주제 disconnect .ConnectMessage 에서와 동일한 ID 및 액세스 키를 공급하십시오.DisconnectMessage 를 보냅니다.<gateway-id>/up 에서 router.UplinkMessage 보내십시오.<gateway-id>/down 을 구독하고 router.DownlinkMessage 를 받으십시오.<gateway-id>/status 에서 gateway.Status 보내십시오. connect , disconnect , <gateway-id>/up , <gateway-id>/status 주제 는<gateway-id> 사용하여 인증 된 게이트웨이를 게시하십시오 .<gateway-id>/down 주제는 허용해야합니다<gateway-id> 로 인증 된 게이트웨이를 구독하십시오 . git clone [email protected]:YOURUSERNAME/gateway-connector-bridge.gitcd gateway-connector-bridgemake depsmake testmake build Things Network의 소스 코드는 라이센스 파일에서 찾을 수있는 MIT 라이센스에 따라 릴리스됩니다. 저자 목록은 저자 파일에서 찾을 수 있습니다.