CoAP

2013-04-18 Thread Julien Vermillard
Hi !

I have started working on a CoAP codec for MINA 3.

CoAP is an IETF standardized protocol, mapped on HTTP, but
for constrained device and network.
http://en.wikipedia.org/wiki/CoAP

It uses UDP and DTLS for connecting low powers sensors.

I'm wondering if some people here have some CoAP or DTLS
experiences/interests here ?

Julien


Re: CoAP

2013-05-07 Thread Julien Vermillard
Hi,
I have CoAP message encoding/decoding working, managed to have a
server handling a GET request with this CoAP client :
https://addons.mozilla.org/en-US/firefox/addon/copper-270430/

I'm pushing the code as a new mina/coap module, I'm not sure of the
vast audience for here this code, but it can make a nice UDP test case
for mina.

Julien

On Thu, Apr 18, 2013 at 11:12 AM, Julien Vermillard
 wrote:
> Hi !
>
> I have started working on a CoAP codec for MINA 3.
>
> CoAP is an IETF standardized protocol, mapped on HTTP, but for constrained
> device and network.
> http://en.wikipedia.org/wiki/CoAP
>
> It uses UDP and DTLS for connecting low powers sensors.
>
> I'm wondering if some people here have some CoAP or DTLS
> experiences/interests here ?
>
> Julien


Re: CoAP

2013-05-07 Thread Emmanuel Lécharny
Le 5/7/13 6:56 PM, Julien Vermillard a écrit :
> Hi,
> I have CoAP message encoding/decoding working, managed to have a
> server handling a GET request with this CoAP client :
> https://addons.mozilla.org/en-US/firefox/addon/copper-270430/
>
> I'm pushing the code as a new mina/coap module, I'm not sure of the
> vast audience for here this code, but it can make a nice UDP test case
> for mina.
Go for it.

Q : did you had to write an UDP client ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 



Re: CoAP

2013-05-07 Thread Julien Vermillard
well if I want to write a coap client I'll need :)

On Tue, May 7, 2013 at 7:16 PM, Emmanuel Lécharny  wrote:
> Le 5/7/13 6:56 PM, Julien Vermillard a écrit :
>> Hi,
>> I have CoAP message encoding/decoding working, managed to have a
>> server handling a GET request with this CoAP client :
>> https://addons.mozilla.org/en-US/firefox/addon/copper-270430/
>>
>> I'm pushing the code as a new mina/coap module, I'm not sure of the
>> vast audience for here this code, but it can make a nice UDP test case
>> for mina.
> Go for it.
>
> Q : did you had to write an UDP client ?
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>


Contrib: CoAP protocol - Retransmission

2013-10-30 Thread Manu Sangoi
Hello,

I have implemented a retry filter for CoAP protocol to handle
retransmission of Confirmable messages.

https://github.com/msangoi/mina/tree/retry

Thanks,

Manuel


Re: Contrib: CoAP protocol - Retransmission

2013-10-30 Thread Ashish
Cool ! Thanks for contribution

Please create a JIRA and attach the patch to it.


On Wed, Oct 30, 2013 at 2:39 PM, Manu Sangoi wrote:

> Hello,
>
> I have implemented a retry filter for CoAP protocol to handle
> retransmission of Confirmable messages.
>
> https://github.com/msangoi/mina/tree/retry
>
> Thanks,
>
> Manuel
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal


Re: Contrib: CoAP protocol - Retransmission

2013-10-30 Thread Julien Vermillard
Thanks, I commited the contrib so no need of jira, it won't be lost ;)
--
Julien Vermillard  http://people.apache.org/~jvermillard/


On Wed, Oct 30, 2013 at 10:30 AM, Ashish  wrote:
> Cool ! Thanks for contribution
>
> Please create a JIRA and attach the patch to it.
>
>
> On Wed, Oct 30, 2013 at 2:39 PM, Manu Sangoi wrote:
>
>> Hello,
>>
>> I have implemented a retry filter for CoAP protocol to handle
>> retransmission of Confirmable messages.
>>
>> https://github.com/msangoi/mina/tree/retry
>>
>> Thanks,
>>
>> Manuel
>>
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal


mina pull request: Fix transmission id in coap retry filter

2013-12-04 Thread msangoi
GitHub user msangoi opened a pull request:

https://github.com/apache/mina/pull/4

Fix transmission id in coap retry filter



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/msangoi/mina retry-fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/mina/pull/4.patch


commit 2c1ba19dd410168ba8e78c6279efa3baff4be85f
Author: Manuel Sangoi 
Date:   2013-12-04T15:18:08Z

