Menu

Waveport Protocol Developer Guidelines

ChrisD
2013-04-04
2013-04-17
  • ChrisD

    ChrisD - 2013-04-04

    I'm trying to find details regarding developing for the Waveport Protocol. I notice on the wiki that the developer guidelines don't really exist. Is there any information available regarding developing software using the waveport protocol? Obviously I see the docs from the protocol api, but this doesn't really cover the workflow or the typical operations that need to be done. Can you point me in the right direction please? I am using java, but if the process is the same in another language, then anything will help at this stage. Thanks, Chris

     
  • Thierry CHOMAUD

    Thierry CHOMAUD - 2013-04-04

    Hello Chris,
    What do you means by developing for the Waveport protocol. You want to use the SDK Waveport implementation, you want to implement your own SDK Protocol?
    Can you give to us some "typical operations" that you need to done?

     
  • ChrisD

    ChrisD - 2013-04-04

    Hello Thierry, as you know, I'm developing in Java. I have a Waveport USB radio module 868 for an Elster water meter V210P volumeteric. I am up and running in Eclipse with the demo console app that I received from you. However, I am lacking documentation in terms of knowing what steps I should do in order to talk to the water meter correctly to carry out normal meter reading and other standard operations. I'm guessing I need to use the Waveport API to do that? For example, if I was using .NET, I have a PDF "CS-SUP-MUTI-ACTVXNETTLMTR-E03.pdf". Is there the equivalent for Java?

     
  • Thierry CHOMAUD

    Thierry CHOMAUD - 2013-04-04

    The architecture of ActiveX mentioned by your document is different from the SDK, so you can't use it as a user guide.
    Concerning the SDK, the Protocol API will allow you to ask a RadioModem (waveport in your case) to send Radio Command (request, message, response, etc.). But it's not the SDK Protocol that will tell you the content of the command (payload) to send (for request a Elster water meter index or datalog for example).

    For this second part (payload encoding or decoding), you have 2 possibilities:

    • Instanciate yourself the payload with the expexcted data (in hex). ex: 0x01 for a "GetIndex" -> you will have some example in package waveportprotocol (project com.coronis.sdk.protocol.waveport.example_Java.zip). This solution expects that you know the command supported by your distant wireless device.
    • Use the SDK Profile API to generate the payload corresponding to a profile behavior. (see project example com.coronis.sdk.profile.testProfile.example_Java.zip in profiles package)

    For the Android demo application, only access to SerialDriver API is given. But, considering your need, there is no need to use this low level of API. I will ask Veaceslav to add the Waveport implementation with some example of usage by tomorrow. So you will be able get inspiration from this example to create your own application.

     
  • ChrisD

    ChrisD - 2013-04-04

    Many thanks Thierry, much appreciated. Very helpful and fast response as always!

     
  • ChrisD

    ChrisD - 2013-04-08

    Hi Thierry, I appreciate you work on this. Wondering if you have any idea when the Waveport implementation will be ready for me to take a look?

     
  • Thierry CHOMAUD

    Thierry CHOMAUD - 2013-04-15

    Hi Chris, sorry for the delay.
    The project is ready, and we are tested it. Unfortunately, we've got an error in the notification process between serialdriver and protocol layers. We hope we will resolve it this week.
    In all the case, you can found the current project sources at
    https://svn.code.sf.net/p/coronissdk/code/trunk/pkg_comm_protocol/android

     
  • Thierry CHOMAUD

    Thierry CHOMAUD - 2013-04-17

    Hi Chris, good news for Coronis SDK.
    We succeed to finalize an alpha version of Waveport implementation on Android.
    I will continue some test before making an official release.
    But all source have been committed on the previous link. Here is the generated .apk.

    1. You have first to connect your radio modem device
    2. Launch the application
    3. Open the connection
    4. Select one of the 3 actions available in the demo. in dependant of the action, you will have to enter 1 (payload) or 2 parameters (destination node).

    We wait for your feed back!

     

    Last edit: Thierry CHOMAUD 2013-04-19

Log in to post a comment.

MongoDB Logo MongoDB