TCWORLD:
If you want to make a copy of it, then yes, this should work:
strncpy(rawCode,value,VALUELEN);
Note that it uses strncpy, rather than strcpy just in case there is not a null character at the end of value[], or the null character is half way through it. This way it will always copy exactly VALUELEN chars into the new array.
I did the strncpy and I get weird output from it now.
4023,3432,43àÿ¸eÁ¸¸¸,¸¸¸¸¸¸¸¸¸aa¸¸¸0¸P¸ÿ¸¸¸¸¸¸R?¸¸¸?¸¸¸¸¸¸¸¸¸?¸¸?¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¦¸¸øþÿ¸¸B¸¸Ï¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpxÑ#
x&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0&O Jàà6? ?f!?6?%coden»â
?n¸¶0000qèε¦%³</ir00À¨kÀ¨ÒMeMÁ¸ÿIa Jàðï zà!?ð%Ô ,,Å%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpxñun&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0'O Jàà6? ?f!?6?%codeÿ050,4400,60àï¸eÁ¸¸¸,¸¸¸¸¸¸¸¸¸aa¸¸¸0¸P¸ÿ¸¸¸¸¸¸R?¸¸¸?¸¸¸¸¸¸¸¸¸?¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸ö¸¸øþÿ¸¸B¸¸Ï¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpxÇd&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0(O Jàà6? ?f!?6?%coden»â
?n¸¶0000qèε¦%³</ir00À¨kÀ¨ÒMeMÁ¸ÿIa Jàðï zà!?ð%Ô ,,Å%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpx1%&Z&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0)O Jàà6? ?f!?6?%codeÿ050,4400,60 à߸e Á¸¸¸,¸¸¸¸¸¸¸¸¸aa¸¸¸0¸P¸ÿ¸¸¸¸¸¸R?¸¸¸?¸¸¸¸¸¸¸¸¸?¸¸a¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸øþÿ¸¸B¸¸Ï¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpxQ-k.P&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0*&O Jàà6? ?f!?6?%coden»â
?n¸¶0000qèε¦%³</ir00À¨kÀ¨ÒMeMÁ¸ÿIa Jàðï zà!?ð%Ô ,,Å%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpxq5½6F&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0&.O Jàà6? ?f!?6?%codeÿ050,4400,600àϸe00Á¸¸¸,¸¸¸¸¸¸¸¸¸aa¸¸¸0¸P¸ÿ¸¸¸¸¸¸R?¸¸¸?¸¸¸¸¸¸¸¸¸?¸¸±¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸h¸¸øþÿ¸¸B¸¸Ï¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?óåïf(©?$?CÒÚë1 ¨Ù¹¸a-PèÎZ
-tnetnoC``ë¬
kkkPPkÀ¨kkkk@HPX`hpx?=?<&)[èX?ÅÄÀÁÆak00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FÏð5az5eae???>eÑMeìß=ô
co34a?0)6O Jàà6? ?f!?6?%coden»â
?n¸¶0000qèε¦%³</ir00À¨kÀ¨ÒMeMÁ¸ÿIa Jàðï zà!?ð%Ô ,,Å%31[^,]%nContent-Length:Authorization:
GET HEAD POST PUT DELETE PATCH Basic
radiocheckboxtext/html; charset=utf-8typerawcodelentext/plainimage/x-iconCache-Control: max-age=31536000
/robots.txt/favicon.icoirBegin...À¨ÒÞ¾ïþíÁ½r ôÊ-<²ï?dD,±?
This slows the serial output to a crawl, I had to pull the usb and wait a bit to even be able to copy that. all I did was change rawCode=value; to strncpy(rawCode,value,VALUELEN);