[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
What is the suitable data source??  XML
Forum Index » Mango M2M 1.12.5 and Earlier general discussion
Author Message
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

i am going to interface Telit module UC864-G (UMTS-Module) with PIC18F452 to make a device can control and monitor my application remotly.

what i have to implement in my device to work with mango, and which data source i have to use?

walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

hey allll,

i need answers hereeee
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 182
Offline

Hi ,

it looks like you will have to implement/choose a data protocol first.
Dependent on this decision, you may or may not write you own DataSource/DataPoint in mango (see sources of mango).

Arne
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

thanks for the answer but how can i write my own Data Source/Point ??
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 182
Offline

Hi,

look for packages com.serotonin.mango.datasources vo is design and rt is runtime thats the Java stuff

The JSPs can be found in war/WEB-INF/jsp/dataSourceEdit/

There arre changes in some different Files I cant remember well, but maybe grep for m-bus or mbus then you will find the places and understand.

You can aldo diff 1.8.1 and 1.8.2 to see some changes.

In which way you want to connect to mango (IP-Traffic, modem with at-command or something else) Oterwise you could implement an existing protocol (bacnet, modbus, OPC-XML on your PIC)?

Arne
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

thanks for help and i want to connect just ip traffic to send at commands to the modem or to send any character and i will make PIC to understand it.

another question does mango support to work as FTP server??
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

Dear Arne,

can you answer me pleaseee
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

i need an answer hereeeeeeee
ronaldo

Initiate

Joined: 12/03/2010 08:03:04
Messages: 8
Location: Brazil
Offline

Hi Omar,
please let us know exactly what do you want to accomplish, maybe we can give you a few ideas...
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

i want to send and receive data to and from my UMTS module, and i am asking can i open a socket between mango and my module and for your info i can open a socket in my module to the server.

how can i do this using mango??
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Hi Walid,

Mango data sources are defined at the protocol level, not the transport level. There are lots of data sources that "open sockets", but the "language" that they speak over that socket is what defines them. You'll need to determine the communication protocol you are going to use before you can choose the correct data source.

Best regards,
Matthew Lohbihler
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

Hi mlohbihler,

i want to send data by using TCP/IP or UDP/IP, make server to listen to certain port and display the data to me, and send the data which i entered to the remote device through another port
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Yes, i got that part. The question is, how are you going to format the data that you are sending?

Best regards,
Matthew Lohbihler
walid.omar

Initiate

Joined: 12/02/2010 17:35:01
Messages: 16
Offline

i want to send and receive a text message or alphanumeric characters
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

You might try using SNMP. Otherwise, if you don't have a protocol worked out, or have your own, you'll need to build your own data source.

Best regards,
Matthew Lohbihler
 
Forum Index » Mango M2M 1.12.5 and Earlier general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team