[ https://jira.fiware.org/browse/HELP-19762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez deleted HELP-19762:
----------------------------------
> [fiware-stackoverflow] How to set up Bridge NGSI-OMALWM2M
> ---------------------------------------------------------
>
> Key: HELP-19762
> URL: https://jira.fiware.org/browse/HELP-19762
> Project: Help-Desk
> Issue Type: Monitor
> Reporter: Backlog Manager
> Labels: fiware, iot, leshan, lwm2m, oma
>
> Created question in FIWARE Q/A platform on 23-06-2022 at 10:06
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/72729043/how-to-set-up-bridge-ngsi-omalwm2m
> +Question:+
> How to set up Bridge NGSI-OMALWM2M
> +Description:+
> I need to use a bridge (Fiware LWM2M-IoTAgent) between the OMA-LWM2M Protocol (Eclipse Leshan) and NGSI.
> I've tried to set up the Leshan Client and the Fiware Server but without resoult.
> My settings:
> Leshan:
> localhost:8080
> CoAP port of leshan : 5683
> Orion Context Broker:
> Docker-compose.yml of the Context Broker:
> version: "3"
> services:
> orion:
> image: fiware/orion
> ports:
> - "1026:1026"
> depends_on:
> - mongo
> command: -dbhost mongo
> expose:
> - "1026"
> mongo:
> image: mongo:4.4
> command: --nojournal
> Fiware IoTAgent:
> config.js file of Fiware IoT Agent:
> var config = {};
> config.lwm2m = {
> logLevel: 'DEBUG',
> port: 5683,
> defaultType: 'Device',
> ipProtocol: 'udp4',
> serverProtocol: 'udp4',
>
> delayedObservationTimeout: 50,
> formats: [
> {
> name: 'application-vnd-oma-lwm2m/text',
> value: 1541
> },
> {
> name: 'application-vnd-oma-lwm2m/tlv',
> value: 1542
> },
> {
> name: 'application-vnd-oma-lwm2m/json',
> value: 1543
> },
> {
> name: 'application-vnd-oma-lwm2m/opaque',
> value: 1544
> }
> ],
> writeFormat: 'application-vnd-oma-lwm2m/text',
> types: []
> };
> config.ngsi = {
> logLevel: 'DEBUG',
> timestamp: true,
> contextBroker: {
> host: 'localhost',
> port: '1026'
> },
> server: {
> port: 8008
> },
> deviceRegistry: {
> //type: 'memory'
> type: 'mongodb'
> },
> mongodb: {
> host: 'localhost',
> port: '27017',
> db: 'iotagentlm2m'
> //replicaSet: ''
> },
> types: {},
> service: 'smartGondor',
> subservice: '/gardens',
> providerUrl: 'http://localhost:4041',
> deviceRegistrationDuration: 'P1Y',
> defaultType: 'Thing'
> };
> module.exports = config;
> My steps:
> Run Orion Context Broker
> Run Fiware IoT Agent
> Run Leshan Client
> Links:
> IoTAgent: https://github.com/telefonicaid/lightweightm2m-iotagent;
> Leshan: https://github.com/eclipse/leshan
> Orion Context Broker: https://hub.docker.com/r/fiware/orion
> My problem is that i can't see or read the values of the dummy devices in my client. Can anyone help me?
> Thanks
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy