iCoAP
iCoAP copied to clipboard
Coap is not responding with file having special character in response.
Hello Stuffrabbit,
I am having a file which is having a name with 2 or more special characters. When I send request JSON I don't get the proper response (response is nil).
Could you please give me some solution in this case?
Hi, sorry for the late answer. It is hard to tell what the exact problem might be. Does your server receive the request? Can you debug your server's answer? Have you tried to send the same message with help of my SwiftCoAP library? https://github.com/stuffrabbit/SwiftCoAP
HI,
Yes, server receives the request and updates the name but it does not send the response (response is null). We are working on Objective-C so we cant switch to swift in this project. Can you please verify the problem and if you get something please let me know.
Hi, so are you sure that your server works correctly? It should generate a response in any case. And what special characters are we talking about, btw?
Hello,
Any kind of special character more than 2 i.e. "!@#$%^&*()_+{}|":?><" . When we send 2 or more than 2 special characters in payload, coap writes it in its file system but when we ping coap to read the file it send the null response.