Other Parts Discussed in Thread: LAUNCHXL2-570LC43, HALCOGEN
Hi guys,
i am using a TI launchpad LAUNCHXL2-570LC43 and a Telit LTE Module LE910EU-V2. On my Launchpad i have connected a temp sensor DS1621 (which is currently not working so i send something else). I want to send data over the SCI Uart interface to the telit module which can interact with AT commands and i want to send this to a webserver.
Basically my questions are:
1) Can i pass data and AT commands over the SCI interface?
2) What would be the best solution for a webserver to get followed data.
I have a normal c struct containing four uint8 variables. One for the field length, one for the channel (this is for later that i can say on channel 1 i have the button/led and on channel 2 comes data from the temp.sensor), and the last two are now for the example specified for the led example like which led ID (because on the board i have led 3 and 4) and the ledCMD is On/off. i have attached my testrproject.
Basically what i want to achieve at first sight is that i press on button GIOB_4 that LED2 gets on or off and by button GIOB_5 LED5 gets on/off (depending if they are already on or not). And i want to implement a button on the webpage that i can turn the led on/off from the webpage. so it should work in both directions.
Lets assume both leds are off. If i press button giob_4 i want that led2 gets on and i want to send this to the LTE Module. This module can be used as a pipe and send data to a webserver.
i could already achieve that the Ti can send and receive the C-struct (i tested it with hTerm, a hyper terminal programm).
3) But since there are many options to program a webserver, one question is what would be the easiest webserver? Apache? or should i programm a php-file on my own?
And this is basically important to know how to use the webserver, because i need to know how i have to pass the data to it.
4) Is the Socket the best solution or should i use TCP or UDP?
I also attached two pictures. how it should look like. The first picture shows just the ti board connected with a ttl to rs232 converter and the second picture should show the lte module.
I am gratefull for every hints or answers i can get what is possible to program and achieve with the Ti MCU for my project and what i have to consider or what doesnt work with the Ti and what i have to do separatly to CCS / Halcogen.
regards
Markus
3362.Test.zip