Page 1 of 1

Reading .fcpx files in notepad

Posted: Sun Jan 25, 2015 1:12 am
by cobra1
Hi,
I was hoping to look at what commands you are sending to the ESP8266 wifi module in the attached component file.
I tried to open it in notepad but its just jargon.

When i look in the customise c option in flowcode itself i can see only this

// Read Server IP
// Call Component Macro: data=WLAN_ESP8266::CheckTCPServerIP()
FCD_08181_WLAN_ESP8266__CheckTCPServerIP(FCV_DATA,20 );

Is it possible to see what commands you are sending over the serial port for each macro ?

Re: Reading .fcpx files in notepad

Posted: Mon Jan 26, 2015 10:51 am
by Benj
Hello,

The .FCPX file is XML text so if you open the file in TextPad or NotePad++ then it should look ok.

If you go into the Flowcode project and then click Build -> View C Code, or you can directly view the C code .C file using TextPad or NotePad++. This should contain all the info your looking for.

Re: Reading .fcpx files in notepad

Posted: Mon Jan 26, 2015 5:57 pm
by cobra1
Hi Ben,
Thank you for your reply.

In notepad++ this is an example of what i get when opening the above file.

$‰L ‘Éi¼ 2áÇ—n%Y{Íҍ8~A?¾`èdùãøwõãKÏLðü]zWÞߣJN¹åúÃjýa1µËýmóiµù4w?*f²)³Šà|–UK0Î’gîwSSdÞù¤0KÁpÞÔ5SѸ±óùÿùAþm¦fœ`:_ÁQVÄí•{-ÒÕ°®J qYwªâ‹ùñ%É5Ûõ°]jg#…LScÒRü‡•è,EÃOÂüS˜“ð9›W™d>.qÙဿÌb2™Š¥“ÝX“o‘Îo|¶Óç³µÛÅVm&“ÅñtÔ泌!ݦR‚ÌÅ:h‰]P…œTòõê _^ˆùÔ˜›çÅBµÏu¦Ù~ž2¥y±?(.l’‘è,Ÿ
-b®
‹édsH›åJ9©¤RTº[ÉGR3[æt¤£ëb<Ömº!¡C`a]óÞÐ{ù/ÌzîuuºÔs273rRjX¡E(b,Sµ’TN°¡AyÐA•p̶øThRÓȦ]’ãáV»"M’í¾(5êÔ´‚–[‹†È•³Ô0*bÅèlX•ÍZBIdjEÒäBaR/ô³R3Ad¦^ê‰p•ÅÐå0ÛlVæ«LŽ)Vœ•V‘J²Ûõš}u%Îë+Ã:L+5Û£Å`kL{9kQk.âåy§/gÛ­ '‹\Sf:óJ)£’‘Ø`!Ô«…

b«(QaìZ*6‹„R¬*2Ýj·•ËÁˆQ葝‡ºT*·2§•ÆBRò‚Ô :¬˜nŒñÞ¤T”d’„ñŒg



Is there any reason you know why it would do this?

I cannot view the code directly from FLOWCODE 6 as my demo has expired and i use flowcode 4. Thats why i wanted to view what commands you send and look closer at how you send the commands to make the webserver work.

Re: Reading .fcpx files in notepad

Posted: Mon Jan 26, 2015 7:33 pm
by kersing
Components are encrypted, as a result you can not view the code in an editor.

If I'm not mistaken, even with an expired license you should be able to view the source of an earlier version of the component that has been posted. Look for attachments with the fcfx extension. Also fcfx is unencrypted XML code.

Re: Reading .fcpx files in notepad

Posted: Tue Jan 27, 2015 2:38 pm
by cobra1
How would i look at the source for a specific component?? When i goto build, view c. Notepad pops up and in place of c code i get instead sinething like you do not have permission. I cant remember the full text as im not home right now.

Re: Reading .fcpx files in notepad

Posted: Tue Jan 27, 2015 5:53 pm
by Benj
Is there a specific component your wanting the source code for Cobra? If so then I might be able to upload the source .FCFX file for you.

Re: Reading .fcpx files in notepad

Posted: Tue Jan 27, 2015 8:24 pm
by cobra1
Hi Ben,

Yes, Its the ESP28266 WLAN i wanted to take a look at.

Thanks

Chris

Re: Reading .fcpx files in notepad

Posted: Tue Jan 27, 2015 10:01 pm
by kersing
The source you are looking for is attached here: http://www.matrixtsl.com/mmforums/viewt ... 362#p63105 It is the last attachment in the message.

I tried to point to forum attachments in my previous message (as I recalled Ben posted this source some time ago), but should probably have worded it more clearly...

Re: Reading .fcpx files in notepad

Posted: Wed Jan 28, 2015 6:46 pm
by cobra1
Thank You Kersing, Thats exactly what im looking for.

Time to do some reading :)