|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
hello everybody i'm quite new and i hoping i can get some assistance. i am using a xbee pro wireless device it uses xtcu software to interface with the pc via the usb. i'm not understanding their software to well but i am trying to create a c/c++ program to capture the signal when it is sent to the pc. And after it captures the signal it would then execute the rest of the program and when it is done executing the program returns and acknoledgement of some kind. My problem is i not sure if it is possible using the xbee pro (xctu software) If anyone can help it would be greatly appreciated
|
| Sponsored Links |
|
|
|
|||
|
Do you have the right drivers? An SDK? What version of C++ are you using? More importantly, what OS?
|
|
|||
|
The SDK should come with documentation. Could you give us a link to where you got the SDK, so we can look through it a bit?
|
|
|||
|
the link to the documention for the device is http://http://ftp1.digi.com/support/documentation/manual_xb_oem-rf-modules_802.15.4_v1.xAx.pdf thanks for all your help
|
| Sponsored Links |
|
|
|
|||
|
It looks like you need to send commands to the device to set a timer, check the device state every time the timer fires, and handle accordingly. The stuff you need is in the section titled API Operation. API stands for Application Programming Interface, so I'm guessing that's what you need.
EDIT: First you need to figure out what port to send the commands on, and what port to listen on. This means you need to use WinSock. |
|
|||
|
I have been reading the documentation and i am still miffed. if you have any idea how i should go about starting this program it would be greatly appreciated +
thanks for your help in advanced |
|
|||
|
I have no familiarity with whatever this thingy is, so I don't know any more than you do. Steps you do need to take (from what I gather, at least)
1) Establish contact with the device using a specific port that should be mentioned somewhere in the documentation 2) Send a trap command 3) Wait for the device to send data 4) Process data 5) Go to step 2 or 3, depending on how the device works. WinSock Tutorials & Resources |
|
|||
|
But how would you specify the device to write to, unless it assigns itself a drive letter or you know its DOS name?
|
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: Starting C# with C# 2008 Express Edition | Jordan | CSharp Tutorials | 19 | 08-08-2008 01:48 PM |
| program to display student number | trevordunstan | General Programming | 0 | 05-25-2008 11:14 PM |
| LED attached to printer port program using VB.net | mario christian oquias | Visual Basic Programming | 5 | 04-22-2008 02:01 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |