| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/05/2010 10:57:57
|
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?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/05/2010 12:27:44
|
walid.omar
Initiate
Joined: 12/02/2010 17:35:01
Messages: 16
Offline
|
hey allll,
i need answers hereeee
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/05/2010 15:54:46
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/05/2010 17:16:03
|
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 ??
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 04/05/2010 02:45:17
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 04/05/2010 07:22:46
|
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??
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 07/05/2010 17:20:24
|
walid.omar
Initiate
Joined: 12/02/2010 17:35:01
Messages: 16
Offline
|
Dear Arne,
can you answer me pleaseee
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 05:35:15
|
walid.omar
Initiate
Joined: 12/02/2010 17:35:01
Messages: 16
Offline
|
i need an answer hereeeeeeee
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 09:42:58
|
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...
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 10:08:44
|
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??
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 10:13:24
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 10:36:37
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 10:39:13
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 10:55:38
|
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
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/05/2010 11:00:13
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
|
|