Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » Is the redirect request between CSE always HTTP Protocol?(Is the redirect request between CSE always HTTP Protocol? CoAP request can not be sent using port 5684)
icon12.gif  Is the redirect request between CSE always HTTP Protocol? [message #1741222] Tue, 23 August 2016 20:50
yoshida takuma is currently offline yoshida takumaFriend
Messages: 16
Registered: August 2016
Junior Member
Hello all,

When I send a request to retrieve something which located in the mn-cse, using the ip address and port of in-cse, for example: http://127.0.0.1:8080/~/mn-cse/mn-name, and in this case the request will first come to the in-cse and then in-cse will redirect this request to mn-cse. My question here is: Is the redirect request between in-cse and mn-cse always using HTTP Protocol? I found in the package org.eclipse.om2m.core.redirector; package that the POA address of the target request will be used to send the redirect request and this POA address using always HTTP, for example: http://127.0.0.1:8080 for in-cse or http://127.0.0.1:8282 for mn-cse. And this POA address is set inside of the OM2M product, I have no idea how to change it. If at the beginning I send a CoAP request to mn-cse, is that possible that the in-cse redirect the request to mn-cse using CoAP?

My another question that when I send a CoAP request directly to the mn-cse using the mn-cse CoAP port 5684: CoAP://127.0.0.1:5684/~/mn-cse/mn-name/, the request is failed to send. Does anyone have an idea why this happened?

Thank you so much!
Yoshida
Previous Topic:Router internal error when running in-cse in MAC OS
Next Topic:Connect devices to your gateway
Goto Forum:
  


Current Time: Fri Apr 26 00:50:21 GMT 2024

Powered by FUDForum. Page generated in 0.02662 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top