teocci / cmd-robot

Automatically exported from code.google.com/p/cmd-robot
0 stars 0 forks source link

TCP Client not sending data correctly #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Turn on Client and Server
2. Send data to server
3. Data is received --> Motors don't what is expected

I think that the problem is with the ChrW() command.

I think I have found a solution:

http://msdn.microsoft.com/en-us/library/s3f49ktz%28v=VS.100%29.aspx

msdn says that we need to use Char with the /J option.

Please let me know if this fixes the problem.

Original issue reported on code.google.com by cian.by...@sydstu.catholic.edu.au on 19 Mar 2013 at 9:54

GoogleCodeExporter commented 8 years ago
|char||1||none||–128 to 127 by default, 0 to 255 when compiled with /J|

Original comment by cian.by...@sydstu.catholic.edu.au on 19 Mar 2013 at 9:57

GoogleCodeExporter commented 8 years ago
Will work on this later tonight!

Original comment by cian.by...@sydstu.catholic.edu.au on 22 Mar 2013 at 6:45

GoogleCodeExporter commented 8 years ago
http://msdn.microsoft.com/en-us/library/47zceaw7(v=vs.71).aspx

Original comment by cian.by...@sydstu.catholic.edu.au on 22 Mar 2013 at 11:48

GoogleCodeExporter commented 8 years ago
Fixed. Issue to do with tcp client converting string ASCII with only 127 values 
allowed. New version converts string to a "byte" which allows for full 256 
character set.

Original comment by cmdenterpriseshq on 24 Mar 2013 at 11:33

GoogleCodeExporter commented 8 years ago
This is not working on the CMD3C mobile edition.  I could not get it to work 
with default conversion. Your code had to many errors to debug.

Original comment by cian.by...@sydstu.catholic.edu.au on 24 Mar 2013 at 9:17

GoogleCodeExporter commented 8 years ago
Can you please upload the latest version of the CMD3C for WP8 please.  The 
version on the TF server is not correct.

Original comment by cian.by...@sydstu.catholic.edu.au on 27 Mar 2013 at 10:38

GoogleCodeExporter commented 8 years ago
This has been resolved?  

Please verify and mark complete if true.  (for both WP8 and CMD3C for Windows)

Original comment by cian.by...@sydstu.catholic.edu.au on 3 Apr 2013 at 10:52

GoogleCodeExporter commented 8 years ago
CMD3C for WP8 uses different socket calls so unsure how to do it :D You will 
have to investigate a solution that allows us to port code between Windows 
Phone API and WinRT API

Original comment by cmdenterpriseshq on 4 Apr 2013 at 2:38