When i read the on_sock_data_arrival event, it fires perfectly on the smtp and netbios events, but if i post a http request to the device, this function doesnt notice. Why is this? By reading this event i could implement security in my web application, but this way, the only login method i know is to post the sessionid in the GET section of the HTTP request.
I'd defenately want to read the whole http request, so maybe i can use cookies or read the browsers version or just anything to increase security.
sub on_sock_data_arrival
if sock.localport = 80 then
doevents
'do something with the http header or something
end if
end sub
The documentation for creating project templates seems a little out of date, refers to a none existent .p platform file. This is using Tide 2.6.25. Is there a more up to date method for creating custom templates, or is this none-functional at the moment?
Has anybody seen Basic application to use EM1000W as a Device Server? I want to had functionality but COM emulation is good to me
There is a quote on Tibbo's site documents telling the application was due in 2006 4Q.
Hello,
how to use compiler (tbc.exe) linker (tlink.exe) ane make (tmake.exe) from the command line cmd ?
how to spy what parameters is compiled the project from the environment TIDE?
The Html_login_1 demo that comes together with the Taiko compiler, uses the HTML GET method on the FORM to pass the login variables. When I change it to the POST method, the code does not work. The documentation says that it is compatible with both GET/POST methods. Am I missing something?
I am using the stor object on the EM1202 to store equipment data (model number, serial number, IP, port, firmware revision etc) in EEPROM. This is fine as I can store and recall all the data as strings.
However, I now want to store a whole set of values from a 10-bit A-to-D converter into EEPROM. I have the values in 16-bit word variables and want to store them to EEPROM as 2-bytes each, but stor.setdata and stor.getdata accept strings only. If I convert to strings using the hex function, I end up using minimum 4-bytes, or double the space!
Can anyone suggest how I can easily write/read these values in only 2-bytes each?
I have been using BasicMicro Stamp and Atom controller(s) for many years and have just switched to the EM1202 for the first time in a project. I have found it a great product, but there appears to be a huge omission in terms of programming - individual bit manipulation within byte/word/long variables. Unless I am missing something, there appears to be no easy way of doing this?
In a previous Atom application I used a 32-bit variable as a "register" to record 32 pass/fail criteria. There is facility in Atom Basic to simply turn individual bits in the variable on or off or use them in operations. You can also separate out any byte of a 16 or 32-bit variable and carry out many other bitwise operations. I can find no way to do these simply in Tibbo Basic.
I have a work-around by converting the variable to a 32-character binary string representation, manipulating the characters in the string, then converting back to a 32-bit variable. This is VERY slow at processing.
Am I missing something? If not, PLEASE can we have full bitwise operations in the next release? The Atom was superb at this, so please consult their manual for ideas! There is a whole range of operations I simply can't find a way of doing on the EM1202.
I would like to make EM1000 work like this:
I would like to open 4 local ports thru Hyperterminal, one port per serial port. e.g. 1000 for serial port 0, 1001 for serial port 1, 1002 for serial port 2, 1003 for serial port 3 for sending data from ethernet to serial ports. For opposite direction, from serial to ethernet, all data should be multiplexed. No data modification, work needed on data. Data just to be sent to correct serial port when coming from ethernet.
Could anyone help on this? I have tried manny wys to do it but I can not make it work.
I am drawing a EM1000 pcb board about Machine Control Unit with graphic lcd (240x128)
In our application some of the data will come through computer and some of entering by user with keys. Total data memory will be 100 kbyte.
Could you give me your assistance about adding a flash memory ( like M25P40 SPI Flash memory ) to my board or must I wait "fd" command.
When fd command is available, can i write our datas which by taking from ethernet line, to the flash which in EM1000 easily?
I am very interested in the new Wi-Fi product. What i need to know before making a decision to use this in a new project of our is the throughput rate.
I.E. if i want to download a file to it what is the maximum throughput rate i can send a file to it?
what is the maximum amount of characters that can be placed inside the quotes for sock.setdata("??")
I noticed that when you get over a certain number of chars it does not include them
It would be nice for the compiler to recognise this problem and warn the user that they have exceeded to many characters in the sock.setdata param.