Hello!
I need to know if it is possible to use the net_config.h with my XC167CI microcontroller.
If it is possible, how can I download it?
However, I would like to connect a modem to my XC167CI microcontroller and I don't know exactly how I can do it, so I was thinking to use net_config.h, if it were possible.
If someone could help me or say to me where I can obtain some documentation about it, please do it.
Thanks very much.
Willow.
you can download anything you want - only one problem - the XC167CI does not have a network adapter ! do you want to connect your modem via the serial port?
Hello, Tamir!
Thanks for your fast answer.
Yes, I am going to connect my modem via the serial port.
What can I do?
I think you would need to read the modem's manual to figure out how its protocol works.
Where have you seen it?
"I was thinking to use net_config.h, if it were possible."
It's almost certainly just a header file - you won't get far with just a header file! You will also need the corresponding library and/or source file(s)...!
"where I can obtain some documentation about it"
Have you tried looking in the same place where you found this file??
Well. I think my before explanations were a bit awful.
I am trying to explain better.
I am using XC167CI microcontroller.
I would like to connect a modem via serial port to my XC167CI. My modem is a GSM modem.
In my computer I have another GSM modem and I want to try to connect to the GSM modem of the XC167CI microcontroller.
I don't have any library, any files neither any header file. In keil forum I have read something about <net_config.h>. It has some methods I think they could be useful for me, like init_modem; modem_dial, modem_hangup, ... But, when I include this header file to my program, the compiler sais to me there is something wrong (it is impossible to open that file). Obsviously, I don't have this header file.
So, where can I find libraries, header files or something similar for my problem?
Is it possible to connect my microcontroller via serial port with a GSM modem?
It sounds from your post like you may be a (complete) novice with 'C' programming - possibly also with microcontrollers. Is that right?
If so, I suggest that you lay this project aside for now, and first take some time to learn the 'C' programming language
The question is not if I am novice or not.
The question is if this class is included in any general library and if so, how could I get it.
Maybe I havenÂ't explained very well my problem, as my language is not english.
Anyway, thank you for your "help", expert in C programmation, but you have not answer my question at all.
Pardon?! You were given a number of answers, all of which (including mine, if I may say) were correct! What do you want? Do you people to tell you how to connect a device they don't know in detail to your serial port? To send you a working project? Just read the specs of the modem, learn how to work with your serial port and you'll be fine. If I may quote somebody from the forum: "do you really believe insulting people will make them want to help you?"
Please, you must give the experts in C programmation here some slack, they do this as an unpaid favor to the community.
They attempt to answer a lot of questions; and some of those answers are occasionally correct.
Certainly you have not understand me at all!!
My problem is not about connecting the modem, I have not any problem at all, I have already done a lot of operations with this device.
My question is How to get a class included in a general purpouse library (AR166) in witch I have seen a lot of tcp/ip funcions.
I wanted to know if I could use this classes instead of programming the methods by myself.
I think I haven't insulted anybody, I have just said that the question is not if I am novice or not.
Sorry for my questions, I didn't know it was an expert forum. I tought I could ask for help...
Keil do sell a network library, but I don't know if it is available for your specific processor.
With ppp support, you can forward TCP packets over a serial connection (the modem).
Thank you very much, Per!
My question was about that.
I have downloaded a trial version of ARTX166 kernel. In this specificacion module it says that it is compatible with our microcontroller (XC167CI of Infineon), but we can't access to the ARM functions. I don't know if it is because we have a trial verion or it could be a mistake.
Thanks again. Your answer was we want to know.
I probably misunderstood you now, but "can't access the ARM functions" does sound a bit funny.
This thread is about the use of a C166 processor, so it isn't likely that you can run any functions that Keil for have only implemented for the ARM processor family.
I only know what tools/libraries Keil have available for the ARM processor so someone else has to step in and tell if ARTX166 has something in common with any ARM implementation.
I don't think Keil have any evaluation versions of any networking code. There are a number of pre-built binaries for some of the reference boards, but if you want to change the applications, you must buy the library.
"They attempt to answer a lot of questions; and some of those answers are occasionally correct."
Are tiy satubg that the large majority of answers given are wrong?
Hmm. The danger of not proof-reading. New attempt:
Are you saying that the large majority of answers given are wrong?