Fix transmission id in coap retry filter





[GitHub] [mina] elecharny closed pull request #4: Fix transmission id in coap retry filter

2019-05-30 Thread GitBox
elecharny closed pull request #4: Fix transmission id in coap retry filter
URL: https://github.com/apache/mina/pull/4
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (DIRMINA-958) Some utility methods should be provided to extract options from CoAP messages

2013-07-26 Thread Manuel Sangoi (JIRA)
Manuel Sangoi created DIRMINA-958:
-

 Summary: Some utility methods should be provided to extract 
options from CoAP messages
 Key: DIRMINA-958
 URL: https://issues.apache.org/jira/browse/DIRMINA-958
 Project: MINA
  Issue Type: Improvement
Reporter: Manuel Sangoi


Most of the following CoAP options should be directly accessible from the CoAP 
message. For now, it is needed to iterate over the options.

Coap options : Uri-Host, Uri-Path, Uri-Port, Uri-Query, Proxy-Uri, 
Proxy-Scheme, Location-Path, Location-Query, Max-Age, Accept.

See attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (DIRMINA-958) Some utility methods should be provided to extract options from CoAP messages

2013-07-26 Thread Manuel Sangoi (JIRA)

 [ 
https://issues.apache.org/jira/browse/DIRMINA-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manuel Sangoi updated DIRMINA-958:
--

Attachment: 0001-Add-some-utility-methods-to-rebuild-CoAP-options.patch

> Some utility methods should be provided to extract options from CoAP messages
> -
>
> Key: DIRMINA-958
> URL: https://issues.apache.org/jira/browse/DIRMINA-958
> Project: MINA
>  Issue Type: Improvement
>Reporter: Manuel Sangoi
> Attachments: 
> 0001-Add-some-utility-methods-to-rebuild-CoAP-options.patch
>
>
> Most of the following CoAP options should be directly accessible from the 
> CoAP message. For now, it is needed to iterate over the options.
> Coap options : Uri-Host, Uri-Path, Uri-Port, Uri-Query, Proxy-Uri, 
> Proxy-Scheme, Location-Path, Location-Query, Max-Age, Accept.
> See attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (DIRMINA-958) Some utility methods should be provided to extract options from CoAP messages

2013-07-26 Thread Julien Vermillard (JIRA)

[ 
https://issues.apache.org/jira/browse/DIRMINA-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720727#comment-13720727
 ] 

Julien Vermillard commented on DIRMINA-958:
---

Thanks ! 
Commit: 23f118e4263e77abebf3beed9c0f6903ac1cf5b3

> Some utility methods should be provided to extract options from CoAP messages
> -
>
> Key: DIRMINA-958
> URL: https://issues.apache.org/jira/browse/DIRMINA-958
> Project: MINA
>  Issue Type: Improvement
>Reporter: Manuel Sangoi
> Attachments: 
> 0001-Add-some-utility-methods-to-rebuild-CoAP-options.patch
>
>
> Most of the following CoAP options should be directly accessible from the 
> CoAP message. For now, it is needed to iterate over the options.
> Coap options : Uri-Host, Uri-Path, Uri-Port, Uri-Query, Proxy-Uri, 
> Proxy-Scheme, Location-Path, Location-Query, Max-Age, Accept.
> See attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (DIRMINA-958) Some utility methods should be provided to extract options from CoAP messages

2013-07-26 Thread Julien Vermillard (JIRA)

 [ 
https://issues.apache.org/jira/browse/DIRMINA-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julien Vermillard resolved DIRMINA-958.
---

   Resolution: Fixed
Fix Version/s: 3.0.0-trunk
 Assignee: Julien Vermillard

> Some utility methods should be provided to extract options from CoAP messages
> -
>
> Key: DIRMINA-958
> URL: https://issues.apache.org/jira/browse/DIRMINA-958
> Project: MINA
>  Issue Type: Improvement
>Reporter: Manuel Sangoi
>Assignee: Julien Vermillard
> Fix For: 3.0.0-trunk
>
> Attachments: 
> 0001-Add-some-utility-methods-to-rebuild-CoAP-options.patch
>
>
> Most of the following CoAP options should be directly accessible from the 
> CoAP message. For now, it is needed to iterate over the options.
> Coap options : Uri-Host, Uri-Path, Uri-Port, Uri-Query, Proxy-Uri, 
> Proxy-Scheme, Location-Path, Location-Query, Max-Age, Accept.
> See attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira